Difference between revisions of "01C8"
(New page: <code>01C8=5,%1d% %2d% %3o% %4d% %5d%</code><br> '''Description''': Creates an actor in a passenger seat of a vehicle<br> '''Parameter 1''': Existing vehicle handle<br> '''Parameter 2''': ...) |
m |
||
Line 20: | Line 20: | ||
<code>01C8=5,%5d% %2d% %3o% %1d% %4d%</code><br> | <code>01C8=5,%5d% %2d% %3o% %1d% %4d%</code><br> | ||
The parameters are mixed around. This depends on which sascm.ini file you use.<br> | The parameters are mixed around. This depends on which sascm.ini file you use.<br> | ||
− | [[ | + | [[Sanny Builder]] by default: |
<code>01C8: 1@ = create_actor_pedtype 5 model #BFORI in_car 0@ passenger_seat 0</code> | <code>01C8: 1@ = create_actor_pedtype 5 model #BFORI in_car 0@ passenger_seat 0</code> | ||
Revision as of 21:45, 27 August 2008
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