MiscClient

isMinigameInProgress

IS_MINIGAME_IN_PROGRESS0x2B4A15E44DE0F478

The GTA V native IS_MINIGAME_IN_PROGRESS of the MISC namespace, as LS:MP client scripts call it: the global function isMinigameInProgress, in JavaScript and in Lua.

SignatureJavaScript
isMinigameInProgress(): boolean
SignatureLua
isMinigameInProgress(): boolean

Usage

JavaScript
const result = isMinigameInProgress();
Lua
local result = isMinigameInProgress()

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Misc MISC
In the game
BOOL IS_MINIGAME_IN_PROGRESS()
Hash
0x2B4A15E44DE0F478

Open in the interactive natives reference