26.05.2014, 15:01
Greetings
I am currently trying to set up my samp basic player info in mysql
But i want the ip a player registered on and a recent IP stored both,
So i made 2 diffrent rows, RecentIP and RegisterIP, but the query im using at the moment is not correct i gues..
Full script : http://pastebin.com/EZTEQFz7
I am currently trying to set up my samp basic player info in mysql
But i want the ip a player registered on and a recent IP stored both,
So i made 2 diffrent rows, RecentIP and RegisterIP, but the query im using at the moment is not correct i gues..
pawn Код:
mysql_format(mysql, query, sizeof(query), "INSERT INTO `players` (`Username`, `Password`, `Admin`, `Vip`, `Money`, `Score`, `XP` ,`RegisterIP`, `RecentIP`)
VALUES ('%e', '%s', 0, 0, 0, 0, 0.0, 0.0, 0.0)", Name[playerid], pInfo[playerid][Password], IP[playerid]);
mysql_tquery(mysql, query, "OnAccountRegister", "i", playerid);
Full script : http://pastebin.com/EZTEQFz7