OOC Problem. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: OOC Problem. (
/showthread.php?tid=445061)
OOC Problem. -
kosa451 - 19.06.2013
This is the code
Код:
else if(PlayerInfo[playerid][pAdmin] >= 99999)
{
new string[128];
format(string, sizeof(string), "(( {0xff0000FF} Server Owner {0xffffffFF} %s: %s ))", GetPlayerNameEx(playerid), params);
OOCOff(COLOR_OOC,string);
}
And when i use /o It is not Colored Name i just see the {0xff0000FF} Stuff.
Re: OOC Problem. -
MP2 - 19.06.2013
Remove the 0x prefix and the FF at the end. The 0x prefix is only used in pawn to flag the preceding value as a hex value. The FF is alpha, which isn't supported in embedded colours.