Ui::showLoadingPrompt: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
No edit summary
 
Line 13: Line 13:
{{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 14:58, 20 May 2017

This does NOT get called per frame. Call it once to show, then use UI::_REMOVE_LOADING_PROMPT to remove it

Changes the the above native's (UI::_SET_LOADING_PROMPT_TEXT_ENTRY) spinning circle type.

Types:
enum LoadingPromptTypes
{
LOADING_PROMPT_LEFT,
LOADING_PROMPT_LEFT_2,
LOADING_PROMPT_LEFT_3,
SAVE_PROMPT_LEFT,
LOADING_PROMPT_RIGHT,
};

Syntax

mp.game.ui.showLoadingPrompt(busySpinnerType);

Required Arguments

  • busySpinnerType: int

Return value

  • Undefined

Example

// todo

See also