Difference between revisions of "0960"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
<code>0960=2,%1d% %2d%</code><br>
+
{{OpCode
'''Description''': Sets the player's ability to use the action key<br>
+
| ini        = 0960=2,%1d% %2d%
'''Parameter 1''': Player handle<br>
+
| description = Sets the player's ability to use the action key
'''Parameter 2''': Flag<br>
+
| p1          = Player handle
'''Supports''': San Andreas<br>
+
| p2          = Flag (0 = disable key, 1 = enable key)
 
+
| game        = [[San Andreas]]
==Flags==
+
}}
'''Flag 0''': Action key disabled<br>
+
This opcode can be used to disable the functionality of the action key in the game. The action key is [[00E1|key number]] 4 on foot. Disabling it will disable any actions related to the key, including answering phone calls and replacing a weapon.
'''Flag 1''': Action key enabled
 
  
 
==Keywords==
 
==Keywords==
set, toggle, player, action
+
set, toggle, key, button, player, action
 
 
[[Category:OpCodes]]
 

Revision as of 10:51, 17 December 2009

{{{games}}}


Description
Sets the player's ability to use the action key
Syntax
{{{syntax1}}}
Parameter

This opcode can be used to disable the functionality of the action key in the game. The action key is key number 4 on foot. Disabling it will disable any actions related to the key, including answering phone calls and replacing a weapon.

Keywords

set, toggle, key, button, player, action