pawn Код:
GetPlayerIp(playerid, ip, sizeof(ip));
mysql_format(connection, query, sizeof(query), "INSERT INTO `accounts` (`Name`, `Password`, `IP`) VALUES ('%s', '%e', '%s')", GetName(playerid), inputtext, ip);
mysql_function_query(connection, query, false, "", "");
SetTimerEx("CheckTimer", 2000, false, "i", playerid);
SendClientMessage(playerid, COLOR_RED, "**************************************");
SendClientMessage(playerid, COLOR_GREEN, "You have successfully registered!");
SendClientMessage(playerid, COLOR_GREEN, "PASSWORD USED:");
SendClientMessage(playerid, COLOR_GREEN, inputtext);
SendClientMessage(playerid, COLOR_RED, "**************************************");