How can I avoid "input line too long"
#4

Example code

pawn Код:
new strcatstring[300];
mysql_format(mysql, strcatstring, sizeof(strcatstring), "UPDATE `users` SET `score`=%d, `money`=%d,",
GetPlayerScore(playerid),GetPlayerMoney(playerid), /* variables*/);
strcat(query, strcatstring);
       
mysql_format(mysql, strcatstring, sizeof(strcatstring), "`x`=%d, `y`=%d, `z`=%d WHERE username = '%e'",
PlayerInfo[playerid][x],/* variables*/);
strcat(query, strcatstring);

mysql_tquery(mysql, query, "", "");
Reply


Messages In This Thread
How can I avoid "input line too long" - by TonyII - 20.01.2015, 18:37
Re: How can I avoid "input line too long" - by JaydenJason - 20.01.2015, 18:42
Re: How can I avoid "input line too long" - by TonyII - 20.01.2015, 18:44
Re: How can I avoid "input line too long" - by Ironboy - 20.01.2015, 18:53
Re: How can I avoid "input line too long" - by TonyII - 20.01.2015, 20:16
Re: How can I avoid "input line too long" - by Ironboy - 20.01.2015, 20:23

Forum Jump:


Users browsing this thread: 2 Guest(s)