How could i disable Teamkill
#2

pawn Код:
OnPlayerSpawn(playerid)
{
  if(gTeam[playerid] == TEAM_ONE) //some check to see if a players team = X
  {
   SetPlayerTeam(playerid, 1);
  }
  else if (gTeam[playerid] == TEAM_TWO)
  {
   SetPlayerTeam(playerid, 2);
  }
  return 1;
}
That's all, but there's one important thing, it's not always sycned so at times you can kill your teammates.
Reply


Messages In This Thread
How could i disable Teamkill - by will_92 - 20.06.2009, 23:11
Re: How could i disable Teamkill - by Grim_ - 20.06.2009, 23:15
Re: How could i disable Teamkill - by Mr_Finnigan - 20.06.2009, 23:39
Re: How could i disable Teamkill - by Grim_ - 20.06.2009, 23:40
Re: How could i disable Teamkill - by Mr_Finnigan - 20.06.2009, 23:44
Re: How could i disable Teamkill - by will_92 - 20.06.2009, 23:45
Re: How could i disable Teamkill - by Grim_ - 20.06.2009, 23:45
Re: How could i disable Teamkill - by will_92 - 20.06.2009, 23:47
Re: How could i disable Teamkill - by Grim_ - 20.06.2009, 23:50
Re: How could i disable Teamkill - by will_92 - 20.06.2009, 23:50

Forum Jump:


Users browsing this thread: 1 Guest(s)