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



Respawning? - AstonDA-G - 27.01.2012

Hi all
Im trying to make a TDM server, with so many kills, and after the last kill, you will respawn at the next map.
I have done pretty much all of this, but how can i respawn a player without killing him, beacause if someone is shooting at the guy who got the game winning kill, then the guy who died will get a kill when i setplayerhealth on everyone so they respawn. I need it so he can just respawn without being killed.

EDIT: nevermind, SpawnPlayer worked this time