Server Exports
getCompanyMoney
With this export, you can see how much money is in the workshop safe
---@param {tuningId: string}: tuningId is the key of the tuning table
---@return number
local amount = exports["vms_tuning"]:getCompanyMoney(tuningId)addCompanyMoney
With this export you can add money to the workshop safe
---@param {tuningId: string}: tuningId is the key of the tuning table
---@param {amount: number}: the amount to be added to the workshop safe
exports["vms_tuning"]:addCompanyMoney(tuningId, amount)removeCompanyMoney
With this export you can remove money from the workshop safe
---@param {tuningId: string}: tuningId is the key of the tuning table
---@param {amount: number}: the amount to be removed from the workshop safe
exports["vms_tuning"]:removeCompanyMoney(tuningId, amount)CreateDiscountCode
With this export, you can generate a discount code
applyCustomMods
With this export you can load custom mods for a vehicle. Recommended use when creating a vehicle (e.g. in garages) if you don't hear Engine Swap when you remove the vehicle from the garage.
isHaveLocator
Get information on whether the vehicle has a gps locator installed.
Last updated
Was this helpful?