SA-MP Forums Archive
SA:MP Dealership System - 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: SA:MP Dealership System (/showthread.php?tid=548464)



SA:MP Dealership System - danielpalade - 29.11.2014

Sup all! My friend gave me a gamemode he made but there is no dealership system in it.
My question is, how do i make one.. I have tried for hours to find a good tutorial but i couldn't find any.
Do you have any good tutorials on how to make one please let me know.


Re: SA:MP Dealership System - Abagail - 30.11.2014

You can use enumerators to store it's data along with a data system such as MySQL to save the dealership data. You then can use a command processor such as ZCMD to make commands such as /dsinfo, and /buycar. It's really
not a hard thing to do. You can find example scripts below,
https://sampforum.blast.hk/showthread.php?tid=299738
https://sampforum.blast.hk/showthread.php?tid=518564


Re: SA:MP Dealership System - Aerotactics - 30.11.2014

Quote:
Originally Posted by Abagail
Посмотреть сообщение
You can use enumerators to store it's data along with a data system such as MySQL to save the dealership data. You then can use a command processor such as ZCMD to make commands such as /dsinfo, and /buycar. It's really
not a hard thing to do. You can find example scripts below,
https://sampforum.blast.hk/showthread.php?tid=299738
https://sampforum.blast.hk/showthread.php?tid=518564
Although, I would highly recommend using enumerators instead of MySQL, because MySQL was not made for people new to Pawn (it was made by aliens).