Player.UnfreezePhysicsObjects

From GMod Wiki

Jump to: navigation, search
Function
Syntax Player:UnfreezePhysicsObjects( )
Description:
Unfreezes all objects frozen by the specified player with the Physics Gun.
Returns: nil
In Object: Player
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.UnfreezePhysicsObjects]Player.UnfreezePhysicsObjects [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionAdds a console command to unfreeze everything that the player has frozen.
Used onNewerServer.png
Code
 
local function Unfreeze( Player )
 
     Player:UnfreezePhysicsObjects( )
 
end
concommand.Add( "unfreezemystuff", Unfreeze )
 
OutputN/A


Additional Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox