Colour of Names help?!?!
#1

hey guys, thanks for viewing.

in my server, i want to make it so that when a civilian becomes a freecop, their name and map marker changes to blue, another example, a fireman goes on duty and their map marker and name becomes red. where should i be looking in the code to change this? im using raven if that makes it easier to answer, but in general it would be nice to know what code i need to change to do something like that. thanks all!

if this leads to a few people getting questions answered, a rep+ would be soo appreciated!!! thanks guys!
Reply
#2

https://sampwiki.blast.hk/wiki/SetPlayerColor
Reply
#3

SetPlayerColor(playerid, Color);

Colors..
#define White 0xFFFFFFFF
#define Black 0x000000FF
#define Grey 0x5C5C5CFF
#define Brown 0x430000FF
#define Red 0xFF0000FF
#define Orange 0xFF9900FF
#define Yellow 0xFFFF00FF
#define Green 0x00CC00FF
#define Blue 0x0033CCFF
#define Purple 0x660099FF

http://www.colorpicker.com/
To choose a color just find a good shade/hex then define it #define Color 0x//paste here and add FF at the end.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)