SA-MP Forums Archive
Input dialog with RGB color - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Input dialog with RGB color (/showthread.php?tid=234436)



Input dialog with RGB color - k3nw00d_kri5ty - 03.03.2011

Hi all

How i cand make when an player write an command and shows an input dialog where i cand write a custom 'RGB' color and switch my color in what i writed in input dialog.

'I do not know well English'


Re: Input dialog with RGB color - Mean - 03.03.2011

Can't you do for example:
pawn Код:
{AAAAAA}
for a color?
Just like in SendClientMessage:
pawn Код:
SendClientMessage( playerid, 0xFFFFFF, "This is diffrent than {AAAAAA}this" );



Re: Input dialog with RGB color - k3nw00d_kri5ty - 03.03.2011

So... when i type that command: /color
Will shows a input dialog what i will enter an RGB color and this RHB color will sets to my color (at TAB).