Don't let the health change if player from the same team how to do that???
#8

NOTE: I did not make this:

pawn Код:
// Forwards
forward SettingPlayerTeam();

// OnGameModeInit
SetTimer("SettingPlayerTeam", 10, 1);

// On the end of your script
public SettingPlayerTeam()
{
   for(new i; i< MAX_PLAYERS; i++) SetPlayerTeam(i, gTeam[i]);
   return 1;
}
You need gTeam though.
But you can easily just use SetPlayerTeam under OnPlayerSpawn.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)