Exports
List of available exports for you to use.
Client
Get Custom Vehicle Class
--- @param vehicle number Vehicle entity.
--- @return table # { class = string, rating = number }
-- Class ranges:
-- D (0 - 299)
-- C (300 - 399)
-- B (400 - 499)
-- A (500 - 599)
-- S1 (600 - 699)
-- S2 (700 - 799)
-- X (800+)
--- @example
local vehicle = GetVehiclePedIsIn(PlayerPedId(), false)
local data = exports.cd_mechanic:GetCustomVehicleClass(vehicle)
print('Vehicle Class:', data.class, 'Vehicle Rating:', data.rating)
-- Example output:
-- Vehicle Class: S2, Vehicle Rating: 750Get Vehicle Performance Stats
Server
Shared
Get Config
Get Vehicle Mileage
Get Parts Degradation
Get Dyno History (Single Vehicle)
Get Dyno History (All Vehicles)
Get Vehicle Engine Sound
Get Stancer Data
Last updated
Was this helpful?

