Difference between revisions of "0237"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{I|Create a more detailed example}} {{OpCode | ini = 0237=4, %1h% %2h% %3h% %4h% | description = Sets the weapons of a specific gang. | p1 = Gang ID | p2 …')
 
Line 19: Line 19:
 
{| {{prettytable}}
 
{| {{prettytable}}
 
!
 
!
! colspan="1"| GTA III
 
 
! colspan="1"| Vice City
 
! colspan="1"| Vice City
 
! colspan="1"| San Andreas
 
! colspan="1"| San Andreas
 
|-
 
|-
| 0
+
| 0  
|  
+
| Cubans
|
 
 
| Ballas
 
| Ballas
 
|-
 
|-
| 1
+
| 1  
|  
+
| Haitians
|
 
 
| Grove Street Families
 
| Grove Street Families
 
|-
 
|-
| 2  
+
| 2
|  
+
| Street wannabees
|
 
 
| Los Santos Vagos
 
| Los Santos Vagos
 
|-
 
|-
| 3  
+
| 3
|  
+
| Columbians
|
 
 
| San Fierro Rifa
 
| San Fierro Rifa
 
|-
 
|-
| 4  
+
| 4
|  
+
| Renta Cops
|
 
 
| Da Nang Boys
 
| Da Nang Boys
 
|-
 
|-
| 5  
+
| 5
|  
+
| Bikers
|
 
 
| Mafia
 
| Mafia
 
|-
 
|-
| 6
+
| 6  
|  
+
| Vercetti
|
 
 
| Mountain Cloud Triad
 
| Mountain Cloud Triad
 
|-
 
|-
 
| 7
 
| 7
|
+
| Golfers
|
 
 
| Varrio Los Aztecas
 
| Varrio Los Aztecas
 
|-
 
|-
 
| 8
 
| 8
|
+
| Army
|
 
 
| (unused)
 
| (unused)
 
|-
 
|-
 
| 9
 
| 9
|
+
| -
|
 
 
| (unused)
 
| (unused)
 
|}
 
|}
Line 76: Line 65:
 
==Keywords==
 
==Keywords==
 
weapons, gang
 
weapons, gang
 
==See also==
 
*[[Move an object]]
 

Revision as of 13:12, 8 October 2010

{{{games}}}


Description
Sets the weapons of a specific gang.
Syntax
{{{syntax1}}}
Parameter

This opcode sets the weapons of a specific gang.

Sanny Builder example

0237: set_gang 1 weapons_to 24 29 4

Gang IDs

Vice City San Andreas
0 Cubans Ballas
1 Haitians Grove Street Families
2 Street wannabees Los Santos Vagos
3 Columbians San Fierro Rifa
4 Renta Cops Da Nang Boys
5 Bikers Mafia
6 Vercetti Mountain Cloud Triad
7 Golfers Varrio Los Aztecas
8 Army (unused)
9 - (unused)

Keywords

weapons, gang