SA-MP Forums Archive
hey please - 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: hey please (/showthread.php?tid=190956)



hey please - NewYork-Roleplay - 17.11.2010

Hey how to save my interior on log of?


Re: hey please - DarrenReeder - 17.11.2010

https://sampwiki.blast.hk/wiki/GetPlayerPos
https://sampwiki.blast.hk/wiki/GetPlayerInterior

and a saving system that uses something like dini or mysql...

---

also, onplayerspawn you will need to spawn the player at those co-ords with SetPlayerPos(playerid, x, y, z); and SetPlayerInterior(playerid, int);


Re: hey please - NewYork-Roleplay - 17.11.2010

hey Why i reloging the interior not save. but setplayerpos is save..

plxx


Re: hey please - dark_clown - 17.11.2010

save it to a file on onplayerdisconnect?


Re: hey please - NewYork-Roleplay - 17.11.2010

Yeah ....