Difference between revisions of "0237"
Jump to navigation
Jump to search
m |
|||
Line 18: | Line 18: | ||
: [[SET_GANG_WEAPONS]] | : [[SET_GANG_WEAPONS]] | ||
− | This opcode sets the weapons of a specific gang. If a gang's weapons are not set by this opcode, the game will use the default hardcoded gang weapons. | + | This opcode sets the weapons of a specific gang. If a gang's weapons are not set by this opcode, the game will use the default hardcoded gang weapons. The value set with this opcode is saved in [[Saves (GTA VC)#Block 13: All Gang Data|block 13 of the save file]]. |
== Keywords == | == Keywords == |
Revision as of 17:50, 24 November 2011
Description
Syntax
- 0237: set_gang [int1] primary_weapon_to [int2] secondary_weapon_to [int3]
- 0237: set_gang [int1] weapons_to [int2] [int3] [int4]
Parameter
- [int1]
- [int2]
- [int3]
- Weapon number 2
- [int4]
- Weapon number 3
Native analog
This opcode sets the weapons of a specific gang. If a gang's weapons are not set by this opcode, the game will use the default hardcoded gang weapons. The value set with this opcode is saved in block 13 of the save file.
Keywords
set, weapon, gang