Giter Site home page Giter Site logo

esx_repairkit's Introduction

esx_repairkit Release

RepairKit script for FiveM ESX servers - https://forum.cfx.re/t/fork-esx-esx-repairkit-repairkit-item-for-car/1133523

FEATURES

  • Repair Kit Item & Tyre Kit Item
  • Update Checker on resource start
  • More realistic since it needs you to be next to the engine or near the tyre to actually repair
  • It does not repair the visual aspect of the car, only the engine
  • Player can abort the repair by pressing "X"
  • Message if players attempt to repair the car and are not in front of the tyre or engine
  • French, English, Swedish language included

RepairKit & TyreKit easily configurable:

  • Config.InfiniteRepairs & Config.InfiniteRepairsTyreKit Toggle Infinite RepairKit & TyreKit (One Kit last forever)
  • Config.RepairTime & Config.TyreKitTime Set in seconds, how long should a repair take
  • Config.IfMecaIsOnline Toggle If Mechanic is online then players can't use the kit and need to call the Mechanic to fix it
  • Config.IgnoreAbort & Config.IgnoreTyreAbort Toggle Remove RepairKit & TyreKit if players abort the repair
  • Config.AllowMecano Toggle if Mechanic can use the RepairKit & TyreKit
  • Config.RealisticVehicleFailure If you're using Realistic Vehicle Failure then you can set it to true (Since “RealisticVehicleFailure” change how cars work, this config option allow to set the engine repair value lower than usual so the repaired vehicle is not indestructible)
  • Config.ExplosionChance The lower it is, the more it has a chance to make the engine fail and the car explode. (1 = 100%, 2 = 50%, 4 = 25%, 10 = 10%, 100 = 1%, etc) If you don't want this feature, set Config.ExplosionOnFailedRepair to false
  • Config.EnableProgressBar If you don't want a progress bar when your player use the item or you don't want to use any dependencies (progressBar) then set it to false

Some new features will be added soon: t̶i̶r̶e̶ ̶k̶i̶t̶,̶ ̶%̶ ̶f̶a̶i̶l̶u̶r̶e̶, can't be used again after X times, change key for cancelling the repair in config file, etc

KNOWN BUG :

  • If "Config.IfMecaIsOnline" is set to true then "Config.AllowMecano" won't work
  • Message can glitched and appear even if the items are used near engine or tyre

Preview: Coming Soon

Requirements

Optional but recommended

  • progressBar (Don't forget to rename this resource "progressBar" or it will not work)

Installation

Download the latest release and rename the folder to esx_repairkit.

Import esx_repairkit.sql to your database Drag the folder into your <server-data>/resources/[esx] folder and add this to your server.cfg

start esx_repairkit

esx_repairkit's People

Contributors

clementinise avatar elpumpo avatar jonteohr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.