[Paid] CoDev Advanced Vehicle System - Ignition - Mileage - Engine Damage based on Mileage

A script by hypr9xa

No reviews yet.
[Paid] CoDev Advanced Vehicle System - Ignition - Mileage - Engine Damage based on Mileage main image

Full Description

Welcome to the first release from the CoDev Team formed by @hypr9xa and @Jordanpkl .

This first 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:

  1. Players will have to turn in the key to put the vehicle in ignition state pressing G.
  2. Players will then be able to start the car holding G.

RP Possibilities:

  • 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.

Features:

  • 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.

Vote on next updates: [Paid] CoDev Advanced Vehicle System - Ignition - Mileage - Engine Damage based on Mileage - #14 by hypr9xa

Updates

03/01/2021 - v 1.1
This new update includes the following changes to client side:
Fixes

  • Fixes engine stopping when entering a vehicle that already had the engine on.
  • Fixes notification being shown for a second when entering a vehicle with engine already on.
  • Fixes vehicle data not being sent to server from client side when switching vehicles too quick.

Added

  • Added cl_config.lua which allows customisation of the following:
  • Key for starting/stopping and ignition.
  • Text shown in notification.
  • Damage system calculated options from 0 to whatever you feel like adding.
  • Ownership system, built in server event that can be called from external resources like a vehicle shop and when called it sets the owner in the database so the car can only be used by him.
  • Added sv_config.lua which allows customisation of identifiers used by your vehicle shop resource or vehicle ownership system.

ESX Version Released

  • Now there’s an ESX version released which works with most vehicle shops based on ESX.
  • Includes a key lock system to lock your vehicle doors persistently.
  • Includes an event to check if vehicle is locked so you can use it on most trunk inventory systems for more security.

Video previews:

Old car ignition and start: Watch old_car_start_2 | Streamable
New car ignition and start/lights showcase: Watch start_trailer_high_end_car | Streamable
Engine damage and start fix: Watch fix_engine_and_start | Streamable

Requirements: [Release] MySQL Async Library - 3.3.2

TOS:

  • Do not resell this script.
    * Do not attempt to break its license system.
    * Do not attempt to exploit its verification system.

Warning: This script comes with an API verification through tebex database server and verifies your IP server automatically on first run and once it’s been ran on that server you’ll have to PM me here to release the license for another IP, details are inside the readme.txt
The code is now completely open for purchasers to see and modify, but still rest of TOS apply.

Buy now - (24.75€ Without VAT): https://codev.tebex.io/package/4238821

Code is accessible Yes
Subscription-based No
Lines (approximately) 1000
Requirements mysql-async
Support No