SA-MP Forums Archive
Saved Positions don't load. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Saved Positions don't load. (/showthread.php?tid=129184)



Saved Positions don't load. - pagie1111 - 21.02.2010


They save into the ini file like this:

Code:
PX=133.452529
PY=-69.101837
PZ=1.578125
And I have it to spawn like this:

pawn Code:
SetSpawnInfo(playerid, 0, Account[playerid][Skin], Account[playerid][PX],Account[playerid][PY],Account[playerid][PZ],0.0,0,0,0,0,0,0);
      SpawnPlayer(playerid);
I use dINI and this sucks!


Re: Saved Positions don't load. - Correlli - 21.02.2010

Can you show us the loading code?