23.04.2012, 23:38
Hello there,
So I have this little error, crashdetect plugin say that mysql_retrieve_row(); has crashed the script, but when we tested that script on windows home host, it worked fine, but when we uploaded to deluxe host, it crash every time when mysql_retrieve_row is called.
Here is part where it crashes. And here is Query
So if anyone could help us, that would be awesome.
All regards
So I have this little error, crashdetect plugin say that mysql_retrieve_row(); has crashed the script, but when we tested that script on windows home host, it worked fine, but when we uploaded to deluxe host, it crash every time when mysql_retrieve_row is called.
pawn Код:
mysql_retrieve_row();
new banned[1];
mysql_get_field("banned", banned);
PlayerInfo[extraid][pBanned] = bool:strval(banned);
pawn Код:
format(motd, sizeof(motd), "SELECT * FROM `players` WHERE `displayName` = '%s' LIMIT 1", escapedname);
mysql_query(motd, EXIST_PLAYER_QUERY, playerid);
All regards
