dobrograd-13-06-2022/garrysmod/addons/feature-cars/lua/simfphys/client/damage.lua

7 lines
204 B
Lua
Raw Normal View History

2023-11-16 15:01:19 +05:00
local function damagedbackfire( length )
local veh = net.ReadEntity()
if not IsValid(veh) or not veh.Backfire then return end
veh:Backfire( true )
end
net.Receive("simfphys_backfire", damagedbackfire)