0129

From GTAMods Wiki
Revision as of 00:18, 28 December 2008 by Spaceeinstein (talk | contribs) (New page: {{OpCode | ini = 0129=4,%4d% %2d% %3o% %1d% | description = Creates a character in the driver seat of a vehicle | p1 = Existing vehicle handle | p2 = Ped type...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{games}}}


Description
Creates a character in the driver seat of a vehicle
Syntax
{{{syntax1}}}
Parameter
Native analog
CREATE_CHAR_INSIDE_CAR

This creates a character in the driver seat of a vehicle. Using this opcode requires an existing vehicle and 0247 to load the character model or else the game could crash. Note that the parameters are mixed around.

Sanny Builder example:

0129: 1@ = create_actor_pedtype 5 model #BFORI in_car 0@ driverseat

Note

The above format is more commonly used. The actual format of this opcode is in order:
0129=4,%1d% %2d% %3o% %4d%
The format to use depends on which INI file you use.

Keywords

create, actor, character, pedtype, model, vehicle, car, driver