TOOL:FreezeMovement

From GMod Wiki

Revision as of 22:42, 14 August 2011 by Grocel (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Event Hook
Hook NameFreezeMovement
SyntaxTOOL:FreezeMovement( )
DescriptionCalled every frame while the player can aim, so when no menu is open.
ReturnsNil
Lua StateNewerClient.png
BBCode[b][url=wiki.garrysmod.com/?title=TOOL:FreezeMovement]TOOL:FreezeMovement [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionBlocks player's aiming.
Used onNewerClient.png
Code
function TOOL:FreezeMovement()
	return true
end
OutputN/A


Additional Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox