Error in MySQL Register Script
#1

Hello,
I get a Error, But i cant find the solution :\
Maybe on of you guys can help me.

The Error:

Код:
: error 075: input line too long (after substitutions)  | 'The Error is in line 194'
The Code:

Код:
new string[256]; //line 194
   	format(string, sizeof(string), "UPDATE Users SET pPassword='%s',pAdminLevel='%d',pDonateRank='%d',pMoney='%d',pLevel='%d',pExp='%d',pSkill='%d',pPoints='%d',pKills='%d',pDeaths='%d',pWarns='%d', WHERE Name='%s'", PlayerInfo[playerid][pPassword], PlayerInfo[playerid][pAdminLevel], PlayerInfo[playerid][pDonateRank], PlayerInfo[playerid][pMoney], PlayerInfo[playerid][pLevel], PlayerInfo[playerid][pExp], PlayerInfo[playerid][pSkill], PlayerInfo[playerid][pPoints], PlayerInfo[playerid][pKills], PlayerInfo[playerid][pDeaths], PlayerInfo[playerid][pWarns], PlayerInfo[playerid][pName]);
Reply
#2

Nobody Knows ?
Reply
#3

The ide/compiler does not tolerate lines longer then 512 characters. Just do this

pawn Код:
new string[256];
format(string, sizeof(string), "UPDATE Users SET pPassword='%s',pAdminLevel='%d',pDonateRank='%d',pMoney='%d',pLevel='%d',pExp='%d',pSkill='%d',pPoints='%d',pKills='%d',pDeaths='%d',pWarns='%d', WHERE Name='%s'",
PlayerInfo[playerid][pPassword], PlayerInfo[playerid][pAdminLevel], PlayerInfo[playerid][pDonateRank], PlayerInfo[playerid][pMoney], PlayerInfo[playerid][pLevel], PlayerInfo[playerid][pExp], PlayerInfo[playerid][pSkill], PlayerInfo[playerid][pPoints], PlayerInfo[playerid][pKills], PlayerInfo[playerid][pDeaths], PlayerInfo[playerid][pWarns], PlayerInfo[playerid][pName]);
Reply
#4

Thanks! =D
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)