- Sets control of the player character
- 01B4: set_player [player handle] can_move [int]
- [player handle]
- The handle of the player
- 0 = uncontrollable, = controllable (default)
- Native analog
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.
set, player, freeze, frozen, state, can move, lock