Quantcast
Channel: SA-MP Forums - Filterscripts
Viewing all articles
Browse latest Browse all 595

[FilterScript] Jake's Vehicle System [for Stunt/Freeroam server] (MySQL R41-4)

$
0
0
Jake's Vehicle System (MySQL R41-4)


Hey! I am back with another release, and this time it's a vehicle system. It uses MySQL to save the data created by the player. The script is basically a vehicle system but built for Stunt/Freeroam Servers. The players can spawn any vehicles they want and those spawned vehicles get saved (including the modifications/tuning made in the vehicle) The only difference of this vehicle system from any other vehicle system out there is that it doesn't save position or you do not need to park it. You can just simply leave it where it was then you can call/spawn the vehicle with a command. You could also modify the plate of the vehicle (and it supports HEX code, putting a color into your numberplates!) The players can own up to 10 vehicles (changeable)


I would also like to thank my friend Jacob Black for helping me up beta testing this script on my free server-host, also thanks to sa-mp.me for providing me a free server-host (+ Free MySQL server with 25MB of storage)


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

COMMANDS




The colored texts are for RCON admins.


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

SCREENSHOTS







>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

DOWNLOAD


Solidfiles
Accepting mirrors, just PM me or post it down below


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

SETTING UP THE MYSQL DATABASE

The system is running on a MYSQL server, In order to setup the system you are required to at least learn the basic sets on setting up a MySQL server on your localhost (downloading XAMPP/WAMP, your own preference) A tutorial on how to setup a MySQL server on your localhost can be found here (Credits to RIDE2DAY)

First of all, Head over to your phpMyAdmin localhost (or if you are running a live-server, to your server-host's phpMyAdmin).

You would then need to create a database name "vehiclesys", once created make sure that you have selected or opened the database.

Export the files from vehicles.rar into your server's root folder.

Head over to import and select the vehicles.sql (Click Choose File and locate the vehicles.sql)

Hit "Go" and it should import the table "vehicles" into your database.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

SETTING UP THE SCRIPT TO THE SERVER

Once you have export the files to your server's root folder, There should be a vehicle.pwn in your filterscript folder. The required includes and plugins should be inside your server's folder.

Open vehicle.pwn and recompile the script (Press F5)

Head over to server.cfg and open it

Make sure over the filterscript line that vehicle is included

Edit the plugins line and make sure that it includes the following include: mysql sscanf streamer or mysql.so sscanf.so stramer.so (Linux)

Once you have done those steps, you are good to go to run the server with the script running.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

CONS

  • The Side Kirts doesn't save.
  • When changing number-plates, the vehicle gets respawned back to where it was originally spawned (if already spawned by the owner by the time they changed the plate, This can be a little bit annoying to the driver of the vehicle/passenger)

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

BUGS

None.

If you have found one, please make sure to PM me or post down below.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Viewing all articles
Browse latest Browse all 595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>