25.07.2014, 09:25
If a player is alive, their state will be either on foot or in vehicle (driver or passenger).
PS: foreach is much faster for player loops.
pawn Код:
new
count;
foreach(new i : Player)
{
switch (GetPlayerState(i))
{
case 1 .. 3: ++count;
}
}