Name Tag
#1

Hello, i was checking a roleplayer server and i found this, can anyone help me to create like it please?

Note: Server based on Mysql
Reply
#2

Doesn't matter what the server is based on, that's just a SendClientMessage.



And if it's not a chat message, I'll advise you not to crop pretty much everything in the image out which will even show what it is you are asking about...
Reply
#3

They are Color Tags. Used like, for eg
Код:
 SendClientMessage(playerid, -1, "{000000}Hello.");//This will display Hello in Black. You can use HTML Color Pickers online to get exact color shades.
EDIT: Also, tell me what is Check, before the player's name? If its constant, you can use,

Код:
 SendClientMessageEx(playerid, COLOR_NAME, "(({COLOR_CODE}Check {COLOR_NAME_CODE} %s Says: %s",GetPlayerName(playerid), params); //replace COLOR_NAME with your color,  COLOR_CODE with the color you want Check to be displayed and replace COLOR_NAME_CODE to Color Code of the color you used as COLOR_NAME.
Код:
//How to get Color codes from name?
#define COLOR_RED (0xFF0000FF) //0xRRGGBBAA
#define COLOR_RED_CODE "FF0000" //RRGGBB
Reply
#4

Thanks guys, already solved
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)