Ui::removeNotification: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
Removes a notification instantly instead of waiting for it to disappear
Removes a notification instantly instead of waiting for it to disappear
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">ui.removeNotification(notifactionId);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ui.removeNotification(notifactionId);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''notifactionId:''' int
*'''notifactionId:''' int
Line 8: Line 8:
==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:34, 6 May 2017

Removes a notification instantly instead of waiting for it to disappear

Syntax

mp.game.ui.removeNotification(notifactionId);

Required Arguments

  • notifactionId: int

Return value

  • Undefined

Example

// todo

See also