07.07.2012, 16:49
Hello! So here is my problem:
The code:
Which is split in multiple lines because it was too long.
Gives me this warning:
After removing that code the warning disappeared so the error is ON that lines.
Thanks in advance!
The code:
pawn Код:
format(Query,sizeof(Query),"UPDATE `USERS` SET BANKCASH = '%d', CASH = '%d', ADMINLEVEL = '%d', SPAWN = '%d', LEVEL = '%d', EXP = '%d', JOB = '%d', FACTION = '%d', FACTIONLEADER = '%d', SKIN = '%d' WHERE `NAME` = '%s' COLLATE NOCASE",pStats[playerid][BankCash],
pStats[playerid][Money],pStats[playerid][AdminLevel],pStats[playerid][Spawn],pStats[playerid][Level],pStats[playerid][EXP],pStats[playerid][Job],pStats[playerid][Faction],pStats[playerid][FactionLeader],pStats[playerid][Skin],GetPlayerName(playerid));
Gives me this warning:
pawn Код:
warning 202: number of arguments does not match definition
Thanks in advance!