25.05.2010, 14:52
pawn Код:
stock GetRemainingMembers(teamid)
{
new tCount;
for(new i=0; i<MAX_PLAYERS; i++)
{
if(GetPlayerTeam(i) == teamid && GetPVarInt(i, "Dead") == 0)
{
tCount = i;
break;
}
}
return tCount;
}
pawn Код:
tCount++; // Replace this with 'tCount = i'