Difference between revisions of "03C5"

From GTAMods Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
<code>03C5=4,%1d% %2d% %3d% %4d%</code><br>
+
{{OpCode
'''Description''': Creates a random, empty car<br>
+
| ini        = 03C5=4,%1d% %2d% %3d% %4d%
'''Parameter 1''': X-coordinate<br>
+
| description = Creates a random, empty car usually for car parks
'''Parameter 2''': Y-coordinate<br>
+
| p1          = x-coordinate
'''Parameter 3''': Z-coordinate<br>
+
| p2          = y-coordinate
'''Parameter 4''': [[Angle]]<br>
+
| p3          = z-coordinate
'''Supports''': GTA3, Vice City, San Andreas<br>
+
| p4          = [[angle]]
 
+
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]], [[Liberty City Stories]] (03CA), [[Vice City Stories]] (024E)
This creates a random car. References to the car will be removed once it is spawned so if you leave the car alone, it would disappear. The opcode needs to be called again if you want to spawn another random car. Unfortunately, you cannot assign any flags to this car with this opcode. This opcode is mainly used in large carparks or parking lots. The cars it will spawn tends to be the ones already spawned on the streets. I do not know how it selects which vehicle to spawn.
+
| native      = [[CREATE_RANDOM_CAR_FOR_CAR_PARK]]
 +
}}
 +
This creates a random car. References to the car will be removed once it is spawned so if you leave the car alone, it would disappear. The opcode needs to be called again if you want to spawn another random car. Unfortunately, you cannot assign any flags to this car with this opcode. This opcode is mainly used in large carparks or parking lots. The cars it will spawn tends to be the ones already spawned on the streets.
  
 
==Keywords==
 
==Keywords==
 
create, car, vehicle, random, carpark
 
create, car, vehicle, random, carpark
 
[[Category:OpCodes]]
 

Revision as of 08:36, 23 January 2010

{{{games}}}


Description
Creates a random, empty car usually for car parks
Syntax
{{{syntax1}}}
Parameter
Native analog
CREATE_RANDOM_CAR_FOR_CAR_PARK

This creates a random car. References to the car will be removed once it is spawned so if you leave the car alone, it would disappear. The opcode needs to be called again if you want to spawn another random car. Unfortunately, you cannot assign any flags to this car with this opcode. This opcode is mainly used in large carparks or parking lots. The cars it will spawn tends to be the ones already spawned on the streets.

Keywords

create, car, vehicle, random, carpark