Entity.SetUnFreezable

From GMod Wiki

Revision as of 19:06, 24 September 2009 by Crazy Quebecer (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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