Wasabi Scripts
StoreDiscordGitHub
  • Documentation
  • Dependency
    • 🔗wasabi_bridge
      • Dependencies
      • Installation
      • Configuration
      • Custom Notifications
      • Common Issues & Fixes
  • Advanced Series
    • 🚑wasabi_ambulance
      • Dependencies
      • Installation
      • Configuration
      • Death Screens
      • Exports / Events
      • State Bags
      • Customizations
      • Common Issues
        • QBCore
    • 🩺wasabi_crutch
      • Dependencies
      • Installation
      • Configuration
      • Exports
    • 👮‍♂️wasabi_police
      • Dependencies
      • Installation
      • Configuration
      • Exports
      • State Bags
      • Events
      • Customizations
    • 🔎wasabi_evidence
      • Dependencies
      • Installation
      • Configuration
      • Customizations
    • 🛡️wasabi_adminmenu
      • Dependencies
      • Installation
      • Configuration
    • 👷wasabi_multijob
      • Dependencies
      • Installation
      • Configuration
      • Replace ESX Boss Menus
    • 🔑wasabi_carlock
      • Dependencies
      • Installation
      • Configuration
      • Exports
      • Common Issues
        • QBCore
  • Core UI Series
    • 🖥️wasabi_loadingscreen
      • Configuration
    • 🧑‍🤝‍🧑wasabi_multichar
      • Dependencies
      • Installation
      • Configuration
      • Exports
      • Events
    • 💳wasabi_banking
      • Dependencies
      • Installation
      • Configuration
      • Exports
    • 👼wasabi_spawn
      • Dependencies
      • Installation
      • Configuration
      • Exports
      • Events
    • 🔔wasabi_notify
      • Exports / Events
      • Configuration
      • Change Framework Notify
    • ⏸️wasabi_pausemenu
      • Dependencies
      • Installation
      • Configuration
      • Exports
  • Heist Series
    • 🏦wasabi_pacificrobbery
      • Dependencies
      • Installation
      • Configuration
      • Events
    • 🏦wasabi_paletorobbery
      • Dependencies
      • Installation
      • Configuration
      • Events
    • 🏦wasabi_fleecarobberies
      • Dependencies
      • Installation
      • Configuration
      • Events
  • 💎wasabi_vangelicorobbery
    • Dependencies
    • Installation
    • Configuration
    • Events
  • 🔫wasabi_ammunationrobbery
    • Dependencies
    • Installation
    • Configuration
    • Events
  • 🚢wasabi_yachtheist
    • Dependencies
    • Installation
    • Configuration
    • Events
  • Free Releases
    • 👕fivem-appearance
      • Installation
      • Dependencies
      • Common Issues
      • Snippets
      • Exports
      • Examples
    • 👩‍💻wasabi_discord
      • Installation
      • Exports
Powered by GitBook
On this page
  1. Advanced Series
  2. wasabi_crutch

Configuration

All Wasabi Scripts contain various editable and unobscured files containing, exports, client and server functions, configuration methods and more.


Config.lua
-----------------For support, scripts, and more----------------
--------------- https://discord.gg/wasabiscripts  -------------
---------------------------------------------------------------
Config = {}
------------------------------------------------------------------------------
-- Text UI's, notifications, frameworks, and other integrations can be made --
-- via dependency "wasabi_bridge" in the "customize" directory!             --
------------------------------------------------------------------------------

--------------- General Settings  -------------
Config.menuPosition = 'bottom-right'

-- These resources can trigger "wasabi_crutch:giveCrutch" and "wasabi_crutch:giveChair"
Config.AllowedResources = {
    'wasabi_ambulance',
    --'qb-core',
}


--------------- Injury Assignments  -------------
Config.jobRequirement = { -- Job requirement settings
    enabled = true, -- Require someone to have job to give tools / if false anyone can use(maybe bad idea)
    jobs = { -- Add or remove as many jobs as you would like
        'ambulance',
        'police',
    }
}

Config.maxAssignTime = { -- Max time someone can be assigned - set false if undesired(In minutes)
    crutch = 10, -- Crutch / default: 10 minutes(set false if not desired a limit)
    wheelchair = 10 -- Wheelchair / default: 10 minutes(set false if not desired a limit)
 }


Config.disableOnDeath = { -- On death settings
    crutch = true, -- Set to false if you want them to have crutches for time even if they die.
    wheelchair = true, -- Set to true if you want them to lose wheelchair if they die.
}

Config.usableCrutchItem = { -- Usable item settings
    enabled = true, -- Enable usable crutch item
    maxAssignTime = 10, -- Max time someone can be assigned crutches - set false if undesired(In minutes)
    item = 'crutch' -- Item to be in your items table
}

Config.usableWheelchairItem = { -- Usable item settings
    enabled = true, -- Enable usable wheelchair item
    maxAssignTime = 10, -- Max time someone can be assigned wheelchair - set false if undesired(In minutes)
    item = 'wheelchair' -- Item to be in your items table
}

Config.CustomCarKeyScript = true -- Set to true if using wasabi_carlock or qb-vehiclekeys (Customize in wasabi_bridge/customize/cl_customize.lua)
PreviousInstallationNextExports

Last updated 1 year ago

🩺