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.

chevron-rightOpenCrutchMenuhashtag

exports.frozen_crutch:OpenCrutchMenu()

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

chevron-rightRemoveCrutchhashtag

exports.frozen_crutch:RemoveCrutch(SERVER_ID)

Removes crutch from ID provided in parameter.


SERVER_ID: Server Id

chevron-rightSetCrutchTimehashtag

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)

chevron-rightOpenChairMenuhashtag

exports.frozen_crutch:OpenChairMenu()

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

chevron-rightRemoveChairhashtag

exports.frozen_crutch:RemoveChair(SERVER_ID)

Removes chair from ID provided in parameter.


SERVER_ID: Server Id

chevron-rightSetChairTimehashtag

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


SERVER_ID: Server Id

TIME: Time(in minutes)

chevron-rightIsWheelchairActivehashtag

Returns true if local player currently has active wheelchair.

chevron-rightisCrutchActivehashtag

Returns true if local player currently has active crutch.

Server Exports


chevron-rightGiveCrutchTargethashtag

Gives target ID crutch for set time(minutes).


SERVER_ID: Server Id

TIME: Time(in minutes)

chevron-rightGiveWheelchairTargethashtag

Gives target wheelchair for set time(minutes).


SERVER_ID: Server Id

TIME: Time(in minutes)

Last updated