Entity.SetUnFreezable

From GMod Wiki

Jump to: navigation, search
Function
Syntax Entity:SetUnFreezable( Boolean freezable )
Description:
Makes the entity freezable or not freezable (with physgun).
Returns: nil
In Object: Entity
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Entity.SetUnFreezable]Entity.SetUnFreezable [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionToggles an entity's immunity to physgun freezing.
Used onNewerServer.png
Code
function ToggleUnFreezable( ent )
	ent:SetUnFreezable( !ent:GetUnFreezable() )
end
OutputN/A


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox