The Lab
GRAPHICS native

_ANIMPOSTFX_GET_STACKHASH

returns Hash1 parambuild 1207

Returns the stack hash associated with the post effect effectName.

Signature

C
Hash _ANIMPOSTFX_GET_STACKHASH(const char* effectName); // 0x842CCC9491FFCD9B b1207

Parameters

#NameType
1effectNameconst char*

Facts

Facts about _ANIMPOSTFX_GET_STACKHASH
Name
_ANIMPOSTFX_GET_STACKHASH
Hash
0x842CCC9491FFCD9B
Namespace
Returns
Hash
Game build
1207

Examples

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

Lua
local hash = Citizen.InvokeNative(0x842CCC9491FFCD9B, -- _ANIMPOSTFX_GET_STACKHASH
  "text", -- const char* effectName
  Citizen.ResultAsInteger()
)
print(hash)
JavaScript
const hash = Citizen.invokeNative("0x842CCC9491FFCD9B", // _ANIMPOSTFX_GET_STACKHASH
  "text", // const char* effectName
  Citizen.resultAsInteger()
);
console.log(hash)
C#
int hash = Function.Call<int>((Hash)0x842CCC9491FFCD9B, // _ANIMPOSTFX_GET_STACKHASH
  "text" // const char* effectName
);
All GRAPHICS natives

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