Difference between revisions of "DisablePlayerControls"

4 bytes added ,  16:14, 18 January 2013
imported>HawkFest
imported>HawkFest
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 (no parameters) is equivalent to:
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
Anonymous user