Client-Side

Client Exports

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


openTuning

This allows you to open tuning menu by other resource or as admin in your admin menu.

---@param id: string - name of tuning or nil for isAdmin = true
---@param isAdmin: boolean - true or false
exports["vms_tuning"]:openTuning(id, isAdmin)

vehicleHasLocator

Get information on whether the vehicle has a gps locator installed.

---@param {vehicle: number}: entity id of vehicle
---@return boolean
exports["vms_tuning"]:vehicleHasLocator(vehicle)

Last updated