error 021: symbol already defined: "SSCANF_OnPlayerCo
#1

EDIT: Nvm, I had two OnPlayerConnect on the gamemode

Hello, I get this error when I compile and I don't know why.

The public is

Код:
public OnPlayerConnect(playerid)
{
    new query[520], nombre[MAX_PLAYER_NAME];
    GetPlayerName(playerid, nombre, sizeof(nombre));
    mysql_format(MySQL, query, sizeof(query), "SELECT * FROM `rc_cuentas` WHERE `Usuario`='%s'", nombre);
    mysql_pquery(MySQL, query, "VerificarUsuario","d", playerid);
    SetPlayerColor(playerid, 0xBFC0C200);
    if(!IsValidName(nombre) || strfind(nombre, "_", true) == -1) return Kick(playerid);
    ResetearVariables(playerid);
    return 1;
}
And the includes that I use are these

Код:
#include "a_samp"
#include "streamer"
#include "sscanf2"
#include "a_mysql"
If I put #include "sscanf2" instead of streamer I get symbol already defined: "Streamer_OnPlayerConnect"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)