_ANIMPOSTFX_GET_STACKHASH
Known effects: MP_Trans_SceneToPhoto MP_Trans_WinLose SpectateFilter MP_CharacterCreatorPhoto MP_Trans_PhotoToScene InterrogationHit
Hash
0x842CCC9491FFCD9BRuntime name
AnimpostfxGetStackhashNamespaceGRAPHICS
SideClient
NameCommunity guess
Docs
Since build1207
Signature
Hash _ANIMPOSTFX_GET_STACKHASH(const char* effectName);Parameters
| Name | Type | Description |
|---|---|---|
effectName | const char* | — |
Returns Hash
Description
Known effects: MP_Trans_SceneToPhoto
MP_Trans_WinLose
SpectateFilter
MP_CharacterCreatorPhoto
MP_Trans_PhotoToScene
InterrogationHit
Usage
local retval = AnimpostfxGetStackhash(effectName)
-- always works, by hash
local retval = Citizen.InvokeNative(0x842CCC9491FFCD9B, effectName, Citizen.ResultAsInteger())JavaScript and C#
const retval = AnimpostfxGetStackhash(effectName);
// by hash
const retval = Citizen.invokeNative('0x842CCC9491FFCD9B', effectName, Citizen.returnResultAnyway(), Citizen.resultAsInteger());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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.