Files
gta-v-chaos-mod-custom-scripts/Vehs/VehicleHornBombs.lua
nathan 21ba12f5b9 Added + Edited Effects
Edited Snow Storm:
- Changed timecycle strength and added strength reset code

Added Horn Bombs:
- Vehicles Explode when they honk
2025-09-22 19:08:18 +01:00

23 lines
402 B
Lua

EffectInfo = {
Name = "Horn Bombs",
EffectId = "vehs_hornbombs",
TimedType = "Normal",
EffectGroup = "_group_trafficspawner",
EffectCategory = "None"
}
function OnStart()
end
function OnStop()
end
function OnTick()
for _, vehicle in ipairs(GetAllVehicles()) do
if IS_HORN_ACTIVE(vehicle) then
EXPLODE_VEHICLE(vehicle,true,false)
end
end
end