Entity.SetUnFreezable
From GMod Wiki
Function | |
Syntax | Entity:SetUnFreezable( Boolean freezable ) |
Description: | |
Makes the entity freezable or not freezable (with physgun). | |
Returns: | nil |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.SetUnFreezable]Entity.SetUnFreezable [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Toggles an entity's immunity to physgun freezing. |
---|---|
Used on | |
Code | function ToggleUnFreezable( ent ) ent:SetUnFreezable( !ent:GetUnFreezable() ) end |
Output | N/A |