• Freezing Entities?
    2 replies, posted
Hello every gmod coder that, probably, know more than me. I wonder, is there a way to freeze NPCs with code, I can only find: [code] Player:Freeze(true) [/code] Of course, that only applies to players, but I wonder, is there one for NPCs?
[code] NPC:GetPhysicsObject ():EnableMotion (false) [/code]
[QUOTE=Potatofactory;51552252][code] NPC:GetPhysicsObject ():EnableMotion (false) [/code][/QUOTE] Set MOVETYPE could also work.
Sorry, you need to Log In to post a reply to this thread.