|Supported games:||GTA SA, GTA IV|
|Short description:||Creates a parked car generator|
CARS is a section in the Item Placement file introduced in San Andreas. This section is a simplified method to create parked cars. Usually parked cars are created by the scripts, but just as unique stunt jumps they can be written inside plain text or binary IPLs. Since parked car generators are related to savegames a new game must be started before they are applied to the game. It is possible to create parked car generators without starting a new game using CLEO.
CARS or parked car generators are used to place permanently, randomly or limited cars which are placed (parked) around the world. For this they need a position, a rotation, information about which car should be placed, the car's colors and some additional information.
San Andreas Edit
PosX, PosY, PosZ, Angle, CarID, PrimCol, SecCol, ForceSpawn, Alarm, DoorLock, Unknown1, Unknown2
|The real world coordinates of the car as floating point values.|
|The angle of the car in radians (degrees/~57.2958).|
|The ID number of the car as defined in the IDE or -1 for random car parks (influenced by the |
|A car color defined in the |
|Vehicles spawn more reliably if this is set to 1.|
|The probability of triggering the alarm system (0 - 100).|
|The probability that the doors of the vehicle is locked (0 - 100).|
Binary format Edit
GTA IV Edit
- 014B – Creates a parked car generator in SCM
- 014C – Sets the flags for the parked car generator.
- 09E2 – Creates a parked car generator where the car has a special numplate text.
- 0A17 – Sets a parked car generator as owned by the player
Native functions Edit
- CREATE CAR GENERATOR
- CREATE CAR GENERATOR WITH PLATE
- CREATE CARS ON GENERATORS IN AREA
- DELETE CAR GENERATOR
- DISABLE CAR GENERATORS
- DISABLE CAR GENERATORS WITH HELI
- FORCE GENERATE PARKED CARS TOO CLOSE TO OTHERS
- IS OUR PLAYER HIGHER PRIORITY FOR CAR GENERATION
- REMOVE CARS FROM GENERATORS IN AREA
- SET ALL CAR GENERATORS BACK TO ACTIVE
- SET CAR GENERATORS ACTIVE IN AREA
- SET HAS BEEN OWNED FOR CAR GENERATOR
- SWITCH CAR GENERATOR
SA Car generators in save files
SA Creating a parked car generator via scripts.