Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 01B4

Opcode Database

01B4

DescriptionSets 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)
Gamessa vc iii
CategoryCommon, Player
Command Name (IV)SET_PLAYER_CONTROL
San Andreas
sascm.ini01B4=2,set_player_control %1d% to %2d%
Example01B4: set_player_control $PLAYER_CHAR to 1
Command NameSET_PLAYER_CONTROL
Vice City
sascm.ini01b4=2,set_player %1d% frozen_state %2btrue/false%
Example01B4: set_player $player_char frozen_state 1
Command NameSET_PLAYER_CONTROL
GTA III
gtascm.ini01b4=2,set_player %1d% control %2btrue/false%
Example01B4: set_player $PLAYER_CHAR control 0
Command NameSET_PLAYER_CONTROL

<< 01B2

01B5 >>