PlayerTextDrawSetPreviewModel unwanted box
#1

Hey,

I have an extremely annoying problem at my preview textdraws. When I create them, before they actually appear, a black box is shown instead (even if the box background is transparent). However, shortly after that, the black box dissappears.

You can see an example right here: (Watch from 0:06 - right before the textdraw actually appears, you can see a black box at the top-left)
https://www.youtube.com/watch?v=pk9S4QWakHo

How can I avoid that annoying box?
Reply
#2

Turn your box alpha off 0x00000000
Reply
#3

Okay, did this:

pawn Код:
PlayerTextDrawBackgroundColor(playerid, text[playerid], 0x00000000);
Doesn't work.
Reply
#4

https://sampwiki.blast.hk/wiki/PlayerTextDrawBoxColor
Reply
#5

Alternatively, try this:

pawn Код:
PlayerTextDrawBackgroundColor(playerid, text[playerid], 0);
Reply
#6

Worked like a charm, Pottus. Thanks a lot!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)