Client-Side

Client Exports

Below are all the useful exports that you can use in other resources, be sure to read their descriptions.


openTowMenu

Opening the towing menu. * Export still needs to meet job requirements in Config.TowMenuJobsAccess

exports["vms_garagesv2"]:openTowMenu()

openAgreement

With the help of this event, you can open a vehicle sales agreement.

exports["vms_garagesv2"]:openAgreement()

unlockVehicle

Export that unlocks or locks a vehicle in the parking lot - it will be unlocked for the player in whom the export was triggered.

* Export possible to use only when player is from parking area

---@param {*plate: string}: Plate of the vehicle to unlock/lock
---@param {*toggle: boolean}: true or false

exports["vms_garagesv2"]:unlockVehicle(plate, toggle)

enterHouseGarage

This export should be placed in your housing system in the opening/entering garage.

exports["vms_garagesv2"]:enterHouseGarage()

Last updated