zombiesurvival-evolved/gamemodes/zombiesurvival/gamemode/maps/zs_residentevil_v2.lua

6 lines
164 B
Lua
Raw Permalink Normal View History

2014-10-02 08:49:54 +08:00
hook.Add("InitPostEntityMap", "Adding", function()
for _, ent in pairs(ents.FindByClass("prop_physics*")) do ent:GetPhysicsObject():EnableMotion(true) end
end)