Difference between revisions of "DisablePlayerControls"
→Syntax
imported>HawkFest (→Syntax) |
imported>HawkFest (→Syntax) |
||
Line 3: | Line 3: | ||
==Syntax== | ==Syntax== | ||
DisablePlayerControls([''MovementFlag | DisablePlayerControls([''MovementFlag][, FightingFlag][, POVFlag][, LookingFlag][, SneakingFlag][, MenuFlag][, ActivateFlag]'') | ||
Default (no parameters) is equivalent to: | Where each Flag is a boolean value (either 0 or False, either 1 or True). Default (no parameters) 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 |