SA-MP Forums Archive
Is it possible with mSelection? - 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: Is it possible with mSelection? (/showthread.php?tid=645405)



Is it possible with mSelection? - Wayzzar - 26.11.2017

Is it possible that with the include mSelection you can get the number of the box that the user selected? I explain: instead of getting the "modelid", I want to get the id from the box that a player selects. That is, if there are 5 options of cars to buy in a ModelMenu and select the first car, give me the id 1. I appreciate an answer, greetings.


Re: Is it possible with mSelection? - RedFusion - 26.11.2017

Ofcourse it's possible, just open up mSelection and start editing it


Re: Is it possible with mSelection? - Wayzzar - 26.11.2017

Quote:
Originally Posted by RedFusion
Посмотреть сообщение
Ofcourse it's possible, just open up mSelection and start editing it
As I do?


Re: Is it possible with mSelection? - Wayzzar - 27.11.2017

help me
how do I do that by selecting an item in mSelection I can get the id from the list of items and not the id of the object?


Re: Is it possible with mSelection? - 10MIN - 27.11.2017

The mSelection topic contains an example that shows you something usefull for this...

https://sampforum.blast.hk/showthread.php?tid=407045 - mSelection