Why wont SetPlayerColor work??
#5

I tried your code, still not working... This is my whole "OnPlayerSpawn":
pawn Код:
public OnPlayerSpawn(playerid)
{
    //TextDrawShowForPlayer(playerid,Timer);
    TextDrawShowForPlayer(playerid,RScores);
    TextDrawShowForPlayer(playerid,BScores);
   
    if(IsPlayerVIP(playerid) || President[playerid] == 1)
    {
        SetPlayerArmour(playerid,100);
    }
    if(Team[playerid] == TEAM_RED)
    {
        if(!IsPlayerXAdmin(playerid) || !IsPlayerVIP(playerid))
        {
            SetPlayerColor(playerid,RED);
        }
    }
    else
    {
        if(!IsPlayerXAdmin(playerid) || !IsPlayerVIP(playerid))
        {
            SetPlayerColor(playerid,BLUE);
        }
    }
    if(President[playerid] == 1)
    {
        SetPlayerColor(playerid,yellow);
    }
    else if((IsPlayerXAdmin(playerid) || IsPlayerVIP(playerid) && (President[playerid] == 0)))
    {
        SetPlayerColor(playerid,white);
   
    }
    else if((President[playerid] == 1) && (IsPlayerXAdmin(playerid) || IsPlayerVIP(playerid)))
    {
        SetPlayerColor(playerid,yellow);
    }
    return 1;
}
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)