21.04.2014, 10:39
pawn Код:
CheckAccountExist(playerid, account[])
{
if(IsPlayerNPC(playerid)) return 0;
new Query[90];
format(Query, sizeof(Query), "SELECT * FROM `playerdata` WHERE Username='%s'", account);
mysql_tquery(conn, Query, true, "CheckAccount", "is", playerid, account);
return 1;
}