"Gray box" with text?
#3

Thank you, that's correct!
I tried to make it to a box, but it looks like this (the long, gray line):


How can I make it like the red box?
pawn Код:
public OnGameModeInit()
{
    // Don't use these lines if it's a filterscript
    SetGameModeText("Blank Script");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    statsbox = TextDrawCreate(1.000000,200.000000,"Stats");
    TextDrawFont(statsbox,1);
    TextDrawColor(statsbox,0xFFFFFFAA);
    TextDrawLetterSize(statsbox,0.599999,1.000000);
    TextDrawSetOutline(statsbox,0);
    TextDrawSetShadow(statsbox,0);
    TextDrawSetProportional(statsbox,1);
    TextDrawBackgroundColor(statsbox,0x000000ff);
    TextDrawUseBox(statsbox,1);
    TextDrawBoxColor(statsbox,0xAFAFAFAA);
    TextDrawAlignment(statsbox,1);
    return 1;
}
Reply


Messages In This Thread
"Gray box" with text? - by Anarkien - 18.07.2009, 13:26
Re: "Gray box" with text? - by Correlli - 18.07.2009, 13:48
Re: "Gray box" with text? - by Anarkien - 18.07.2009, 14:12
Re: "Gray box" with text? - by Correlli - 18.07.2009, 14:22
Re: "Gray box" with text? - by Anarkien - 18.07.2009, 15:13
Re: "Gray box" with text? - by Serediucr - 18.07.2009, 15:22
Re: "Gray box" with text? - by Anarkien - 18.07.2009, 15:22
Re: "Gray box" with text? - by Correlli - 18.07.2009, 15:24

Forum Jump:


Users browsing this thread: 2 Guest(s)