Browse docs
Server: GetVehicleTuning(plate)
Reference for Server: GetVehicleTuning(plate) in mechanicjob.
This page documents supported public integration calls and usage examples. It does not expose or reproduce the resource's internal implementation.
Server Exports
All Advanced Pricing and Billing exports return a result table:
{
success = true,
data = {}
}
Rejected requests return success = false and a stable error code. Player identity, mechanic job, grade, permissions, vehicle distance, configured limits, quote state, invoice ownership, and monetary values are always resolved or validated on the server.
GetVehicleTuning(plate)
- Purpose: Returns the saved vehicle tuning properties for the supplied plate.
- Arguments:
plate(string) - vehicle plate text. Required.
- Returns:
table | nil- the decoded tuning properties, ornilif no record exists.
local tuning = exports["sky_mechanicjob"]:GetVehicleTuning("ABC123")
if tuning then
print(json.encode(tuning))
end