0152

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

{{{games}}}


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

This opcode sets the zone's gang car spawn. This opcodes only spawns gang members as a driver and sometimes with a passenger in cars and is independent from opcode 015C, which spawns the gang on foot. In GTA III, this opcode has 17 parameters. Vice City has 13. Parameters 4 and up are integers from 0 to 1000. These set the density of the car spawn. 0 means the gang takes up 0% of the random cars in the area and 1000 means the gang takes up 100% of the random cars in the area. The numbers added up cannot exceed 1000 or else the game will not properly spawn the cars. The opcode is used in conjunction with 0236 but can be used without it. If no gang vehicle is defined, the gang will spawn in their preferred vehicle.