SA-MP Forums Archive
[FilterScript] SQLite License 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] SQLite License System (/showthread.php?tid=357888)



SQLite License System - Steven82 - 08.07.2012

SQLite License System v1.1

Requirements:

* SQLite Improved Include

* SSCANF Plugin

* ZCMD Include

* That you leave the credits in the script, they don't have to be shown in game. If you wish to do that, thank you.

* You do not re-release this without my permission. Do not mirror it to your website. I do not want mirrors. You may edit the script ALL you want, as long as the original credits are left inside.

Features:

* Has 4 different types of licenses. (Drivers, Boaters, Pilots, Weapons).

* The weapons license has not been fully coded in yet, if people like the script I'll continue development on it.

* You can change what license you want enabled and disabled by simply switching a "#define".

* You can change how the player acquires a license from either a (/buylicense) command or having an RCON admin assign it.

* You can change the prices of each license by just switching defines for each license.

* Everything is saved into 1 SQLite database. Players don't have to register, it auto registers them. Nor do they have to login.

* RCON admins may give licenses.

Known Bugs:

^ Issues with quarries not updating when supposed to(saving). Everything else works correctly.

Info:
This is my first release. Well it's not my first ever release, but my releases sucked so I am counting this as my first official release that is worth a damn. But it is, my first ever filterscript release. I decided to create a license filterscript just because all the ones that have been released are old, and because I am slightly bored on developing Pinewood. Well hope you all like it, and sorry for the very poor layout. Also, suggestions that I think can work with the filterscript while not getting out of hand on what it's supposed to do I might add it.

Credits:

* Steven82 (creating the entire script).
* Y_Less (sscanf)
* Zeex - zcmd include
* Slice - SQLite Improved
* Coole210 - His fork of the project + a little code.

Downloads:
My Website (.pwn, includes, plugin)
SQLite Browser (you need this for viewing the .db file).
Coole210's Fork Version (Pretty cool).
(I am not accepting mirrors, please don't ask.)