Added + Edited Effects
Edited Snow Storm: - Changed timecycle strength and added strength reset code Added Horn Bombs: - Vehicles Explode when they honk
This commit is contained in:
22
Vehs/VehicleHornBombs.lua
Normal file
22
Vehs/VehicleHornBombs.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
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
|
Reference in New Issue
Block a user