Skip to main content

Ui::showLoadingPrompt

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

```js mp.game.ui.showLoadingPrompt(busySpinnerType); ```

Required Arguments

  • busySpinnerType: int

Return value

  • Undefined

Example

```js // todo ```

See also