Client Exports

Here you'll find a list of available exports for Vehicle Keys. They are intended for users with basic or advanced programming skills.


Open

Opens the menu (tablet) for managing keys, works only if the item keys option is disabled.

exports['ux_vehiclekeys']:Open()

IsOpen

Returns true or false if the menu (tablet) is open, works only if the item keys option is disabled.

exports['ux_vehiclekeys']:IsOpen()

Close

Close the menu (tablet) is open, works only if the item keys option is disabled.

exports['ux_vehiclekeys']:Close()

GiveKey

Gives vehicle keys via license plate, in item if option is enabled.


RemoveKey

Removes vehicle keys via license plate.

Last updated