Difference between revisions of "DisablePlayerControls"

32 bytes added ,  16:11, 18 January 2013
imported>HawkFest
imported>HawkFest
Line 3: Line 3:
==Syntax==
==Syntax==


  DisablePlayerControls([''MovementFlag (0/1)][, FightingFlag (0/1)][, POVFlag (0/1)][, LookingFlag (0/1)][, SneakingFlag (0/1)][, MenuFlag (0/1)][, ActivateFlag (0/1)]'')
  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
Anonymous user