MPK-MrPandaKing / vehiclehandler

FiveM vehicle collision/damage handling

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Main Banner

Features:

➢ Tire loss on impact
➢ Reduces torque based on current health
➢ Prevents crazy handling from low fuel
➢ Disables vehicle after heavy collisions
➢ Disables controls while airborne/flipped
➢ Repair/Wash item integration

Idle - 0.0ms
Driving - 0.0ms ~ 0.02ms

Dependencies:

ox_inventory:

    ["cleaningkit"] = {
        label = "Cleaning Kit",
        weight = 250,
        stack = true,
        close = true,
        description = "A microfiber cloth with some soap will let your car sparkle again!",
        client = {
            image = "cleaningkit.png",
        },
        server = {
            export = 'vehiclehandler.cleaningkit'
        }
    },

    ["repairkit"] = {
        label = "Repairkit",
        weight = 2500,
        stack = true,
        close = true,
        description = "A nice toolbox with stuff to repair your vehicle",
        client = {
            image = "repairkit.png",
        },
        server = {
            export = 'vehiclehandler.repairkit',
        }
    },

    ["advancedrepairkit"] = {
        label = "Advanced Repairkit",
        weight = 5000,
        stack = true,
        close = true,
        description = "A nice toolbox with stuff to repair your vehicle",
        client = {
            image = "advancedkit.png",
        },
        server = {
            export = 'vehiclehandler.advancedrepairkit',
        }
    },

About

FiveM vehicle collision/damage handling

License:GNU General Public License v3.0


Languages

Language:Lua 100.0%