09.11.2015, 12:59
pawn Код:
// Setup local variables
new query[200], ban_query[200], playerName[24], playersName[24], playersIP[16];
GetPlayerName(playerid, playerName, 24);
format(query, sizeof(query), "SELECT `playerName` FROM `playerdata` WHERE playerName = '%s' LIMIT 1", playerName);
mysql_query(query, MYSQL_RESULT_CHECK, playerid, connection);
GetPlayerName(playerid, playersName, sizeof(playersName));
GetPlayerIp(playerid, playersIP, sizeof(playersIP));
I think this is my saving section....not sure :/