Ui::setGpsFlags: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
MulleDK19: Only the script that originally called SET_GPS_FLAGS can set them again. Another script cannot set the flags, until the first script that called it has called CLEAR_GPS_FLAGS.<br><br>Doesn't seem like the flags are actually read by the game at all.
MulleDK19: Only the script that originally called SET_GPS_FLAGS can set them again. Another script cannot set the flags, until the first script that called it has called CLEAR_GPS_FLAGS.<br><br>Doesn't seem like the flags are actually read by the game at all.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">ui.setGpsFlags(p0, p1);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ui.setGpsFlags(p0, p1);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''p0:''' int
*'''p0:''' int
Line 9: Line 9:
==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

MulleDK19: Only the script that originally called SET_GPS_FLAGS can set them again. Another script cannot set the flags, until the first script that called it has called CLEAR_GPS_FLAGS.

Doesn't seem like the flags are actually read by the game at all.

Syntax

mp.game.ui.setGpsFlags(p0, p1);

Required Arguments

  • p0: int
  • p1: float

Return value

  • Undefined

Example

// todo

See also