errors
#9

Код:
public OnPlayerSpawn(playerid)
{
  SetPlayerToTeamColour(playerid)
  {
    if(gTeam[playerid] == GANG_GROVE)
    {
       SetPlayerColor(playerid, GANG_GROVE_COLOUR);
    }
    if(gTeam[playerid] == GANG_BALLAS)
    {
       SetPlayerColor(playerid, GANG_BALLAS_COLOUR);
    }
    if(gTeam[playerid] == GANG_VAGOS)
    {
       SetPlayerColor(playerid, GANG_VAGOS_COLOUR);
    }
    if(gTeam[playerid] == GANG_AZTECAS)
    {
       SetPlayerColor(playerid, GANG_AZTECAS_COLOUR);
    }
    if(gTeam[playerid] == GANG_TRIADS)
    {
       SetPlayerColor(playerid, GANG_TRIADS_COLOUR);
    }
    if(gTeam[playerid] == GANG_ITALIAN_MAFIA)
    {
       SetPlayerColor(playerid, GANG_ITALIAN_MAFIA_COLOUR);
    }
    return 1;
}
Seems to me like you have one bracket more that you should have.
Reply


Messages In This Thread
errors - by Glossy42O - 30.07.2015, 16:09
AW: errors - by Kaliber - 30.07.2015, 16:10
Re: errors - by Glossy42O - 30.07.2015, 16:13
Re: errors - by PT - 30.07.2015, 16:17
Re: errors - by MBilal - 30.07.2015, 16:34
Re: errors - by Variable™ - 30.07.2015, 16:45
Re: errors - by Glossy42O - 30.07.2015, 16:45
Re: errors - by Variable™ - 30.07.2015, 16:56
Re: errors - by dominik523 - 30.07.2015, 17:11
Re: errors - by Glossy42O - 30.07.2015, 18:37

Forum Jump:


Users browsing this thread: 1 Guest(s)