Ui::addBlipForCoord: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
Creates an orange ( default ) Blip-object. Returns a Blip-object which can then be modified.
Creates an orange ( default ) Blip-object. Returns a Blip-object which can then be modified.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">ui.addBlipForCoord(x, y, z);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ui.addBlipForCoord(x, y, z);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''x:''' float
*'''x:''' float
Line 10: Line 10:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Ui_function_c}}
{{Ui_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 21:33, 6 May 2017

Creates an orange ( default ) Blip-object. Returns a Blip-object which can then be modified.

Syntax

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

Required Arguments

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

Return value

  • Blip

Example

// todo

See also