09.08.2015, 17:36
Alright so the problem is simple, the SQL tquerry isnt being properly printed out
Log
format & querry
OnAccountRegister
As you see its starting to print out the next line that is "vip" but it never ends it. Just prints out V
Log
pawn Код:
[12:31:57] [DEBUG] mysql_tquery - connection: 1, query: "INSERT INTO `players` (`Username`, `Password`, `IP`, `Admin`, `V", callback: "OnAccountRegister", format: "i"
pawn Код:
mysql_format(mysql, query, sizeof(query), "INSERT INTO `players` (`Username`, `Password`, `IP`, `Admin`, `VIP`, `Reputation`) VALUES ('%e', '%s', '%s', 0, 0, 0)", Name[playerid], pInfo[playerid][Password], IP[playerid]);
mysql_tquery(mysql, query, "OnAccountRegister", "i", playerid);
OnAccountRegister
pawn Код:
public OnAccountRegister(playerid)
{
pInfo[playerid][ID] = cache_insert_id();
return 1;
}
As you see its starting to print out the next line that is "vip" but it never ends it. Just prints out V