SWEP.FreezeMovement
From GMod Wiki
Event Hook | |
Hook Name | FreezeMovement |
Syntax | SWEP:FreezeMovement( ) |
Description | While holding this weapon, this hook will determine whether or not the player will be able to rotate his view. This hook does not affect the movement (forwards, backwards, strafe left, strafe right) of the player. If the hook returns true, the view is frozen. Otherwise, the view is not frozen. |
Returns | Boolean |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=SWEP.FreezeMovement]SWEP.FreezeMovement [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |