Difference between revisions of "0186"
Jump to navigation
Jump to search
(link to blip page instead) |
|||
Line 3: | Line 3: | ||
<hr /> | <hr /> | ||
'''Description''' | '''Description''' | ||
− | : Adds a | + | : Adds a [[blip]] and a marker to the vehicle |
'''Syntax''' | '''Syntax''' | ||
: 0186: [''var''] = create_marker_above_car [''car handle''] | : 0186: [''var''] = create_marker_above_car [''car handle''] | ||
Line 13: | Line 13: | ||
:: The handle of the vehicle | :: The handle of the vehicle | ||
− | This opcode | + | This opcode adds a square blip in the radar denoting the location of the vehicle and a marker above the vehicle. In GTA III the arrow is blue, in Vice City it is pink, and in San Andreas it is red. The opcode is almost equivalent to [[0161]] but the properties of the blip are preset. The default properties of the blip, which can be changed using other opcodes, are: |
+ | * [[0165|Color]]: 0 (red) in GTA III and 4 (yellow) in Vice City | ||
+ | * [[0168|Scale]]: 3 | ||
+ | * [[018B|Display]]: 3 (both blip and marker) | ||
+ | Both the blip and marker can be removed using opcode [[0164]]. | ||
== Keywords == | == Keywords == |
Revision as of 21:51, 31 August 2015
Description
- Adds a blip and a marker to the vehicle
Syntax
- 0186: [var] = create_marker_above_car [car handle]
- [var] = Marker.CreateAboveCar( [car handle] )
Parameter
- [var]
- Variable to store the handle of the blip
- [car handle]
- The handle of the vehicle
This opcode adds a square blip in the radar denoting the location of the vehicle and a marker above the vehicle. In GTA III the arrow is blue, in Vice City it is pink, and in San Andreas it is red. The opcode is almost equivalent to 0161 but the properties of the blip are preset. The default properties of the blip, which can be changed using other opcodes, are:
Both the blip and marker can be removed using opcode 0164.
Keywords
create, set, marker, blip, arrow, car, vehicle