01C8

From GTAMods Wiki
Revision as of 21:45, 27 August 2008 by Spaceeinstein (talk | contribs)
Jump to navigation Jump to search

01C8=5,%1d% %2d% %3o% %4d% %5d%
Description: Creates an actor in a passenger seat of a vehicle
Parameter 1: Existing vehicle handle
Parameter 2: Ped type
Parameter 3: DFF model name or ID
Parameter 4: Flag
Parameter 5: Actor handle
Supports: GTA3, Vice City, San Andreas

This creates an actor in a passenger seat of a vehicle. Using this opcode requires 0247 or else the game would crash.

Flags

The flag is the position of the seat that the actor will be created in.
0 Front right seat
1 Rear left seat
2 Rear right seat

Note

Sometimes this opcode is written as this:
01C8=5,%5d% %2d% %3o% %1d% %4d%
The parameters are mixed around. This depends on which sascm.ini file you use.
Sanny Builder by default: 01C8: 1@ = create_actor_pedtype 5 model #BFORI in_car 0@ passenger_seat 0

Keywords

create, actor, pedtype, model, vehicle