Ui::addBlipForCoord: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
mNo edit summary
 
(One intermediate revision by one other user not shown)
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">
Line 15: Line 15:
{{Ui_s_function_c}}
{{Ui_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:UI API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

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