Remove the black box from a text draw
#1

Well, This code down here will show the following

PHP код:
    Textdraw0 TextDrawCreate(20.000000135.000000"_");
    
TextDrawFont(Textdraw0TEXT_DRAW_FONT_MODEL_PREVIEW);
    
TextDrawUseBox(Textdraw01);
    
TextDrawBoxColor(Textdraw00xFFFFFF);
    
TextDrawTextSize(Textdraw040.040.0);
    
TextDrawSetPreviewModel(Textdraw0123);
    
TextDrawShowForPlayer(playeridTextdraw0); 
Picture:


Is there a way to hide the black box and keep only the skin? Or make it a bit transparent?
Reply
#2

I never had that black box while using "PlayerTextDraw" idk about normal textdraw.
Reply
#3

Well, This was kinda stupid but yeah, I had to set the back-ground color.

PHP код:
TextDrawBackgroundColor(Textdraw00xFFFFFF00); 
Will remove the black color and keep only the skin.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)