SA-MP Forums Archive
Prevent respawn & Spectate - 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: Prevent respawn & Spectate (/showthread.php?tid=186795)



Prevent respawn & Spectate - Amator - 30.10.2010

Hey! I'm actually on a dm script but i need help please. I'd like the players died to spectate players still alive and don't respawn. If spectated player die, spectators switch spectated player.

Some help ty


Re : Prevent respawn & Spectate - Amator - 31.10.2010

Anybody please?


Re: Prevent respawn & Spectate - LarzI - 31.10.2010

Make your own function/timer and call it on the bottom of OnPlayerDeath, then return 0;
I believe that should work, if you of course do what you have to do in the timer function.