Alarm activated (NPC vehicle)
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
Triggered when an alarm is triggered on a NPC vehicle
RegisterNetEvent("vehicles_keys:alarmOnNPCVehicle", function(vehicle, vehicleCoords)
end)
vehicle
int
Vehicle handle
vehicleCoords
vector3
The coordinates of the vehicle
RegisterNetEvent("vehicles_keys:alarmOnNPCVehicle", function(vehicle, vehicleCoords)
-- You can add an external notification if you want
end)
You can place it in the file integrations/sv_integrations.lua
of the script, at the bottom of the file on new lines