Error in MySQL Register Script
#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


Messages In This Thread
Error in MySQL Register Script - by Gforcez - 23.07.2010, 18:24
Re: Error in MySQL Register Script - by Gforcez - 24.07.2010, 08:16
Re: Error in MySQL Register Script - by dice7 - 24.07.2010, 09:19
Re: Error in MySQL Register Script - by Gforcez - 24.07.2010, 12:09

Forum Jump:


Users browsing this thread: 1 Guest(s)