0901

From GTAMods Wiki
Jump to navigation Jump to search

San Andreas SET_PLAYER_JUMP_BUTTON


Description
Sets the player's ability to use the jump key
Syntax
0901: enable_player [player handle] jump_key [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 jump key in the game. The jump key is button 14 on foot. Disabling it will disable any actions related to the key, including jumping and climbing.

Keywords

set, toggle, player, jump, button