[06:33:13] CMySQLHandler::Query(INSERT INTO `rfxtable` ('user', 'IP', 'Password', 'AccId', 'NoPrivM', 'Clothes', 'MissionCompleted', 'AgentCard', 'Story', 'BankPin', 'BankWealth', 'Banned', 'AdminLevel', 'VIPLevel', 'Money', 'Score', 'Kills', 'Deaths') VALUES ('[Air]Jake_Hero', '127.0.0.1', SHA1('finnandjake'), '39', '0', '-1', ') - An error has occured. (Error ID: 1064, You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''user', 'IP', 'Password', 'AccId', 'NoPrivM', 'Clothes', 'MissionCompleted', 'Ag' at line 1)
stock MySQL_Register(playerid, passwordstring[])
{
new q[300], IP[16];
GetPlayerIp(playerid, IP, 16);
new c = pInfo[playerid][Clothes];
new m = pInfo[playerid][MissionCompleted];
new format2[41];
format(format2, 41, "%s", pInfo[playerid][AgentCard]);
new s = pInfo[playerid][Story];
new pm = pInfo[playerid][NoPM];
pInfo[playerid][AccID] = ServerInfo[AccID];
new ac = pInfo[playerid][AccID];
new bw = pInfo[playerid][BankWealth];
new b = pInfo[playerid][Banned];
new at = pInfo[playerid][Admin];
new v = pInfo[playerid][Vip];
new k = pInfo[playerid][Kills];
new d = pInfo[playerid][Deaths];
format(q, sizeof(q), "INSERT INTO `rfxtable` ('user', 'IP', 'Password', 'AccId', 'NoPrivM', 'Clothes', 'MissionCompleted', 'AgentCard', 'Story', 'BankPin', 'BankWealth', 'Banned', 'AdminLevel', 'VIPLevel', 'Money', 'Score', 'Kills', 'Deaths') VALUES ('%s', '%s', SHA1('%s'), '%d', '%d', '%d', '%d', '%s', '%d', '%s', '%d', '%d', '%d', '%d', 5000, 0, '%d')", GetName(playerid), IP, passwordstring, ac, pm, c, m, format2, s, bw, b, at, v, k, d);
mysql_query(q);
return 1;
}
'user', 'IP', 'Password', 'AccId', 'NoPrivM', 'Clothes', 'MissionCompleted', 'AgentCard', 'Story', 'BankPin', 'BankWealth', 'Banned', 'AdminLevel', 'VIPLevel', 'Money', 'Score', 'Kills', 'Deaths'
format(q, sizeof(q), "INSERT INTO `rfxtable` (user, IP, Password, AccId, NoPrivM, Clothes, MissionCompleted, AgentCard,Story, BankPin, BankWealth, Banned, AdminLevel, VIPLevel, Money, Score, Kills, Deaths) VALUES ('%s', '%s', SHA1('%s'), %d, %d, %d, %d, '%s', %d, '%s', %d, %d, %d, %d, 5000, 0, %d)", GetName(playerid), IP, passwordstring, ac, pm, c, m, format2, s, bw, b, at, v, k, d);
Query(INSERT INTO `rfxtable` (user, IP, Password, AccId, NoPrivM, Clothes, MissionCompleted, AgentCard,Story, BankPin, BankWealth, Banned, AdminLevel, VIPLevel, Money, Score, Kills, Deaths) VALUES ('[Air]Jake', '127.0.0.1', SHA1('finnandjake'), 42, 0, -1, 0, '18606216783', 0, '', 0, 0, 0, 0, 5000, 0, 1)) - An error has occured. (Error ID: 1136, Column count doesn't match value count at row 1)
user, IP, Password, AccId, NoPrivM, Clothes, MissionCompleted, AgentCard,Story, BankPin, BankWealth, Banned, AdminLevel, VIPLevel, Money, Score, Kills, Deaths
'[Air]Jake', '127.0.0.1', SHA1('finnandjake'), 42, 0, -1, 0, '18606216783', 0, '', 0, 0, 0, 0, 5000, 0, 1
CMySQLHandler::Query(INSERT INTO `rfxtable` (user, IP, Password, NoPrivM, Clothes, MissionCompleted, AgentCard, Story, BankPin, BankWealth, Banned, AdminLevel, VIPLevel, Money, Score, Kills, Deaths) VALUES ('[Air]Jake', '127.0.0.1', SHA1('finnandjake'), '0', '-1', '0', '52', '', '0', '', '0', '0', '0', '1', 5000, 0, ') - An error has occured. (Error ID: 1064, You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''' at line 1)
format(q, sizeof(q), "INSERT INTO `rfxtable` (user, IP, Password, NoPrivM, Clothes, MissionCompleted, AgentCard, Story, BankPin, BankWealth, Banned, AdminLevel, VIPLevel, Money, Score, Kills, Deaths) VALUES ('%s', '%s', SHA1('%s'), '%d', '%d', '%d', '%d', '%s', '%d', '%s', '%d', '%d', '%d', '%d', 5000, 0, '%d')", GetName(playerid), IP, passwordstring, pm, c, m, format2, s, bw, b, at, v, k, d);
format(q, sizeof(q), "INSERT INTO `rfxtable` (user, IP, Password, NoPrivM, Clothes, MissionCompleted, AgentCard, Story, BankPin, BankWealth, Banned, AdminLevel, VIPLevel, Money, Score, Kills, Deaths) VALUES ('%s', '%s', SHA1('%s'), %d, %d, %d, %d, '%s',%d, '%s', %d, %d, %d,%d, 5000, 0, %d)", GetName(playerid), IP, passwordstring, pm, c, m, format2, s, bw, b, at, v, k, d);
CMySQLHandler::Query(INSERT INTO `rfxtable` (user, IP, Password, NoPrivM, Clothes, MissionCompleted, AgentCard, Story, BankPin, BankWealth, Banned, AdminLevel, VIPLevel, Money, Score, Kills, Deaths) VALUES ('[Air]Jake', '127.0.0.1', SHA1('finnandjake'), 0, -1, 0, 50, '',0, '', 0, 0, 0, 1, 5000, 0, )) - An error has occured. (Error ID: 1064, You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1)
CMySQLHandler::Query(INSERT INTO `rfxtable` (user, IP, Password, NoPrivM, Clothes, MissionCompleted, AgentCard, Story, BankPin, BankWealth, Banned, AdminLevel, VIPLevel, Money, Score, Kills, Deaths) VALUES ('[Air]Jake', '127.0.0.1', SHA1('finnandjake'), 0, -1, 0, 50, '',0, '', 0, 0, 0, 1, 5000, 0, )) - An error has occured. (Error ID: 1064, You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1) |