Difference between revisions of "0960"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{OpCode | |
− | + | | games = {{Icon|SA}} | |
− | ''' | + | | command = SET_PLAYER_DISPLAY_VITAL_STATS_BUTTON |
− | ''' | + | | description = Sets the player's ability to use the action key |
− | ''' | + | | syntax1 = 0960: enable_player [''player handle''] stats_box [''int''] |
+ | | p1t = [''player handle''] | ||
+ | | p1d = The [[0053|handle of the player]] | ||
+ | | p2t = [''int''] | ||
+ | | p2d = 0 = disable button, 1 = enable button (default) | ||
+ | }} | ||
− | + | This opcode can be used to disable the functionality of the action key in the game. The action key is [[00E1|button 4]] on foot. Disabling it will disable any actions related to the key, including answering phone calls and replacing a weapon. | |
− | |||
− | |||
− | ==Keywords== | + | == Keywords == |
− | set, toggle, player, action | + | set, toggle, key, button, player, action |
− | |||
− |
Latest revision as of 04:17, 4 December 2016
SET_PLAYER_DISPLAY_VITAL_STATS_BUTTON
- Description
- Sets the player's ability to use the action key
- Syntax
- 0960: enable_player [player handle] stats_box [int]
- Parameter
- [player handle]
- The handle of the player
- [int]
- 0 = disable button, 1 = enable button (default)
This opcode can be used to disable the functionality of the action key in the game. The action key is button 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