Difference between revisions of "0237"

From GTAMods Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
<hr />
 
<hr />
 
'''Description'''
 
'''Description'''
: Sets the weapons of the specified gang
+
: Sets the [[weapon]]s of the specified [[gang]]
 
'''Syntax'''
 
'''Syntax'''
 
: {{Icon|3}} {{Icon|VC}} 0237: set_gang [''int1''] primary_weapon_to [''int2''] secondary_weapon_to [''int3'']
 
: {{Icon|3}} {{Icon|VC}} 0237: set_gang [''int1''] primary_weapon_to [''int2''] secondary_weapon_to [''int3'']
Line 15: Line 15:
 
: [''int4'']
 
: [''int4'']
 
:: Weapon number 3
 
:: Weapon number 3
 +
'''Native analog'''
 +
: [[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.

Revision as of 17:29, 24 November 2011

GTA III Vice City San Andreas


Description

Sets the weapons of the specified 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 number
[int2]
Weapon number 1
[int3]
Weapon number 2
[int4]
Weapon number 3

Native analog

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.

Keywords

set, weapon, gang