Quote:
Originally Posted by Cleitonboy23
Tenta isso
Topo
PHP код:
forward TeamProtection();
OnGameModeInit
PHP код:
SetTimer("TeamProtection", 5000 ,true);
Fim do GM
PHP код:
public TeamProtection()
{
for(new i; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
SetPlayerTeam(i, gTeam[i]);// Troque o gTeam pela variбvel que define as gangs/equipes.
}
}
}
|
certeza que й necessбrio uma loop para isso ?