Team bug...
#8

O.O lawl, i do have that

pawn Code:
SetPlayerTeamFromClass(playerid, classid)
{
  if(classid == 0)
   {
   gTeam[playerid] = TEAM_ARMY;
   return 1;
   }
  else if(classid == 1)
  {
  gTeam[playerid] = TEAM_LSPD;
  return 1;
}

SetPlayerToTeamColor(playerid)
{
    if (gTeam[playerid] == TEAM_ARMY)
    {
        SetPlayerColor(playerid, COLOR_BLUE);
    }
    else if (gTeam[playerid] == TEAM_LSPD)
    {
        SetPlayerColor(playerid, COLOR_INDIGO);
    }
}
I didn't get any warning in whole script
Reply


Messages In This Thread
Team bug... - by Mean - 05.09.2010, 13:57
Re: Team bug... - by LarzI - 05.09.2010, 13:59
Re: Team bug... - by iggy1 - 05.09.2010, 13:59
Re: Team bug... - by Mean - 05.09.2010, 14:01
Re: Team bug... - by iggy1 - 05.09.2010, 14:04
Re: Team bug... - by Mean - 05.09.2010, 14:13
Re: Team bug... - by iggy1 - 05.09.2010, 14:20
Re: Team bug... - by Mean - 05.09.2010, 14:52
Re: Team bug... - by iggy1 - 05.09.2010, 14:55
Re: Team bug... - by Mean - 05.09.2010, 15:00

Forum Jump:


Users browsing this thread: 1 Guest(s)