13.03.2013, 14:21
I just saw that the error is coming when I click Register.
There is something wrong in this code:
There is something wrong in this code:
pawn Код:
new query[256], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
format(query, sizeof(query), "INSERT INTO `accounts` VALUES ('%s', '%s')", pName, inputtext);
mysql_query(query);
SendClientMessage(playerid, -1, "Registered!");
SetSpawnInfo(playerid, 1, 299, 1, 2, 3, 1, 1, 999, 1, 999, 1, 999);
SpawnPlayer(playerid);