Difference between revisions of "0186"

From GTAMods Wiki
Jump to navigation Jump to search
(created page)
 
m
Line 7: Line 7:
 
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
 
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
 
}}
 
}}
This opcode creates a square blip denoting the location of the vehicle and an arrow above the vehicle. In GTA III the arrow would be blue, in Vice City it would be pink, and in San Andreas it would be red. The default size of the blip (usually set by opcode [[0168]]) is 3. Note that the parameters are swapped.
+
This opcode creates a square blip denoting the location of the vehicle and an arrow above the vehicle. In GTA III the arrow would be blue, in Vice City it would be pink, and in San Andreas it would be red. The default size of the blip (usually set by opcode [[0168]]) is 3. The blip and arrow can be removed using opcode [[0164]]. Note that the parameters are swapped.
 
[[Sanny Builder]] example:<source lang="scm">0186: 1@ = create_marker_above_car 0@</source>
 
[[Sanny Builder]] example:<source lang="scm">0186: 1@ = create_marker_above_car 0@</source>
  
Line 20: Line 20:
 
==Keywords==
 
==Keywords==
 
create, set, marker, blip, arrow, car, vehicle
 
create, set, marker, blip, arrow, car, vehicle
 +
 +
==See also==
 +
*[[0187]] - For characters
 +
*[[0188]] - For objects

Revision as of 17:18, 26 September 2010

0186 in action in Vice City

{{{games}}}


Description
Creates a blip and an arrow on the vehicle
Syntax
{{{syntax1}}}
Parameter

This opcode creates a square blip denoting the location of the vehicle and an arrow above the vehicle. In GTA III the arrow would be blue, in Vice City it would be pink, and in San Andreas it would be red. The default size of the blip (usually set by opcode 0168) is 3. The blip and arrow can be removed using opcode 0164. Note that the parameters are swapped.

Sanny Builder example:

0186: 1@ = create_marker_above_car 0@

Notes

The above format is more commonly used. The actual format of this opcode is in order:
0186=2,%1d% %2d%
The format to use depends on which INI file you use.

In Sanny Builder, this opcode is equivalent to the command Marker.CreateAboveCar.

Example:

Marker.CreateAboveCar(1@, 0@)

Keywords

create, set, marker, blip, arrow, car, vehicle

See also

  • 0187 - For characters
  • 0188 - For objects