How to check if all players are dead?
#1

hi,

how would i do this?
How can i check if all players are dead except one?
Cause this only player that stays alive untill time is up shall be the winner.
All other cant respawn if once killed.
I just toggle them spectating after death using a varible: cantspawn[playerid]=1;
They cant spawn if the variable value is 1.
So how could i check if theres is only one sigle survivor that has the variable value 0?
This would be the winner then.

regards...
Reply


Messages In This Thread
How to check if all players are dead? - by BlackWolf120 - 01.04.2011, 14:24
Re: How to check if all players are dead? - by JamesC - 01.04.2011, 14:43
Re: How to check if all players are dead? - by BlackWolf120 - 01.04.2011, 21:36
Re: How to check if all players are dead? - by BlackWolf120 - 01.04.2011, 23:30
AW: Re: How to check if all players are dead? - by Manuel1948 - 01.04.2011, 23:32
Re: How to check if all players are dead? - by BlackWolf120 - 02.04.2011, 13:53
Re: How to check if all players are dead? - by coole210 - 02.04.2011, 14:49
Re: How to check if all players are dead? - by BlackWolf120 - 02.04.2011, 16:30

Forum Jump:


Users browsing this thread: 1 Guest(s)