Difference between revisions of "DisablePlayerControls"
→Syntax
imported>HawkFest (→Syntax) |
imported>HawkFest (→Syntax) |
||
Line 5: | Line 5: | ||
DisablePlayerControls([''MovementFlag][, FightingFlag][, POVFlag][, LookingFlag][, SneakingFlag][, MenuFlag][, ActivateFlag]'') | DisablePlayerControls([''MovementFlag][, FightingFlag][, POVFlag][, LookingFlag][, SneakingFlag][, MenuFlag][, ActivateFlag]'') | ||
Where each Flag is a boolean value (either 0 or False, either 1 or True). Default ( | Where each Flag is a boolean value (either 0 or False, either 1 or True). Default (empty parenthesis) is equivalent to: | ||
DisablePlayerControls(1, 1, 0, 0, 0, 1, 1) ; POV, Looking, and Sneaking are still enabled | DisablePlayerControls(1, 1, 0, 0, 0, 1, 1) ; POV, Looking, and Sneaking are still enabled |