The Lab
GRAPHICS native

_SET_MASK_OVERLAY

returns void1 parambuild 1207

Applies the screen mask overlay maskName.

Signature

C
void _SET_MASK_OVERLAY(const char* maskName); // 0x21F00E08CBB5F37B b1207

Parameters

#NameType
1maskNameconst char*

Facts

Facts about _SET_MASK_OVERLAY
Name
_SET_MASK_OVERLAY
Hash
0x21F00E08CBB5F37B
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0x21F00E08CBB5F37B, -- _SET_MASK_OVERLAY
  "text" -- const char* maskName
)
JavaScript
Citizen.invokeNative("0x21F00E08CBB5F37B", // _SET_MASK_OVERLAY
  "text" // const char* maskName
);
C#
Function.Call((Hash)0x21F00E08CBB5F37B, // _SET_MASK_OVERLAY
  "text" // const char* maskName
);
All GRAPHICS natives

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