Ui::addBlipForCoord: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
mNo edit summary
 
Line 1: Line 1:
Creates an orange ( default ) Blip-object. Returns a Blip-object which can then be modified.
Creates an orange ( default ) blip. Returns a blip handle which can then be modified using natives.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">mp.game.ui.addBlipForCoord(x, y, z);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ui.addBlipForCoord(x, y, z);</syntaxhighlight>
Line 7: Line 7:
*'''z:''' float
*'''z:''' float
===Return value===
===Return value===
*'''Blip'''
*'''Blip handle'''
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">

Latest revision as of 12:04, 21 November 2021

Creates an orange ( default ) blip. Returns a blip handle which can then be modified using natives.

Syntax

mp.game.ui.addBlipForCoord(x, y, z);

Required Arguments

  • x: float
  • y: float
  • z: float

Return value

  • Blip handle

Example

// todo

See also