• my crash prevention script
    4 replies, posted
sooo ive made a script preventing server crashes, now the scripts works well and all.. but i want it to nocolide all frozen props and save the nocolide stats of the props before and after that for it to colide again. basicly to not piss off builders that just got mashed with nocolide bs.. this is the code soo far help will be appriciated :3 function FreezeProps(ply)     for k, v in pairs( ents.GetAll() ) do         local phys = v:GetPhysicsObject()         if (IsValid(phys)) then             phys:EnableMotion(false)         end     end end
i am freezing the whole map but thats exactly what i want anyways ik how to change collison i dunno how to store each prop's current state of collision
Entity/GetCollisionGroup
thx
Sorry, you need to Log In to post a reply to this thread.