Difference between revisions of "018A"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{OpCode | ini = 018A=4,%4d% = %1d% %2d% %3d% | description = Creates a yellow blip on the map at the chosen coordinates | p1 = Garage name (Short String) | ga…')
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 018A=4,%4d% =  %1d% %2d% %3d%
+
| games      = {{Icon|t}}
| description = Creates a yellow blip on the map at the chosen coordinates
+
| command    = ADD_BLIP_FOR_COORD
| p1          = Garage name (Short String)
+
| description = Adds a [[blip]] to the coordinates point
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
| syntax1    = 018A: [''var''] = create_checkpoint_at [''flt1''] [''flt2''] [''flt3'']
 +
| p1t        = [''flt1'']
 +
| p1d        = X-coordinate
 +
| p2t        = [''flt2'']
 +
| p2d        = Y-coordinate
 +
| p3t        = [''flt3'']
 +
| p3d        = Z-coordinate (or ≤''-100.0'' for [[02CE|ground z]])
 +
| p4t        = [''var'']
 +
| p4d        = Variable to store the handle of the blip
 +
| native      = [[ADD_BLIP_FOR_COORD]]
 
}}
 
}}
This opcode creates a yellow blip on the map at the chosen coordinates which can be disabled using opcode [[0164]]. 
 
  
==Sanny Builder Example==
+
This opcode adds a square blip in the radar to the coordinates point. A marker cannot be displayed for this blip. The default properties of the blip, which can be changed using other opcodes, are:
 +
* [[0165|Color]]: 5 (purple)
 +
* [[0168|Scale]]: 3
 +
* [[018B|Display]]: 3 (only blip though, marker cannot be displayed)
 +
The blip can be removed using opcode [[0164]].
  
<source lang="scm">018A: 1@ = create_checkpoint_at 14@ 15@ 16@ </source>
+
== Keywords ==
 
+
create, set, marker, blip, checkpoint, coord, coordinates
==Keywords==
 
radar, blip, checkpoint, create
 

Latest revision as of 00:16, 20 November 2016

GTA III Vice City San Andreas ADD_BLIP_FOR_COORD


Description
Adds a blip to the coordinates point
Syntax
018A: [var] = create_checkpoint_at [flt1] [flt2] [flt3]
Parameter
[flt1]
X-coordinate
[flt2]
Y-coordinate
[flt3]
Z-coordinate (or ≤-100.0 for ground z)
[var]
Variable to store the handle of the blip
Native analog
ADD_BLIP_FOR_COORD

This opcode adds a square blip in the radar to the coordinates point. A marker cannot be displayed for this blip. The default properties of the blip, which can be changed using other opcodes, are:

The blip can be removed using opcode 0164.

Keywords

create, set, marker, blip, checkpoint, coord, coordinates