015C

From GTAMods Wiki
Revision as of 00:22, 15 November 2009 by Spaceeinstein (talk | contribs)
Jump to navigation Jump to search

{{{games}}}


Description
Sets the zone's gang spawn
Syntax
{{{syntax1}}}
Parameter

This opcode sets the zone's gang info. This opcodes only spawns them on foot. To spawn them in cars, use opcode 0152. In GTA III, this opcode has only 11 parameters. Vice City added two extra parameters to include more gangs. Parameters 4 and up are integers from 0 to 1000. These set the density of the gang. 0 means the gang takes up 0% of the random ped in the area and 1000 means the gang takes up 100% of the random ped in the area. The numbers added up cannot exceed 1000 or else the game will not properly spawn the gang.