SA-MP Forums Archive
TextDrawSetPreviewModel Problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: TextDrawSetPreviewModel Problem (/showthread.php?tid=630900)



TextDrawSetPreviewModel Problem - adri[4]Life - 19.03.2017

Hello Guys i was Working on a textdraw that shows the picture of M4 weapon When i tested it it works but i can only see the Half of the m4 ;c So i've tried it with the other weapons but the same you can only see the half of the weapon here is my code:
Код:
Textdraw15 = TextDrawCreate(105.752563, 180.999923, "_");
TextDrawFont(Textdraw15, TEXT_DRAW_FONT_MODEL_PREVIEW);
TextDrawTextSize(Textdraw15, 90, 90);
TextDrawSetPreviewModel(Textdraw15, 356);
TextDrawBackgroundColor(Textdraw15, 00);



Re: TextDrawSetPreviewModel Problem - Mencent - 20.03.2017

Hello!

I think you have to use a box and the box size to increase the weapon.
Try it. Maybe you can use an editor to create a preview model.
=> Editor: https://www.youtube.com/watch?v=EpC8BFg762A