SpawnVehicle - Export
Parameters Needed
Argument
Data Type
Explanation
Example Usage
local propData = {
vehicleData = {} -- vehicleProperties predefined like for Jobs
plate = "12345678" -- Current Plate of the Vehicle
}
local extraData = {
evc = "jugular:test", -- EVC is supportet with that you can make custom emergency vehicles
}
exports["ns_garagesystem"]:SpawnVehicle(propData, coords, heading, extraData, function(vehicle)
-- Your Code
end)Last updated