20.01.2015, 18:37
Hey, so I've tried multiple things to avoid the input line too long error, but I end up with a not working script. The code under us is working fine, but it's limited, with that I mean if I want more data to save I get the input line too long error. So my question is how can I avoid the error and make the script work at the same time. I tried using strcat and many more but I'm pretty much desperate.
pawn Код:
mysql_format(sqlid,query,sizeof(query),"UPDATE `users` SET `px` = %f,`py` = %f,`pz` = %f,`pa` = %f,`hp` = %f,`armor` = %f WHERE username = '%e'",\
PlayerInfo[playerid][pPosX],
PlayerInfo[playerid][pPosY],
PlayerInfo[playerid][pPosZ],
PlayerInfo[playerid][pPosA],
PlayerInfo[playerid][pHealth],
PlayerInfo[playerid][pArmor],
GPN(playerid));
mysql_tquery(sqlid,query, "", "");