04EC

From GTAMods Wiki
Jump to navigation Jump to search

Vice City SET_ZONE_CIVILIAN_CAR_INFO


Description
Sets the zone's vehicle class info
Syntax
04EC: set_zone_car_class_info '[string]' [int1] [int2] [int3] [int4] [int5] [int6] [int7] [int8] [int9] [int10] [int11] [int12]
Parameter
[string]
Zone's name as defined in the ZONE section of an IPL or ZON file, must be type 2
[int1]
Time (0 = night: 19:00 - 8:00, 1 = day: 8:00 - 19:00)
[int2]
Density of normal class vehicles
[int3]
Density of poorfamily class vehicles
[int4]
Density of richfamily class vehicles
[int5]
Density of executive class vehicles
[int6]
Density of worker class vehicles
[int7]
Density of big class vehicles
[int8]
Density of taxi class vehicles
[int9]
Density of moped class vehicles
[int10]
Density of motorbike class vehicles
[int11]
Density of leisureboat class vehicles
[int12]
Density of workerboat class vehicles

This opcode sets the zone's vehicle class info. The class of a vehicle is defined in the CARS section of the item definition file. The densities have values with a range between 0 and 2000. All the values have to add up to 2000 or else other class vehicles will spawn along with yours or yours will not spawn correctly.

Keywords

set, zone, class, info

External link