Some bad arguments
#1

pawn Код:
format(Query,sizeof(Query), "INSERT INTO `playerinfo` (`user`, `password`, `kills`, `deaths`, `score`, `money`, `ve`, `bankmoney`, `IP`, `dt`, `email`) VALUES ('%s', md5('%s'), '%d', '%d', '%d', '%d', '%d', '%d', '%f','%s','%s')", escpname, escpass,0,0,0,0,0,0, PIP, result,GetPVarString(playerid,"epost"));
Why this line shows 2 of:
pawn Код:
warning 202: number of arguments does not match definition
Reply
#2

try this:
Код:
format(Query,sizeof(Query), "INSERT INTO `playerinfo` (`user`, `password`, `kills`, `deaths`, `score`, `money`, `ve`, `bankmoney`, `IP`, `dt`, `email`) VALUES ('%s', '%s', '0', '0', '0', '0', '0', '0', '%f','%s','%s')",escpname, md5(escpass), PIP, result,GetPVarString(playerid,"epost));
or:
Код:
new PVar[128];
GetPVarString(playerid,"epost",PVar,sizeof(PVar));
format(Query,sizeof(Query), "INSERT INTO `playerinfo` (`user`, `password`, `kills`, `deaths`, `score`, `money`, `ve`, `bankmoney`, `IP`, `dt`, `email`) VALUES ('%s', '%s', '0', '0', '0', '0', '0', '0', '%f','%s','%s')",escpname, md5(escpass), PIP, result,PVar);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)