_ANIMPOSTFX_GET_STACKHASH
Returns the stack hash associated with the post effect effectName.
Signature
Hash _ANIMPOSTFX_GET_STACKHASH(const char* effectName); // 0x842CCC9491FFCD9B b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | effectName | const char* |
Facts
| 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.
local hash = Citizen.InvokeNative(0x842CCC9491FFCD9B, -- _ANIMPOSTFX_GET_STACKHASH
"text", -- const char* effectName
Citizen.ResultAsInteger()
)
print(hash)const hash = Citizen.invokeNative("0x842CCC9491FFCD9B", // _ANIMPOSTFX_GET_STACKHASH
"text", // const char* effectName
Citizen.resultAsInteger()
);
console.log(hash)int hash = Function.Call<int>((Hash)0x842CCC9491FFCD9B, // _ANIMPOSTFX_GET_STACKHASH
"text" // const char* effectName
);Related GRAPHICS natives
- _ANIMPOSTFX_IS_STACKHASH_PLAYING
- _ANIMPOSTFX_PRELOAD_POSTFX_BY_STACKHASH
- _ANIMPOSTFX_STOP_STACKHASH_POSTFX
- _ANIMPOSTFX_CLEAR_EFFECT
- _ANIMPOSTFX_HAS_EVENT_TRIGGERED
- _ANIMPOSTFX_HAS_LOADED
- _ANIMPOSTFX_IS_TAG_PLAYING
- _ANIMPOSTFX_PLAY_TAG
- _ANIMPOSTFX_PLAY_TIMED
- _ANIMPOSTFX_PRELOAD_POSTFX
- _ANIMPOSTFX_SET_POSTFX_COLOR
- _ANIMPOSTFX_SET_POTENCY
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.