Roleplay faction colors
#1

Okey so i got this
Quote:

CMD:locker(playerid, params[])
{
new string[128];
if(!IsPlayerLoggedIn(playerid) || PlayerInfo[playerid][pAsshole] == 1) return SendClientMessage(playerid, COLOR_GREY, "You are not allowed to use command.");
if(IsACop(playerid))
{
if(!IsPlayerInRangeOfPoint(playerid, 2.2,256.2174,77.3295,1004.0344)) return SendClientMessage(playerid, COLOR_GREY, "You aren't near your locker.");
if(DayNoPD == 1) return SendClientMessage(playerid, COLOR_OOC, "You can't access your locker ((/day)).");
ShowDialog(playerid, 5);
}

So how can i make so when they go on duty they get the color blue on the TAB and in game
Reply
#2

I guess you posted wrong command?!

Anyways, go to the command that an admin goes on duty with and set their colour to blue:
pawn Код:
SetPlayerColor( playerid, 0x0000FFFF );
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)