0237

From GTAModding
Jump to: navigation, search

GTA III Vice City San Andreas SET_GANG_WEAPONS


Description
Sets the weapons of the gang
Syntax
GTA III Vice City 0237: set_gang [int1] primary_weapon_to [int2] secondary_weapon_to [int3]
San Andreas 0237: set_gang [int1] weapons_to [int2] [int3] [int4]
Parameter
[int1]
Gang id
[int2]
Weapon type 1
[int3]
Weapon type 2
[int4]
Weapon type 3
Native analog
SET_GANG_WEAPONS

This opcode sets the weapons of the gang. If a gang's weapons have not been set by this opcode, the game will use the default hardcoded weapons as the gang's weapons. The value set with this opcode is saved in block 12 of the save file in GTA III, block 13 in Vice City, and block 11 in San Andreas.

Keywords

set, weapon, gang