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
#2

You can't do it in buttons. Only the text.
Reply
#3

Quote:
Originally Posted by Krx17
Посмотреть сообщение
You can't do it in buttons. Only the text.
Ah..
Alright, cheers.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)