Difference between revisions of "0840"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{OpCode | ini = 0840=2, %1d% %2d%% | description = Links a vehicle to an interior number. | p1 = Vehicle Handle | p2 = Interior Handle | game …')
 
 
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 0840=2, %1d%  %2d%%
+
| games      = {{Icon|SA}}
| description = Links a vehicle to an interior number.
+
| command    = SET_VEHICLE_AREA_VISIBLE
| p1          = Vehicle Handle
+
| description = Links the vehicle to the [[interior]] number
| p2          = Interior Handle
+
| syntax1    = 0840: link_car [''car handle''] to_interior [''int'']
| game        = [[San Andreas]]
+
| p1t        = [''car handle'']
 +
| p1d        = The handle of the vehicle
 +
| p2t        = [''int'']
 +
| p2d        = [[Interior#San Andreas|Interior number]]
 
}}
 
}}
  
This opcode links a vehicle to an interior number.
+
This opcode links the vehicle to the interior number.
  
==Sanny Builder Example==
+
== Keywords ==
<source lang="scm">0840: link_car 379@(253@,16i) to_interior 221@ </source>
+
set, interior, link, car, vehicle, area, visible
 
 
==Keywords==
 
interior, link, car, vehicle
 

Latest revision as of 16:57, 28 January 2016

San Andreas SET_VEHICLE_AREA_VISIBLE


Description
Links the vehicle to the interior number
Syntax
0840: link_car [car handle] to_interior [int]
Parameter
[car handle]
The handle of the vehicle
[int]
Interior number

This opcode links the vehicle to the interior number.

Keywords

set, interior, link, car, vehicle, area, visible