20.05.2012, 06:33
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:
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:
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);
}
((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: