03.02.2017, 08:09
Elas nгo aparecem ou quando vocк responde ela nгo retorna nada?
Se nгo aparece, o problema estб na query/conexгo, faзa um debug com printf:
Se nгo aparece, o problema estб na query/conexгo, faзa um debug com printf:
Код:
public OnPlayerConnect(playerid) { new consulta[128]; LimparChat(playerid); ChecarBanimento(playerid); PlayerInfo[playerid][pAdminDuty]=0; GetPlayerName(playerid, PlayerInfo[playerid][pNome], MAX_PLAYER_NAME); mysql_format(mysql_con, consulta, sizeof(consulta), "SELECT * FROM `jogadores` WHERE `nome` = '%s'", PlayerInfo[playerid][pNome]); mysql_tquery(mysql_con, consulta, "ProcurarUsuario", "i", playerid); printf("OnPlayerConnect query error: %d", mysql_errno(mysql_con)); return 1; }