Position saving
#1

Hello, I'm using this -http://forum.sa-mp.com/index.php?topic=148182.0 MySQL plugin, but i have the problem with the player position saving. It can save everything, but not the player position..
Here's the code:

Код:
<...>
GetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]);
<...>
format(query, 1024,"UPDATE "SQL_TABLE" SET Numeris = '%d', Mobilus = '%d', X_Kordinate = '%s', Y_Kordinate = '%s', Z_Kordinate = '%s' WHERE vardas = '%s'",pInfo[playerid][Mobilus],Pos[0],Pos[1],Pos[2],pInfo[playerid][Nick]);
  mysql_query(query);
  mysql_free_result();
<...>
Help me someone
Reply


Messages In This Thread
Position saving - by martyz-lithuania - 21.04.2010, 16:18
Re: Position saving - by martyz-lithuania - 21.04.2010, 17:38
Re: Position saving - by Sergei - 21.04.2010, 17:43
Re: Position saving - by martyz-lithuania - 22.04.2010, 11:08
Re: Position saving - by martyz-lithuania - 22.04.2010, 16:47
Re: Position saving - by martyz-lithuania - 23.04.2010, 13:24

Forum Jump:


Users browsing this thread: 1 Guest(s)