12.06.2015, 20:39
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]);
mysql_tquery(g_SQL, query);//3621
pawn Код:
(3261) : error 075: input line too long (after substitutions)
and if i try this
pawn Код:
mysql_format(g_SQL, query, sizeof(query), "UPDATE `players` SET `admin` = '%d' , `owner` = '%d' , `scripter` = '%d' , `donator` = '%d' //3260
, `regularplayer` = '%d' , `dj` = '%d' WHERE `id` = '%d' LIMIT 1", PlayerInfo[playerid][pAdmin],PlayerInfo[playerid][pOwner],//3261
PlayerInfo[playerid][pScripter],PlayerInfo[playerid][pDonator],PlayerInfo[playerid][pRegularPlayer],PlayerInfo[playerid][pDj],//3262
PlayerInfo[playerid][pID]);//3263
mysql_tquery(g_SQL, query);//3264
pawn Код:
(3260) : error 037: invalid string (possibly non-terminated string)
(3260) : error 017: undefined symbol "UPDATE"
(3260) : error 029: invalid expression, assumed zero
(3260) : fatal error 107: too many error messages on one line