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



SetPlayerSpawn - JUKYU - 27.10.2010

Hello, I have another question.

What do I need to do to when a Player connects, and spawns at his/her last location (where he/she crashed or logged out).
Can anyone help?


Re: SetPlayerSpawn - pater - 27.10.2010

Use dini to save the players position on disconnect into a string, than use diniGet OnPlayerSpawn.
tell me if you need any further help