01.04.2011, 14:24
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...
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...