The dialog - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: The dialog (
/showthread.php?tid=359911)
The dialog -
Zex Tan - 15.07.2012
Is there any tutorial about the dialog colors like the link below ?
http://imgur.com/a/vvKgv#0
Re: The dialog -
GSRP - 15.07.2012
Lol. PA-RP. And I saw you in the teamspeak not too long ago. :P
Actually, that is not a dialog. All you must do is define the color with the raw hex, like this:
pawn Код:
#define COL_RED "{A80000}"
Then, in the message you are sending, you do this, as an example:
pawn Код:
format(string, sizeof(string), ""COL_ORANGE"** Helping Hand ** "COL_BLUE"%s - "COL_GREEN"ON DUTY", GetPlayerNameEx(playerid)); // Given they are on duty, otherwise the "ON DUTY" wouldn't be there.
SendClientMessage(playerid, -1, string);
Re: The dialog -
Zex Tan - 16.07.2012
THANKS Alot