Last updated 2 years ago
Was this helpful?
Triggered when an alarm is triggered on a NPC vehicle
You can place it in the file integrations/sv_integrations.lua of the script, at the bottom of the file on new lines
integrations/sv_integrations.lua
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)