RedM Natives

_ANIMPOSTFX_GET_STACKHASH

Known effects: MP_Trans_SceneToPhoto MP_Trans_WinLose SpectateFilter MP_CharacterCreatorPhoto MP_Trans_PhotoToScene InterrogationHit

Hash0x842CCC9491FFCD9B
Runtime nameAnimpostfxGetStackhash
NamespaceGRAPHICS
SideClient
NameCommunity guess
Docs
Since build1207

Signature

Hash _ANIMPOSTFX_GET_STACKHASH(const char* effectName);

Parameters

NameTypeDescription
effectNameconst char*—

Returns Hash

Description

Known effects: MP_Trans_SceneToPhoto
MP_Trans_WinLose
SpectateFilter
MP_CharacterCreatorPhoto
MP_Trans_PhotoToScene
InterrogationHit

Usage

Lua
local retval = AnimpostfxGetStackhash(effectName)

-- always works, by hash
local retval = Citizen.InvokeNative(0x842CCC9491FFCD9B, effectName, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = AnimpostfxGetStackhash(effectName);

// by hash
const retval = Citizen.invokeNative('0x842CCC9491FFCD9B', effectName, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x842CCC9491FFCD9B, effectName);
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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