22.06.2014, 00:25
You should count the players that take place in the even and when they die decrease the variable. Then you check if it equals to 1.
You should always mind about decreasing the variable during someone disconnects while participating in even.
pawn Код:
new TotalEvenParticipants;
TotalEvenParticipants++;
// When someone joins
TotalEvenParticipants--;
//When someone dies
if (TotalEvenParticipants == 1)
//only one left