SA-MP Forums Archive
Creating a Car Shop - 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: Creating a Car Shop (/showthread.php?tid=460208)



Creating a Car Shop - julius013 - 27.08.2013

Hello, I want to make a car shop in the "Wang Cars" building. Though I have no idea from where to start. I've made a Car Shop icon on the map. Details:

1. In the Wang Cars building, there will be a dollar icon and when go to it, the menu appears.
2. There will be categories: (Each car will have a different price written)
Classic
City
Sports
Exotic
Special
Off-road
3. When you buy it, the car will appear in the parking lot near the building.
4. You can lock your car (/lock /unlock)
5. You can sell it (don't know how yet )
6. And importantly, the cars are automatically saved, so when you quit the game and enter it again, cars will remain yours.

So, I know this is probably difficult, but give me some info to do it.

Thanks in advance,
Julius


Re: Creating a Car Shop - DanishHaq - 27.08.2013

Hi, for this, it's quite complicated. I have one at home that I did before, all you'd have to do is change some of the coordinates to your own. I'll send it to you when I'm home for free because I have nothing to do with it anymore, was for a friend, but he closed his server down.

It's a system where you type /buyvehicle, and then a dialog appears as a list that you can use to select a vehicle. I'll be home in about 6-7 hours, send me a pm if you're interested.