Author
|
Message
|
Junior Member
|
05-13-2024
, 22:40
Some questions about color codes
|
#1
|
I want to change the colors in this code, I think it's hexadecimal, but I don't understand x04, x07, what are they again? I tried to change the color but it didn't work, can someone explain it for me?
users[client].exper_num = userEx - (lv * 10);
PrintToChatAll("\x04 players \x07FF0000%s \x04 Level up %d", users[client].user_name, users[client].l_v_num);
}else{
users[client].exper_num = userEx;
if(value>0){
PrintToChat(client,"\x04[Lv]: \x07FF0000%d | \x04 EXP: %d | \x04 EXP: +%d", users[client].l_v_num, users[client].exper_num,value);
}else{
PrintToChat(client,"\x04[Lv]: \x07FF0000%d | \x04 EXP: %d | \x04 EXP: %d", users[client].l_v_num, users[client].exper_num,value);
}
|
|
|
|