Difference between revisions of "05EB"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 05EB=2,%1d% %2d%
+
| games      = {{Icon|SA}}
 +
| command    = START_PLAYBACK_RECORDED_CAR
 
| description = Assign vehicle to a [[Carrec|path]]
 
| description = Assign vehicle to a [[Carrec|path]]
| p1          = Existing vehicle handle
+
| syntax1    = 05EB: assign_car [''car handle''] to_path [''int'']
| p2          = Loaded [[Carrec#List of paths in San Andreas|path ID]]
+
| p1t        = [''car handle'']
| game        = [[San Andreas]]
+
| p1d        = The handle of the vehicle
 +
| p2t        = [''int'']
 +
| p2d        = Loaded [[Carrec#List of paths in San Andreas|path ID]]
 
}}
 
}}
 +
 
This opcode assigns a path for a vehicle to travel on. Using this opcode requires the path to be loaded through [[07C0]] or else the game will crash.
 
This opcode assigns a path for a vehicle to travel on. Using this opcode requires the path to be loaded through [[07C0]] or else the game will crash.
  
==Keywords==
+
== Keywords ==
 
assign, car, vehicle, movement, path
 
assign, car, vehicle, movement, path
 
[[Category:OpCodes]]
 

Revision as of 20:15, 9 June 2016

San Andreas START_PLAYBACK_RECORDED_CAR


Description
Assign vehicle to a path
Syntax
05EB: assign_car [car handle] to_path [int]
Parameter
[car handle]
The handle of the vehicle
[int]
Loaded path ID

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

Keywords

assign, car, vehicle, movement, path