26.06.2013, 02:00
Tenta isso
Topo
OnGameModeInit
Fim do GM
Topo
PHP код:
forward TeamProtection();
PHP код:
SetTimer("TeamProtection", 5000 ,true);
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.
}
}
}