RedM Natives

IS_MINIGAME_IN_PROGRESS

Hash0xF4D8BCD052E7EA1B
Runtime nameIsMinigameInProgress
NamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x2B4A15E44DE0F478

Signature

BOOL IS_MINIGAME_IN_PROGRESS();

Returns BOOL

Usage

Lua
local retval = IsMinigameInProgress()

-- always works, by hash
local retval = Citizen.InvokeNative(0xF4D8BCD052E7EA1B, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsMinigameInProgress();

// by hash
const retval = Citizen.invokeNative('0xF4D8BCD052E7EA1B', Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0xF4D8BCD052E7EA1B);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.