Blip::setFlashes: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
Function to set a blip flashes (blinking).
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">blip.setFlashes(toggle);</syntaxhighlight>
<syntaxhighlight lang="javascript">blip.setFlashes(toggle);</syntaxhighlight>
=== Required Arguments ===
===Required Argument===
*'''toggle:''' Boolean
* '''toggle:''' {{RageType|Boolean}}
===Return value===
===Return value===
*'''Undefined'''
* '''Undefined'''
==Example==
==Example==
{{ClientsideCode|
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
// todo
let flagBlip = mp.blips.new(164, new mp.Vector3(407.95, -961.05, 0));
flagBlip.setFlashes(true);
mp.gui.chat.push("Go to flag marked in map");
</syntaxhighlight>
</syntaxhighlight>
}}
==See also==
==See also==
{{Blip_s_function_c}}
{{Blip_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:Blip API]]
[[Category:Blip API]]
[[Category:TODO: Example]]
[[Category:Client-side Function]]

Latest revision as of 08:59, 6 May 2019