How to change colors in this code?
#5

Quote:
Originally Posted by M4D
Посмотреть сообщение
Код:
new string[256], Namee[24];
GetPlayerName(playerid, Namee, sizeof(Namee));
if(APlayerData[playerid][PlayerLevel] >= 1)
{
format(string, sizeof(string), "Admin %s is on Duty", Namee);
SendClientMessageToAll(-1, string);
}
Set your color instead of -1

example :
Yellow: 0xFFFF00FF

Код:
SendClientMessageToAll(0xFFFF00FF, string);
Edit: dominik523 sorry i didn't your reply when i was writing
but anyway we posted different ways
Thanks its working but i typed the color of red but it is still yellow . CAn you show me the red color please.
Reply


Messages In This Thread
How to change colors in this code? - by ultrAslan - 14.02.2015, 12:52
Re: How to change colors in this code? - by dominik523 - 14.02.2015, 12:57
Re: How to change colors in this code? - by M4D - 14.02.2015, 12:57
Re: How to change colors in this code? - by bigboy81 - 14.02.2015, 13:49
Re: How to change colors in this code? - by ultrAslan - 14.02.2015, 14:00
Re: How to change colors in this code? - by Airman123 - 14.02.2015, 14:08

Forum Jump:


Users browsing this thread: 1 Guest(s)