0331

From GTAModding
Jump to: navigation, search

GTA III Vice City San Andreas SET_PLAYER_FAST_RELOAD


Description

Sets the player to fast reload

Syntax

0331: set_player [player handle] fast_reload [int]

Parameter

[player handle]
The handle of the player
[int]
0 = disable (default), 1 = enable

This opcode sets the player's ability to reload certain weapons quickly. Only some weapons take full advantage of this ability by skipping the reload sequence completely. They include the Python, sniper rifles, and Rocket Launcher. Other weapons partially take advantage of this by replacing the reload animation with a short pause. They include pistols, sub-machine guns, and rifles. Shotguns do not take advantage of this; they merely silence the reload sound effect. The value set with this opcode is saved in block 16 of the save file in GTA III, block 18 in Vice City, and block 15 in San Andreas. This opcode was never called in the original script of GTA III.

Keywords

set, toggle, player, fast, reload, weapon