Server Restart on all players on team death - 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: Server Restart on all players on team death (
/showthread.php?tid=167186)
Server Restart on all players on team death -
lSCARl - 11.08.2010
i need a script that will restart the server when all players on TEAM_HIDER 0 have died. all help appreciated
Re: Server Restart on all players on team death -
gamer931215 - 11.08.2010
I think you need to do that with a timer and loop a for all players and count the players who arent dead.
Edit:
Maybe its even better to count it OnPlayerDeath, less timers = less lag