#7

Quote:
Originally Posted by Trollerz
Посмотреть сообщение
LIKE THIS??[
Код:
public OnPlayerSpawn(playerid)
{
  forward SetPlayerToTeamColor(playerid)
  if (gTeam[playerid] == TEAM_GROVE)
  {
        SetPlayerColor(playerid, TEAM_GROVE_COLOR);
    }
    else if (gTeam[playerid] == TEAM_BALLA)
    {
        SetPlayerColor(playerid, TEAM_BALLA_COLOR);
    }
    return 1;
}
You should better study
https://sampwiki.blast.hk/wiki/Scripting_Basics
Reply


Messages In This Thread
Help - by Trollerz - 28.08.2015, 16:14
Re: Help - by Logofero - 28.08.2015, 16:15
Re: Help - by Trollerz - 28.08.2015, 16:22
Re: Help - by Gazzy - 28.08.2015, 16:23
Re: Help - by Logofero - 28.08.2015, 16:25
Re: Help - by Trollerz - 28.08.2015, 16:28
Re: Help - by Logofero - 28.08.2015, 16:30
Re: Help - by Gazzy - 28.08.2015, 16:31
Re: Help - by Trollerz - 28.08.2015, 16:32
Re: Help - by Gazzy - 28.08.2015, 16:34

Forum Jump:


Users browsing this thread: 1 Guest(s)