Color in Dialog Buttons. - 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: Color in Dialog Buttons. (
/showthread.php?tid=216558)
Color in Dialog Buttons. -
PeteShag - 25.01.2011
Colors in Dialog Buttons. Is it possible?
I have this code:
pawn Код:
format(string, sizeof(string), "{FFFFFF}Welcome {FF0000}%s {FFFFFF}to {FF0000}Breakdown Roleplay{FFFFFF}\n\nYou're marked as a user, please type in your password in the form box.",
GetUserName(playerid));
SetPlayerCameraPos(playerid, 2142.9851,-1649.8965,106.1715);
SetPlayerCameraLookAt(playerid, 1608.7061,-1271.7483,281.8358);
SetPlayerPos(playerid, 0, 0 ,0);
TimerData[CharacterTimer][playerid] = SetTimerEx("ChangeCameraPosEx", CHARACTER_TIMER_UPDATE, 1, "d", playerid);
ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_INPUT,"{FF0000}L{FFFFFF}ogin",string,"{FF0000}L{FFFFFF}ogin","{FF0000}C{FFFFFF}ancel");
and the result is this:
Am I doing some mistake, or it's just impossible?
Cheers.
Re: Color in Dialog Buttons. -
Krx17 - 25.01.2011
You can't do it in buttons. Only the text.
Re: Color in Dialog Buttons. -
PeteShag - 25.01.2011
Quote:
Originally Posted by Krx17
You can't do it in buttons. Only the text.
|
Ah..
Alright, cheers.