SA-MP Forums Archive
Saving Position problem - 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)
+--- Thread: Saving Position problem (/showthread.php?tid=473340)



Saving Position problem - firemanjv - 02.11.2013

Hello Sa-mp forums,

I am creating a script from scratch and finished the position saving system but I want it so that when you log in it sets your spawn info but also reads the file from your last position

Reagards
Justin


Re: Saving Position problem - JohnRazer - 02.11.2013

I'm pretty sure there is a topic or section for this. I'll try though.


Re: Saving Position problem - HyDrAtIc - 05.11.2013

Can you please describe more?

Also, show us some codes.


Re: Saving Position problem - AlonzoTorres - 05.11.2013

What system are you using to save files or database intel?


Re: Saving Position problem - ThaCrypte - 05.11.2013

use this @ onplayerspawn
pawn Код:
SetPlayerPos(playerid, X-Variable, Y-Variable, Z-Variable); // ofcourse the userfiles has to be loaded first.