ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. getVehicleUpgradeSlotNames

Function

getVehicleUpgradeSlotNames

Server and clientVehiclesTrilogy Hub only

Returns the names of all 17 tuning slots in number order (the first element = slot 0).

Syntax

table getVehicleUpgradeSlotNames()

Returns

An array of 17 strings.

Example

for i, name in ipairs(getVehicleUpgradeSlotNames()) do
    outputDebugString((i - 1) .. " = " .. name)
end

See also