04.02.2014, 18:31
Es asн:
pawn Код:
stock GetPlayersInTeamFromMaxPlayers(teamid)
{
new playercount = 0;
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(GetPlayerState(i) == PLAYER_STATE_NONE) continue;
if(gTeam[playerid] != teamid) continue; //AQUI
playercount++;
}
return playercount;
} // Te faltу cerrar la llave.