Why wont SetPlayerColor work??
#6

Try this:
pawn Код:
forward SetColor(playerid);
public SetColor(playerid)
{
    if(President[playerid] == 1)
    {
        SetPlayerColor(playerid,yellow);
    }
    if(IsPlayerXAdmin(playerid) && IsPlayerVIP(playerid))
    {
        SetPlayerColor(playerid,white);
    }
    if(Team[playerid] == TEAM_RED)
    {
        SetPlayerColor(playerid,RED);
    }
    if((President[playerid] == 1) && (IsPlayerXAdmin(playerid) || IsPlayerVIP(playerid)))
    {
        SetPlayerColor(playerid,yellow);
    }
    else
    {
        SetPlayerColor(playerid,BLUE);
    }
}
SetColor(playerid); // OnPlayerSpawn
Reply


Messages In This Thread
Why wont SetPlayerColor work?? - by Tigerbeast11 - 28.08.2011, 18:36
Re: Why wont SetPlayerColor work?? - by Wesley221 - 28.08.2011, 18:47
Re: Why wont SetPlayerColor work?? - by BlackWolf120 - 28.08.2011, 18:53
Re: Why wont SetPlayerColor work?? - by Tigerbeast11 - 28.08.2011, 22:32
Re: Why wont SetPlayerColor work?? - by Tigerbeast11 - 28.08.2011, 22:41
Re: Why wont SetPlayerColor work?? - by Jafet_Macario - 28.08.2011, 22:51
Re: Why wont SetPlayerColor work?? - by Tigerbeast11 - 28.08.2011, 22:56
Re: Why wont SetPlayerColor work?? - by =WoR=Varth - 29.08.2011, 09:51
Re: Why wont SetPlayerColor work?? - by [MWR]Blood - 29.08.2011, 09:55

Forum Jump:


Users browsing this thread: 1 Guest(s)