Color in Dialog Buttons.
#1

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.
Reply


Messages In This Thread
Color in Dialog Buttons. - by PeteShag - 25.01.2011, 21:26
Re: Color in Dialog Buttons. - by Krx17 - 25.01.2011, 21:30
Re: Color in Dialog Buttons. - by PeteShag - 25.01.2011, 21:33

Forum Jump:


Users browsing this thread: 2 Guest(s)