OOC Problem.
#1

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.
Reply
#2

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)