014C

From GTAMods Wiki
Revision as of 05:15, 13 June 2016 by Spaceeinstein (talk | contribs) (page updates)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III Vice City San Andreas SWITCH_CAR_GENERATOR


Description
Switches the car generator
Syntax
014C: set_parked_car_generator [car generator] cars_to_generate_to [int]
Parameter
[car generator]
The handle of the car generator
[int]
0 = off (default), 101 = on
Native analog
SWITCH_CAR_GENERATOR

This opcode switches the car generator created using 014B, which is off by default. Oddly, an integer value less than 101 is meant to be a counter for the number of times the car generator spawns the vehicle before it stops spawning but a bug prevents this feature from working.

Keywords

set, parked, car, vehicle, generator, switch