wilson.aka
Добрая душа
- Сообщения
- 119
- Реакции
- 49
@Tony, В 26
C-подобный:
stock bool:IsValidPlayer(client, bool:alive = false, team = -1)
{
if(client>0 && client <= MaxClients && IsClientConnected(client) && IsClientInGame(client))
{
if(alive && IsPlayerAlive(client))
return false;
if(team != -1 && GetClientTeam(client) != team)
return false;
return true;
}
return false;
}