mSelect with text - 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: mSelect with text (
/showthread.php?tid=611596)
mSelect with text -
Jonesy96 - 08.07.2016
Hi all,
I am currently using mSelect (
https://sampforum.blast.hk/showthread.php?tid=407045) to dislay all the vehicles in a dealership. I want the vehicle name and price to display with the model in each both for each vehicle.
How do i go about adding the price and name of the vehicle to the mSelect. I have the price and name stored in an enum already, I simply need to know how to display text on each vehicle option within the mSelect. I've been looking all over but found nothing!
Hope this makes sense, thanks.
Re: mSelect with text -
Jonesy96 - 08.07.2016
Is there a different include I need to use, or will I need to use textdraws. If textdraws, could you possibly show me a good tutorial, as I am yet to use them. Thanks
Re: mSelect with text -
Gammix - 08.07.2016
https://sampforum.blast.hk/showthread.php?tid=570213
Otherwise you have to edit mSelection and add textdraws for labels (a similar way how you create model previews).
Re: mSelect with text -
Jonesy96 - 09.07.2016
Hi, thanks for your help.
I'm trying to edit mSelection to allow me to pass through the item names to it, so they can also be displayed. I can't seem to find any help on this though.
Re: mSelect with text -
Jonesy96 - 09.07.2016
Any help would be appreciated?
Re: mSelect with text -
PrO.GameR - 09.07.2016
First you need to add a 2D array parameter to it to hold names for each and every one of those then you need to find a place to show them, then you would show the names the same way it shows textdraw models.