MYSQL - input line too long (after substitutions)
#1

Well, I had my old project laying around and I wanted to change it to MYSQL instead of Y_Ini. However; got these errors.

Already tried using scatstr but it gave the error that UPDATE wasn't defined.

Код:
(665) : error 075: input line too long (after substitutions)
(666) : error 017: undefined symbol "pBanne"
(667) : warning 217: loose indentation
(667) : error 017: undefined symbol "dAdminName"
(667) : error 029: invalid expression, assumed zero
(667) : error 029: invalid expression, assumed zero
(667) : fatal error 107: too many error messages on one line
Код:
	new query[512]; // this is line 664
	mysql_format(mysql, query, sizeof(query), "UPDATE `users` SET `IP`=%s`Admin`=%d,`Money`=%d,`Level`=%d,`Kills`=%d,`Deaths`=%d,`Warns`=%d,`Banned`=%d,`BannedReason`=%s,`BannedBy`=%s,`Beta`=%d,`Faction`=%d,`FactionRank`=%s,`FactionRight`=%d, WHERE `ID`=%d",\
	IP[playerid], PlayerInfo[playerid][pAdmin], PlayerInfo[playerid][pScores], PlayerInfo[playerid][pKills],PlayerInfo[playerid][pDeaths],PlayerInfo[playerid][pWarns],PlayerInfo[playerid][pBanned],PlayerInfo[playerid][pBanReason],PlayerInfo[playerid][pBannedAdminName],PlayerInfo[playerid][pBeta],PlayerInfo[playerid][pFaction], PlayerInfo[playerid][pFactionRank],PlayerInfo[playerid][pFactionRight], PlayerInfo[playerid][ID]);

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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)