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



Spawning? - HoboGamings - 15.09.2013

I have been trying to work out how i get people to spawn were they left and spawn a spawn point when its there first i looked through everything if someone could help me out that would be great

((Check out my server I'm requesting Moderators of all ranks,Admins,Scriptwriters,PD,FD,FBI))


Re: Spawning? - J4mmyHD - 20.11.2013

Please remove the writing in brackets as it is sever advertising.


Re: Spawning? - CrossOv3r - 20.11.2013

You have to save 3 floats for that. Float X , Y and Z when the player disconnect.

Then load it, and set the player position in X, Y , Z position saved before


Re: Spawning? - Lajko1 - 20.11.2013

Quote:
Originally Posted by HoboGamings
Посмотреть сообщение
I have been trying to work out how i get people to spawn were they left and spawn a spawn point when its there first i looked through everything if someone could help me out that would be great

((Check out my server I'm requesting Moderators of all ranks,Admins,Scriptwriters,PD,FD,FBI))
GetPlayerPos, SetPlayerPos + Saving system and you're done