On test drive vehicle spawn
Event
AddEventHandler("dealerships_creator:testDrive:vehicleSpawned", function(vehicle, vehicleNetId, plate)
end)Parameters
Name
Data Type
Description
Example
EventHandler("dealerships_creator:testDrive:vehicleSpawned", function(vehicle, vehicleNetId, plate)
SetVehicleFuelLevel(vehicle, 100.0)
-- You may want to give vehicle keys somehow
end)Last updated