This script is roleplay focused and introduces the possibility of adding value to your player’s vehicles aswell as adding degradation thus making it important to buy new vehicles.
How to start a car:
- Players will have to turn in the key to put the vehicle in ignition state pressing G.
- Players will then be able to start the car holding G.
· New vehicles will be more important because of their fast engine start.
· Second hand vehicles, or used vehicles will lose value even if modded because of a slower engine start or engine damage based on mileage and no maintenance.
· Mechanics will be able to do maintenance to used vehicles in order to keep their engine start time and engine damage low.
· Non repaired vehicles will take MUCH more to start their engine and will give cops a higher possibility of catching robbers.
· Vehicles can be set as player owned using a TriggerServerEvent which can be called from any vehicle shop.
· Vehicle damage per mileage and start engine degradation is customizable by the server owner.
· Mechanics can fix vehicles using a command which requires an Ace Permission in order to be used.
- Car ignition and start/lights showcase: start_trailer_high_end_car
- Engine damage and start fix: fix_engine_and_start
Requirements: [Release] MySQL Async Library – 3.3.