Events (server)

AP:vehicleSpawned

Triggered when a vehicle has been spawned by AdvancedParking.

Parameters: vehicle - int - The vehicle's server side handle.

AddEventHandler("AP:vehicleSpawned", function(vehicle)
    print("Vehicle " .. GetVehicleNumberPlateText(vehicle) .. " spawned")
end)

Last updated