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

On this page

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.frozen_crutch:OpenCrutchMenu()

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

RemoveCrutch

exports.frozen_crutch:RemoveCrutch(SERVER_ID)

Removes crutch from ID provided in parameter.


SERVER_ID: Server Id

SetCrutchTime

exports.frozen_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.frozen_crutch:OpenChairMenu()

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

RemoveChair

exports.frozen_crutch:RemoveChair(SERVER_ID)

Removes chair from ID provided in parameter.


SERVER_ID: Server Id

SetChairTime

exports.frozen_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.frozen_crutch:IsWheelchairActive()

Returns true if local player currently has active wheelchair.

isCrutchActive

exports.frozen_crutch:IsCrutchActive()

Returns true if local player currently has active crutch.

Server Exports


GiveCrutchTarget

exports.frozen_crutch:GiveCrutchTarget(SERVER_ID, TIME)

Gives target ID crutch for set time(minutes).


SERVER_ID: Server Id

TIME: Time(in minutes)

GiveWheelchairTarget

exports.frozen_crutch:GiveWheelchairTarget(SERVER_ID, TIME)

Gives target wheelchair for set time(minutes).


SERVER_ID: Server Id

TIME: Time(in minutes)

Still stuck?Ask on our Discord