(Strings) How to color sections of the string
#4

pawn Код:
format(string, sizeof(string), "AdmCmd: %s {FFFFFF}has {FF0000}issued a Server Restart, {00FF00}it will occur in 30 seconds. Be sure to /park your vehicle(s)!", RPN(playerid));
SendClientMessageToAll(COLOR_LIGHTRED, string);
Just use it, like when you're using SendClientMessage.
Note: If you want to use a GameTextForPlayer you must use:
~g~, ~r~ ...etc
Reply


Messages In This Thread
(Strings) How to color sections of the string - by Th3b3ast5 - 10.06.2013, 17:45
Respuesta: (Strings) How to color sections of the string - by Parka - 10.06.2013, 17:58
Re: (Strings) How to color sections of the string - by Th3b3ast5 - 10.06.2013, 18:11
Re: (Strings) How to color sections of the string - by DeMoX - 10.06.2013, 18:21
Re: (Strings) How to color sections of the string - by Pooh7 - 10.06.2013, 18:21

Forum Jump:


Users browsing this thread: 2 Guest(s)