Single vehicle
#1

How do I create a list of vehicles and pressing a button will only create these vehicles? For example, only sports cars, I see a sultan, after I see a zr, after I see a tourist and I do not see the other machine types, how do I?
Reply
#2

You can use mSelection

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

Create a file.txt inside your scriptfiles folder and edit it to match the vehicles you want. Then call for the file with
Quote:

LoadModelSelectionMenu(f_name[])

More info in the link.
Reply
#3

And for a price of vehicle?
Reply
#4

You can manage that under OnPlayerModelSelection(playerid, response, listid, modelid);
Reply
#5

OK, thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)