SA-MP Forums Archive
hex codes - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: hex codes (/showthread.php?tid=334456)



hex codes - Meow™ - 14.04.2012

I Was wondering, how Can I use hex codes to change my ingame text colour ?,I Used to do It, but forgot how :/.


Re: hex codes - kikito - 14.04.2012

pawn Code:
{FF0000}Hello all!
If i'm not wrong on the color.
It should print: Hello all!


Re: hex codes - Ironboy - 14.04.2012

Hex colour code generator.


Re: hex codes - Meow™ - 14.04.2012

Didn't work IG :/


Re: hex codes - [MM]IKKE - 14.04.2012

You need to do that server-side. Clientside, it has protection against it. To prevent abuse (eg impersonating)


Re: hex codes - Meow™ - 14.04.2012

Meh, I remember doing It in the previous sa-mp version, I guess I can't anymore :/, this can be deleted or whatever. thanks for the help.


Re: hex codes - Joe Staff - 15.04.2012

You can actually script it to work for players if I recall.

pawn Code:
public OnPlayerText(playerid,text[])
{
    SendPlayerMessageToAll(playerid,text);
    return 0;
}

or something among those lines