Hydraulics detection

Decide which vehicles can use hydraulics.

The detection system decides if a vehicle is hydraulics-enabled.

Config.HydraulicsDetection = {
    RequireHydraulicsForUI = true,
    useModSlot38 = true,
    useModelWhitelist = true,
    modelWhitelist = { ... },
    itemWhitelist = { ... },
    useDatabaseCheck = true,
}

Priority order

  1. useModSlot38: GTA V lowrider mod slot 38

  2. useModelWhitelist: vehicle model is whitelisted

  3. itemWhitelist: player has an allowed item

  4. useDatabaseCheck: check DB for stored installations

Mod slot 38

useModSlot38 = true

Use this for vanilla Benny’s lowriders. Disable it for custom vehicles without slot 38.

Vehicle mods reference: https://docs.fivem.net/docs/game-references/vehicle-mods/

Model whitelist

Add custom vehicles by spawn name:

Item whitelist

This makes hydraulics portable. The item is not consumed.

Database check

Enable this only if you save installations in a DB. Disable it for simple whitelist-only setups.

UI requirement

  • true: UI only appears on supported vehicles.

  • false: UI appears everywhere, but won’t work without detection.

Last updated