03.10.2015, 15:22
Try this:
It should work now.
PHP код:
mysql_format(MySQLCon, query, sizeof(query), "SELECT * FROM `players` WHERE `user` = '%d' LIMIT 1", GetName(playerid));
mysql_tquery(MySQLCon, query, "OnPlayerLogin", "i", playerid);