SA-MP Forums Archive
How to add TextDraw as variable. - 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 to add TextDraw as variable. (/showthread.php?tid=612858)



How to add TextDraw as variable. - Maheerali - 22.07.2016

I had made a simple box with 3 option to Buy
1. Vehicle Repair 1300
2. Instafix 4400
3. Nitro x10 1800

I want to show this box on command /vehshop
Please Help


Re: How to add TextDraw as variable. - Alpay0098 - 22.07.2016

Dude you can use Dialogs instead of TextDraws.
But, If you wanna do that you can use these functions:
1. TextDrawSetSelectable(TextDraw, 1);
2. https://sampwiki.blast.hk/wiki/OnPlayerClickTextDraw