12.06.2015, 20:45
Why so much spacing and ` or ' around every single one? Query's length can be reduced and splitting the arguments will get rid of the error:
and for your first question: 100+ arguments crashed the compiler. "format" gives an error if I'm not wrong but you will never need that many arguments at once.
pawn Код:
mysql_format(g_SQL, query, sizeof(query), "UPDATE players SET admin=%d,owner=%d,scripter=%d,donator=%d,regularplayer=%d,dj=%d WHERE id=%d LIMIT 1",
PlayerInfo[playerid][pAdmin],PlayerInfo[playerid][pOwner],PlayerInfo[playerid][pScripter],PlayerInfo[playerid][pDonator],PlayerInfo[playerid][pRegularPlayer],PlayerInfo[playerid][pDj],PlayerInfo[playerid][pID]);