OOC Color HELP!
#3

https://sampwiki.blast.hk/wiki/Color_Embedding
I'm not sure, but i think the OOCOff function using SendClientMessage? if so then use that method (Color embedding)
example:
pawn Код:
else if(PlayerInfo[playerid][pAdmin] == 99999)
    {
        new string[128];
        format(string, sizeof(string), "(( {FF0000}Executive Director{FFFFFF} %s:- %s ))", GetPlayerNameEx(playerid), params);
        OOCOff(COLOR_REALRED,string);
    }
the {FF0000} is bright red, and the {FFFFFF} is white.. so it will looks like:
((Executive Director Name:- params))
Note: the first double brackets "((" will use the default color you set from the OOCOff (COLOR_REALRED)
also note that this color embedding only works in 0.3c +
hope it helps
EDIT: i've click "preview" button many times, but when i click "post" button someone already answered D:
Reply


Messages In This Thread
OOC Color HELP! - by Evation - 20.05.2012, 06:16
Re: OOC Color HELP! - by ReneG - 20.05.2012, 06:33
Re: OOC Color HELP! - by RoboN1X - 20.05.2012, 06:33
Re: OOC Color HELP! - by Evation - 20.05.2012, 08:14

Forum Jump:


Users browsing this thread: 1 Guest(s)