12.09.2008, 19:41
Lords Cars Filterscript
I saw a thread in the Scripting discussion talking about a car system that saves vehicle components along with many other things, this sounded so close to the system that I have already created for my RP script that I am developing right now... So, I figure, save him the effort of figuring out everything in the system when I already got it... and since he was gonna release his to the public, I might as well also.
Heres some features...
~Easy to deal with cars (/createcar, /editcar, /deletecar, /park)
~Component saving(all components added with command will save)
~No coding for car spawns! Say goodbye to AddStaticVehicle(Ex) just create your car, then /park and its there for good.
~Possible for cars having components that are not in singleplayer or allowed in mod shops... Careful of crashes tho... they make it so you have to go into the car file and remove the component manually or remove the file alltogether.
~Custom car names. (easy to change to your own!)
~Current VehicleId detection
~Fuel System
~Buyable cars (changeable with /editcar)
~Editable max hp on cars (changeable with /editcar)
~Editiable max gas tank (changeable with /editcar)
~Car Locking
~Car Insurance stat (not used, but good for modding)
~Custom Values (changeable with /editcar)
Credits:
~lrp.inc - .inc file compiled by me, but credits for other peoples work inside file.
~lordscars.pwn - split and strtok were taken from the godfather script. Not sure if it was theirs, but that is where I found it. Everything else is all my work.
~All mirror links welcome
Download:
mediafire: all
mediafire: lordscars.amx
mediafire: lrp.inc
pastebin: lordscars.pwn
pastebin: lrp.inc
Important!!!
you need to create a folder called "cars" in your scriptfiles folder.
Screenshots
Cars made with my system
[img width=499 height=400]http://lordsrp.ulmb.com/images/ss1.png[/img]
How easy it is... Sorry for the low quality on the gif...
[img width=499 height=400]http://lordsrp.ulmb.com/images/ss3.gif[/img]
That spoiler isnt modable in shops!
[img width=499 height=400]http://lordsrp.ulmb.com/images/ss4.png[/img]
Custom car names
[img width=499 height=400]http://lordsrp.ulmb.com/images/ss8.png[/img]
I saw a thread in the Scripting discussion talking about a car system that saves vehicle components along with many other things, this sounded so close to the system that I have already created for my RP script that I am developing right now... So, I figure, save him the effort of figuring out everything in the system when I already got it... and since he was gonna release his to the public, I might as well also.
Heres some features...
~Easy to deal with cars (/createcar, /editcar, /deletecar, /park)
~Component saving(all components added with command will save)
~No coding for car spawns! Say goodbye to AddStaticVehicle(Ex) just create your car, then /park and its there for good.
~Possible for cars having components that are not in singleplayer or allowed in mod shops... Careful of crashes tho... they make it so you have to go into the car file and remove the component manually or remove the file alltogether.
~Custom car names. (easy to change to your own!)
~Current VehicleId detection
~Fuel System
~Buyable cars (changeable with /editcar)
~Editable max hp on cars (changeable with /editcar)
~Editiable max gas tank (changeable with /editcar)
~Car Locking
~Car Insurance stat (not used, but good for modding)
~Custom Values (changeable with /editcar)
Credits:
~lrp.inc - .inc file compiled by me, but credits for other peoples work inside file.
~lordscars.pwn - split and strtok were taken from the godfather script. Not sure if it was theirs, but that is where I found it. Everything else is all my work.
~All mirror links welcome
Download:
mediafire: all
mediafire: lordscars.amx
mediafire: lrp.inc
pastebin: lordscars.pwn
pastebin: lrp.inc
Important!!!
you need to create a folder called "cars" in your scriptfiles folder.
Screenshots
Cars made with my system
[img width=499 height=400]http://lordsrp.ulmb.com/images/ss1.png[/img]
How easy it is... Sorry for the low quality on the gif...
[img width=499 height=400]http://lordsrp.ulmb.com/images/ss3.gif[/img]
That spoiler isnt modable in shops!
[img width=499 height=400]http://lordsrp.ulmb.com/images/ss4.png[/img]
Custom car names
[img width=499 height=400]http://lordsrp.ulmb.com/images/ss8.png[/img]