28.08.2011, 18:53
or simply add another statement:
i like it to keep things simple
pawn Код:
if(President[playerid] == 1)
{
SetPlayerColor(playerid,yellow);
}
if(IsPlayerXAdmin(playerid) || IsPlayerVIP(playerid))
{
SetPlayerColor(playerid,white);
}
if(President[playerid] == 1 && IsPlayerXAdmin(playerid))//if u are admin and president
{
SetPlayerColor(playerid,yellow);
}