GTAG - Modding - Opcode Database - 01B4
Opcode Database
01B4
| Description | Sets whether player control is enabled. When disabled, only camera movement and player movement is disabled. The player can still select items in a panel or menu and pressed keys can still be read. |
|---|---|
| Parameters (v2) | 1) Player handle (Integer) (INT) 2) Boolean (1 or 0) (INT) |
| Games | |
| Category | Common, Player |
| Command Name (IV) | SET_PLAYER_CONTROL |
| San Andreas | |
| sascm.ini | 01B4=2,set_player_control %1d% to %2d% |
| Example | 01B4: set_player_control $PLAYER_CHAR to 1 |
| Command Name | SET_PLAYER_CONTROL |
| Vice City | |
| sascm.ini | 01b4=2,set_player %1d% frozen_state %2btrue/false% |
| Example | 01B4: set_player $player_char frozen_state 1 |
| Command Name | SET_PLAYER_CONTROL |
| GTA III | |
| gtascm.ini | 01b4=2,set_player %1d% control %2btrue/false% |
| Example | 01B4: set_player $PLAYER_CHAR control 0 |
| Command Name | SET_PLAYER_CONTROL |

