Team Kill Problem
#4

Quote:
Originally Posted by Grim_
Just set a timer every few seconds re-setting the players team. Sometimes the effect isn't set correctly.
pawn Код:
public OnPlayerSpawn(playerid)
{
  SetTimerEx("UpdatePlayerTeam", 10000, 1, "i", playerid);
  return 1;
}

forward UpdatePlayerTeam(playerid);
public UpdatePlayerTeam(playerid) SetPlayerTeam(playerid, teamid);
But how would i do that for more then one team?



So like i want it so that, TEAM_COP and TEAM_ARMY cannot hurt there own team or each other as well


EDIT: That doesn't protect the teams from killing each other.
Reply


Messages In This Thread
Team Kill Problem - by MWF2 - 15.06.2010, 02:59
Re: Team Kill Problem - by Babul - 15.06.2010, 03:16
Re: Team Kill Problem - by Grim_ - 15.06.2010, 04:26
Re: Team Kill Problem - by MWF2 - 15.06.2010, 19:46
Re: Team Kill Problem - by MWF2 - 15.06.2010, 22:49

Forum Jump:


Users browsing this thread: 1 Guest(s)