01B4

From GTAMods Wiki
Revision as of 06:56, 8 July 2017 by Spaceeinstein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III Vice City San Andreas SET_PLAYER_CONTROL


Description
Sets control of the player character
Syntax
01B4: set_player [player handle] can_move [int]
Parameter
[player handle]
The handle of the player
[int]
0 = uncontrollable, 1 = controllable (default)
Native analog
SET_PLAYER_CONTROL

This opcode sets control of the player character. Switching off control will prevent any inputs from having an effect on the player character and the camera that follows the player character. Many effects in the environment occur while the character is frozen, including extinguishing all fires, all pedestrians ignoring the player, and instantly stopping the player vehicle if the player is driving.

Keywords

set, player, freeze, frozen, state, can move, lock