JixelPatterns
  • JixelPatterns Documentation
  • Troubleshooting
    • Common Issues
    • Setting Up Locations
    • FAQ
  • Dependency
    • Jim_Bridge
      • Animal Ped Support
      • Script Helpers
      • Loader Functions
      • Callbacks
      • Cameras
      • Context Menus
      • Crafting
      • DrawText
      • Dui Functions
      • Input Creator
      • Inventories
      • Job Functions
      • Make Functions
      • Meta Handlers
      • Notifications
      • Phones
      • Player Functions
      • Poly Zones
      • Progress Bars
      • Scale Entity
      • Shops
      • Skillcheck
      • Society Banking
      • Stash Control
      • Targets
      • Vehicles
      • Wrapper Functions
      • Scaleforms
  • Paid Assets
    • Jim-Mechanic
      • Common Issues
      • Installation
      • Locations
        • Creating a Location
      • Nitrous
      • Harness + Seatbelt
      • Emergency Repair Bench
      • Odometer
      • Speedometer
      • Performance Mods
      • Preview System
      • Repair System
      • Car Lifts
      • Plate Change
      • Push Vehicle
      • Stancer Kit
      • Vehicle Seat Picker
    • Jim-Bakery
      • Installation
    • Jim-BeanMachine
      • Installation
    • Jim-BurgerShot
      • Installation
    • Jim-CatCafe
      • Installation
    • Jim-Henhouse
      • Installation
    • Jim-PizzaThis
      • Installation
    • Jim-Popsdiner
      • Installation
  • Free Assets
    • Jim-Mining
      • Installation
      • How To Use
        • Mining
        • Stone Washing
        • Gold Panning
    • Jim-Recycle
      • Installation
      • How To Use
        • Recycling
        • Dumpster Diving
        • Scrapping
    • Jim-Payments
      • Installation
      • How To Use
    • Jim-Shops
      • Installation
      • How To Use
    • Jim-Boarding
      • Installation
      • How To Use
    • Jim-Trains
      • Installation
      • How To Use
    • Jim-Consumbles
      • Installation
      • How To Use
    • Jim-DJBooth
      • Installation
      • How To Use
    • Jim-JobGarage
      • Installation
      • How To Use
    • Jim-Chairs
      • Installation
    • Jim-Notepad
      • Installation
      • How To Use
Powered by GitBook
On this page
  • Configuration
  • Default configuartion file
  • Setting information
  • requireDutyCheck
  • Jobs
  • LockEmergency
  • Locations
  • CosmeticTable / PerformanceTable
  1. Paid Assets
  2. Jim-Mechanic

Emergency Repair Bench

Configuration

Default configuartion file

This is inside the repairbench_conf.lua

Config.Emergency = {
    requireDutyCheck = false,	-- if true, when a mechanic is online, the repair button won't show
                                -- if false, the repair option will always be available
    Jobs = {
        -- DO NOT DO THIS -- ["police"] = 0, 1, 2, 3 - This is not how this works
        -- The grade is that grade and above, so if its 2 then its everything from 2 and above
        ["police"] = 0, -- Job and Job Grade
        ["ambulance"] = 0,
        ["mechanic"] = 0,
    },

    LockEmergency = true,  -- Enable this to lock make only "Emergency" (Class 18) vehicles to be used with the bench

    Locations = {
        { coords = vec4(451.05, -973.19, 25.7, 180.0), prop = false, }, -- MRPD UNDERGROUND PARKING
        { coords = vec4(342.51, -570.98, 28.8, 70.0), prop = false, }, -- PILL BOX GARAGE
    },

    CosmeticTable = { 			-- This controls what will appear in the emergency mech bench, "false" to hide it
        ["Repair" ] = true,
        ["Paints"] = true,
        ["Horn"] = true,
        ["Hood"] = true,
        ["Exhaust"] = true,
        ["RollCage"] = true,
        ["Roof"] = true,
        ["Spoiler"] = true,
        ["Seats"] = true,
        ["PlateHolder"] = true,
        ["VanityPlate"] = true,
        ["CustomPlate"] = true,
        ["Skirts"] = true,
        ["RightFender"] = true,
        ["LeftFender"] = true,
        ["Liverys"] = true,
        ["OldLiverys"] = true,
        ["RoofLiverys"] = true,
        ["Grille"] = true,
        ["FrontBumper"] = true,
        ["BackBumper"] = true,
        ["TrimA"] = true,
        ["TrimB"] = true,
        ["Trunk"] = true,
        ["EngineBlock"] = true,
        ["Filter"] = true,
        ["Struts"] = true,
        ["Hydraulics"] = true,
        ["ArchCovers"] = true,
        ["FuelTank"] = true,
        ["Aerials"] = true,
        ["Extras"] = true,
        ["Ornaments"] = true,
        ["DashBoard"] = true,
        ["Dials"] = true,
        ["DoorSpeakers"] = true,
        ["SteeringWheels"] = true,
        ["ShifterLeavers"] = true,
        ["Plaques"] = true,
        ["Speakers"] = true,
        ["WindowTints"] = true,
        ["Rims"] = true,
    },
    PreformaceTable = {
        ["Engine"] = true,
        ["Brakes"] = true,
        ["Suspension"] = true,
        ["Transmission"] = true,
        ["Armour"] = false,
        ["Turbo"] = false,
        ["Harness"] = true,
    }
}

Setting information

requireDutyCheck

This toggles the check for if anyone with a mechanic job is online

  • When true, if anyone with mechanic job role is online, this will hide the repair option from the menu

  • When false, it will always show the repair option in the menu

Jobs

This is the list of jobs than can access the Emergency Repair Benches

This needs to be a table key and a grade number

All grades of the job role above this will also be able to use it

LockEmergency

If true, only vehicles classed as emergency vehicles

If false, any vehicle will be able to be used to access the emergency bench

Locations

This is the locations where the emergency benches will spawn

If prop = true it will create a repair bench prop model for users to target otherwise the target will be need to be placed on a prop already in place

CosmeticTable / PerformanceTable

Setting each of these to true and false will enable or disable that option in the menu for users

PreviousHarness + SeatbeltNextOdometer

Last updated 3 days ago