SA-MP Forums Archive
How is this thing called? - 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: How is this thing called? (/showthread.php?tid=595633)



How is this thing called? - iWhite - 05.12.2015

Hey.

How these lines are called in information labelling? And is this possible to make something similar in SA-MP?




I hope you now what I mean


Re: How is this thing called? - prineside - 05.12.2015

You may try to play with rotation of thin long model rendered inside textdraw.
PHP код:
new Text:textdraw TextDrawCreate(320.0240.0"_");
TextDrawFont(textdrawTEXT_DRAW_FONT_MODEL_PREVIEW);
TextDrawUseBox(textdraw1);
TextDrawBoxColor(textdraw0x000000FF);
TextDrawTextSize(textdraw40.040.0);
TextDrawSetPreviewModel(textdraw1212); // Replace 1212 with something thin and long
TextDrawSetPreviewRot(textdraw, -10.00.0, -20.01.0); // Change these values to rotate model 
Some thin long models:
http://*******/7fd2q6 ("cane gun")
http://*******/h8s30a ("pool cue")

By the way, SA-MP can change rendered model color but in different way. I don't know is it possible to make models white, but I'm sure you can make them black.