SA-MP Forums Archive
Save Pos? - 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: Save Pos? (/showthread.php?tid=480688)



Save Pos? - Juandawson - 12.12.2013

Hey guys, can anyone tell me how can i make a player postion to be saved automatically, and if he re-connects in the server, he will be set into that postion ... please help


P.S > Appreciated


Re: Save Pos? - Tagathron - 12.12.2013

Try this one.You'll need to use y_ini file I/O.
https://sampforum.blast.hk/showthread.php?tid=299791


Re: Save Pos? - Beckett - 12.12.2013

Set a variable when player disconnect, get the variable(his XYZ) then make it save, if he spawns set his pos to the variable, X,Y,Z.


Re: Save Pos? - Juandawson - 12.12.2013

can anyone merge it into this? http://pastebin.com/JeQBevkT