Difference between revisions of "05EB"

From GTAMods Wiki
Jump to navigation Jump to search
 
m
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<code>05EB=2,%1d% %2d%</code><br>
+
{{OpCode
'''Description''': Assign vehicle to path<br>
+
| games      = {{Icon|SA}}
'''Parameter 1''': Vehicle ID<br>
+
| command    = START_PLAYBACK_RECORDED_CAR
'''Parameter 2''': Path ID<br>
+
| description = Assigns the vehicle to the [[Carrec|car recording]]
'''Supports''': San Andreas<br>
+
| syntax1    = 05EB: assign_car [''car handle''] to_path [''int'']
 +
| p1t        = [''car handle'']
 +
| p1d        = The handle of the vehicle
 +
| p2t        = [''int'']
 +
| p2d        = Loaded [[Carrec#List of paths in San Andreas|car recording]]
 +
}}
  
This opcode assigns a path for a vehicle to travel on.
+
This opcode assigns the vehicle to the car recording to travel on. Using this opcode requires the car recording to be loaded through [[07C0]] or else the game will crash.
  
==Keywords==
+
== Keywords ==
assign, vehicle, movement, path
+
start, playback, assign, car, vehicle, movement, path, recorded, recording, carrec
 
 
[[Category:OpCodes]]
 

Latest revision as of 23:21, 18 June 2016

San Andreas START_PLAYBACK_RECORDED_CAR


Description
Assigns the vehicle to the car recording
Syntax
05EB: assign_car [car handle] to_path [int]
Parameter
[car handle]
The handle of the vehicle
[int]
Loaded car recording

This opcode assigns the vehicle to the car recording to travel on. Using this opcode requires the car recording to be loaded through 07C0 or else the game will crash.

Keywords

start, playback, assign, car, vehicle, movement, path, recorded, recording, carrec