The Lab
MISC native

IS_MINIGAME_IN_PROGRESS

returns BOOL0 paramsbuild 1207

Returns true while a minigame is in progress.

Signature

C
BOOL IS_MINIGAME_IN_PROGRESS(); // 0xF4D8BCD052E7EA1B b1207

Parameters

This native takes no parameters.

Facts

Facts about IS_MINIGAME_IN_PROGRESS
Name
IS_MINIGAME_IN_PROGRESS
Hash
0xF4D8BCD052E7EA1B
Namespace
Returns
BOOL
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xF4D8BCD052E7EA1B) -- IS_MINIGAME_IN_PROGRESS
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0xF4D8BCD052E7EA1B", // IS_MINIGAME_IN_PROGRESS
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0xF4D8BCD052E7EA1B); // IS_MINIGAME_IN_PROGRESS
All MISC natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.