Downtown Chronicles
CoreVehicles

Vehicles

dc_vehicles — spawn, persist, ownership, deformation.

Resource: data/resources/[core]/dc_vehicles/

Return pattern

Most server APIs return two values: result (table or nil) and optional err string.

local veh, err = exports['dc_vehicles']:requestVehicle({ ... })
if not veh then
    print(err)
    return
end

Sections

SideIndex
ServerServer
ClientClient

On this page