[FilterScript] Dynamic Car Saving System [BASIC]
#1

Dynamic Car Saving System [BASIC]
Introduction

This is a SQLite based Dynamic Car System, which allows you to save the server cars from game rather than using AddPlayerStaticVehicle function inside the script. Which is not very much efficient than the one I've created. This is a basic script therefore doesn't have too many options such as deleting the created vehicle and rest, but I'll keep updating the script to the latest.

Instructions

This filterscript is basically pretty easy to plug into the gamemode, it follows the exact same procedure as all other filterscripts but you have to change few things inside the script.

1. Download the .pwn & .amx file and download into the filterscripts folder.
2. Open the script and edit the following to your settings.

USER_DB: Change it to your SQLite database.
MAX_VEHICLES: Change it to the maximum number of vehicles you want in the server.

3. That's basically it. You're good to go.
Commands

1. /saveveh

Credits

Tayab Soomro: Developing the script
******: SSCANF
Don't know: ZCMD
Don't know: SQLite

Updates

- Added /deleteveh command which allows you to delete the vehicle from the server.
- Now you can get the name of the car by the ID /vehname.
- Some minor changes throughout the script.

Download

http://pastebin.com/6H7j7bQC

~ You can do whatever you want with the script. You can also remove the credits.
Reply


Messages In This Thread
Dynamic Car Saving System [BASIC] - by Tayab - 19.12.2013, 05:15
Re: Dynamic Car Saving System [BASIC] - by Gen3i - 19.12.2013, 05:18
Re: Dynamic Car Saving System [BASIC] - by FoxGaming - 19.12.2013, 10:36
Re: Dynamic Car Saving System [BASIC] - by FoxGaming - 19.12.2013, 10:53
Re: Dynamic Car Saving System [BASIC] - by Tayab - 19.12.2013, 14:23
Re: Dynamic Car Saving System [BASIC] - by FoxGaming - 19.12.2013, 14:26
Re: Dynamic Car Saving System [BASIC] - by Tayab - 24.12.2013, 17:01

Forum Jump:


Users browsing this thread: 1 Guest(s)