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
  • Client Exports
  • Server Exports
  1. Advanced Series
  2. wasabi_crutch

Exports

Series of exports that will be added as time goes on. These are good for implementing radial menus and usage of 3rd party scripts

Client Exports


Client-side exports can be executed on the local player without job requirement. Utilizing export on a target will require the client triggering to have the required job/group.

OpenCrutchMenu
exports.wasabi_crutch:OpenCrutchMenu()

Opens player select menu of crutch system OR provides notification that there are no nearby players.

RemoveCrutch
exports.wasabi_crutch:RemoveCrutch(SERVER_ID)

Removes crutch from ID provided in parameter.


SERVER_ID: Server Id

SetCrutchTime
exports.wasabi_crutch:SetCrutchTime(SERVER_ID, TIME)

Adds as well as sets time of crutch to id and time specified in parameter.


SERVER_ID: Server Id

TIME: Time(in minutes)

OpenChairMenu
exports.wasabi_crutch:OpenChairMenu()

Opens player select menu of wheelchair OR provides notification of no nearby players.

RemoveChair
exports.wasabi_crutch:RemoveChair(SERVER_ID)

Removes chair from ID provided in parameter.


SERVER_ID: Server Id

SetChairTime
exports.wasabi_crutch:SetChairTime(SERVER_ID, TIME)

Adds as well as sets time of wheelchair to id and time specified in parameter.


SERVER_ID: Server Id

TIME: Time(in minutes)

IsWheelchairActive
exports.wasabi_crutch:IsWheelchairActive()

Returns true if local player currently has active wheelchair.

IsCrutchActive
exports.wasabi_crutch:IsCrutchActive()

Returns true if local player currently has active crutch.

Server Exports


GiveCrutchTarget
exports.wasabi_crutch:GiveCrutchTarget(SERVER_ID, TIME)

Gives target ID crutch for set time(minutes).


SERVER_ID: Server Id

TIME: Time(in minutes)

GiveWheelchairTarget
exports.wasabi_crutch:GiveWheelchairTarget(SERVER_ID, TIME)

Gives target wheelchair for set time(minutes).


SERVER_ID: Server Id

TIME: Time(in minutes)

PreviousConfigurationNextwasabi_police

Last updated 10 months ago

🩺