Model preview Textdraw
#1

Hi, can I make that black box around the Infernus transparent? I want to see just the model, not the black box

Reply
#2

Set the color transparency to 00, for example:

pawn Code:
TextDrawColor(MyTextdraw, 0x00000000);
Reply
#3

I got this code
pawn Code:
VSelect[playerid] = TextDrawCreate(270.00, 180.00, "_");
    TextDrawFont(VSelect[playerid], TEXT_DRAW_FONT_MODEL_PREVIEW);
    TextDrawUseBox(VSelect[playerid], false);
    //TextDrawBoxColor(VSelect[playerid], 0x00000000);
    TextDrawTextSize(VSelect[playerid], 100.0, 100.0);
    TextDrawSetPreviewRot(VSelect[playerid], -10.0, 0.0, -20.0, 1.0);
But still the box around it is black, what should i do?
Reply
#4

Someone?
Reply
#5

pawn Code:
//TextDrawBoxColor(VSelect[playerid], 0x00000000);
Uncomment that line
Reply
#6

Try this
pawn Code:
VSelect[playerid] = TextDrawCreate(270.00, 180.00, "_");
        TextDrawFont(VSelect[playerid], TEXT_DRAW_FONT_MODEL_PREVIEW);
        TextDrawBackgroundColor(VSelect[playerid], 0);
        TextDrawUseBox(VSelect[playerid], true);
        TextDrawBoxColor(VSelect[playerid], 0);
        TextDrawTextSize(VSelect[playerid], 100.0, 100.0);
        TextDrawSetPreviewRot(VSelect[playerid], -10.0, 0.0, -20.0, 1.0);
Reply
#7

Still black...please help I will +rep i need to solve this..
Reply
#8

Actually the code I gave you works perfectly for me, I just missed something when I gave it to you. Please retry it.
Reply
#9

Works now, thx, +repped
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)