spawn coordinates.
#4

@twinki,yeah.

blackwave,here is my OnPlayerSpawn.

Код:
public OnPlayerSpawn(playerid)
{
  if(gTeam[playerid] == TEAM_SWAT)
  {
    SetPlayerColor(playerid, COLOR_GREEN);
  }
  if(gTeam[playerid] == TEAM_CHICKENS)
  {
    SetPlayerColor(playerid, COLOR_YELLOW);
  }
  if(gTeam[playerid] == TEAM_KAMIKAZERS)
  {
    SetPlayerColor(playerid, COLOR_RED);
  }
  if(gTeam[playerid] == TEAM_IMMIGRANTS)
  {
    SetPlayerColor(playerid, COLOR_CORAL);
  }
  if(gTeam[playerid] == TEAM_MEDICS)
  {
    SetPlayerColor(playerid, COLOR_ORANGE);
  }
  if(gTeam[playerid] == TEAM_FARMERS)
  {
    SetPlayerColor(playerid, COLOR_PINK);
  }
  if(gTeam[playerid] == TEAM_RICHS)
  {
    SetPlayerColor(playerid, COLOR_LIGHTBLUE);
  }
  if(gTeam[playerid] == TEAM_PILOTS)
  {
    SetPlayerColor(playerid, COLOR_GREY);
  }

  }
Reply


Messages In This Thread
spawn coordinates. - by Face9000 - 14.12.2010, 20:22
Re: spawn coordinates. - by blackwave - 14.12.2010, 20:24
Re: spawn coordinates. - by twinki - 14.12.2010, 20:24
Re: spawn coordinates. - by Face9000 - 14.12.2010, 20:26
Re: spawn coordinates. - by Face9000 - 14.12.2010, 20:45
Re: spawn coordinates. - by Joe Staff - 14.12.2010, 20:56
Re: spawn coordinates. - by Face9000 - 14.12.2010, 20:57
Re: spawn coordinates. - by Face9000 - 15.12.2010, 06:47
Re: spawn coordinates. - by Haydz - 15.12.2010, 07:22
Re: spawn coordinates. - by Face9000 - 15.12.2010, 07:32

Forum Jump:


Users browsing this thread: 1 Guest(s)