Exports

Functions other resources can use.

This page documents the functions exported by our resource that other scripts may use.

Client Exports

The following function is available on the client thread, for example to open the Garage Manager from your own admin menu.

exports("OpenCreator", function()
-- Opens the Garage Manager, exactly like the /evgarage command.
-- The player still needs the Garage.ManageAce permission; without it
-- they get a notification and nothing opens.
end)
-- example: a button in your own admin menu
exports.evolent_garage:OpenCreator()

The other exports you may find in the resource (SetGarages, UpdateStatus, RegisterGarageAdapter, DrawLighting, ...) are used internally between the lift and the terminal and are not meant to be used by other scripts. Most of them refuse calls from other resources.

On this page