25.09.2015, 20:49
PHP код:
public OnPlayerConnect(playerid)
{
new query[128];
format(query, sizeof(query), "SELECT * FROM `contas` WHERE `usuario` = '%s'", PlayerName(playerid));
mysql_function_query(conexao, query, true, "q_loginRequest", "d", playerid);
return 1;
}