[FilterScript] Simple Car Creation [SQLite] - 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] Simple Car Creation [SQLite] (
/showthread.php?tid=495888)
Simple Car Creation [SQLite] -
bensmart469 - 19.02.2014
I have made a very simple car creation system for anyone that may use it. You could use this to be able to make cars in-game, instead of having to /save the position, then put that into your script. It uses SSCANF and zcmd, so make sure that you have both of these includes before using the script. It has two simple commands:
- /createveh <model> <color 1> <color 2>
- /deleteveh <id>
The script uses SQLite for saving and loading, so you will also need a file called 'db' with the .db extension in your scriptfiles folder, otherwise it will not work correctly. Anyone is free to use this system, but please do not claim that it is your own work.
Credits:- bensmart469 - script
- ****** - Sscanf
- Zeex - ZCMD
Image(s):
http://i.imgur.com/bZuY9db.jpg
Pastebin:
http://pastebin.com/57p3kMd5
Database:
http://www.mediafire.com/?6c18w0jl74ey4ct
Thank you for viewing this, and please leave your opinion. I may work on it a bit more, just depends on what people want. Please report any issues ASAP, although i have been testing this out, so there should not be any issues.
Re: Simple Car Creation [SQLite] -
Alex MagaŃa - 19.02.2014
Simple Cool
great job!
Re: Simple Car Creation [SQLite] -
bensmart469 - 19.02.2014
Issue with the image fixed, topic updated with credits.
Re: Simple Car Creation [SQLite] -
BroZeus - 20.02.2014
Cool!
and just for note you should also add Zeex for ZCMD in your credits
Re: Simple Car Creation [SQLite] -
bensmart469 - 20.02.2014
Forgot those credits, the topic has been updated, adding credits to 'Zeex' for the ZCMD include now.
Re: Simple Car Creation [SQLite] -
Tuntun - 20.02.2014
Nice and simple script. :P Could you add the .db file in the download link with the filterscript? I am too lazy..
Re: Simple Car Creation [SQLite] -
bensmart469 - 20.02.2014
Added, here it is anyway:
http://www.mediafire.com/?6c18w0jl74ey4ct
Re: Simple Car Creation [SQLite] -
Clad - 20.02.2014
Well done.
Re: Simple Car Creation [SQLite] -
SeeD - 18.05.2018
Simple and nice good!