Multiple Line MYSQL
#4

You try to re-format the query and use %s placeholder at the beginning but you forgot the argument.
pawn Код:
mysql_format(handle, query, sizeof(query), "%s map = '%d', recht = '%d', alive = '%d',", query, PlayerInfo[playerid][pMap], PlayerInfo[playerid][pRecht], PlayerInfo[playerid][pAlive]);
mysql_format(handle, query, sizeof(query), "%s posx = '%f', posy = '%f', posz = '%f', posarg = '%f',", query, PlayerInfo[playerid][pPosx], PlayerInfo[playerid][pPosy], PlayerInfo[playerid][pPosz], PlayerInfo[playerid][pPosArg]);
mysql_format(handle, query, sizeof(query), "%s skinid = '%d' WHERE id = '%d'", query, PlayerInfo[playerid][pSkinid], PlayerInfo[playerid][pID]);
Reply


Messages In This Thread
Multiple Line MYSQL - by Dreandor - 16.06.2018, 19:57
Re: Multiple Line MYSQL - by KaryM4Life - 16.06.2018, 20:13
Re: Multiple Line MYSQL - by Dreandor - 16.06.2018, 20:26
Re: Multiple Line MYSQL - by Calisthenics - 16.06.2018, 21:22
Re: Multiple Line MYSQL - by Dreandor - 16.06.2018, 21:54

Forum Jump:


Users browsing this thread: 1 Guest(s)