Aduty with colors
#1

Hello, I have asked alot of people about this but I am trying to do aduty colors..

ex. A admin is now (the color green for On-duty) [ON-DUTY] OFF-DUTY
ex. A admin is now (the color red for Off-duty) ON-DUTY [OFF-DUTY]
Reply
#2

You want to colour the write "Admin is now etc..." or the Admin name?
Reply
#3

Now The line for a admin is now on duty! to be white but I want on-duty to be green and off-duty to be red
Reply
#4

pawn Код:
// /aduty cmd
    //detect if is admins
        // detect if he isn't in /aduty
            SetPlayerColor(playerid, GREEN);
        // he is in aduty, so send him a message to said him to /off duty
    // he is not a admins, send message to said him he can't..
// return 1;
I don't do the code for you, but I do a example who will help you. It's same for /offduty but change GREEN to RED.
Reply
#5

Try this:
pawn Код:
"A admin is now {4FFA2D}[ON-DUTY] {FFFFFF}OFF-DUTY"
//Or
"A admin is now {FFFFFF}ON-DUTY {FF0000}[OFF-DUTY]"
Reply
#6

Thanks it worked
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)