Error 075: input line too long (after substitutions)
#1

What should I do with this
PHP код:
format(update,sizeof(update),"UPDATE users SET pMoney='%i', pAdmin='%i', pSkin='%i', pScore='%i', pPolice='%i', pGang='%i', pHorseshoes='%i', pDealer='%i', pWarnings='%i', pJob='%i', pHouseID='%i' WHERE pName = '%s'",GetPlayerMoney(playerid), PlayerInfo[playerid][pAdmin], PlayerInfo[playerid][pSkin], GetPlayerScore(playerid), PlayerInfo[playerid][pPolice], PlayerInfo[playerid][pGang], PlayerInfo[playerid][pHorseshoes], PlayerInfo[playerid][pDealer], PlayerInfo[playerid][pWarnings],PlayerInfo[playerid][pJob], PlayerInfo[playerid][pHouseID], PlayerName(playerid)); 
Reply
#2

Delete, my bad.
Reply
#3

Split it to two queries. Or, you can do this:

pawn Код:
format (update, sizeof (update), "UPDATE users SET pMoney = '%i' ......, pHorseshoes = '%i'", ...);
format (update, sizeof (update), "%s, pDealer = '%i'....., ", update, ...);
Reply
#4

Try this

PHP код:
format(update,sizeof(update),"UPDATE users SET pMoney='%i', pAdmin='%i', pSkin='%i', pScore='%i', pPolice='%i', pGang='%i', pHorseshoes='%i', pDealer='%i', pWarnings='%i', pJob='%i', pHouseID='%i' WHERE pName = '%s'",
    
GetPlayerMoney(playerid), PlayerInfo[playerid][pAdmin], PlayerInfo[playerid][pSkin], GetPlayerScore(playerid), PlayerInfo[playerid][pPolice], PlayerInfo[playerid][pGang], PlayerInfo[playerid][pHorseshoes], PlayerInfo[playerid][pDealer], PlayerInfo[playerid][pWarnings],PlayerInfo[playerid][pJob], PlayerInfo[playerid][pHouseID], PlayerName(playerid)); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)