RedM Natives

_ANIMPOSTFX_PLAY_TIMED

Hash0x3A9A281FF71249E9
Runtime nameAnimpostfxPlayTimed
NamespaceGRAPHICS
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _ANIMPOSTFX_PLAY_TIMED(const char* effectName, int duration);

Parameters

NameTypeDescription
effectNameconst char*—
durationint—

Returns void

Usage

Lua
AnimpostfxPlayTimed(effectName, duration)

-- always works, by hash
Citizen.InvokeNative(0x3A9A281FF71249E9, effectName, duration)
JavaScript and C#
JavaScript
AnimpostfxPlayTimed(effectName, duration);

// by hash
Citizen.invokeNative('0x3A9A281FF71249E9', effectName, duration);
C#
Function.Call((Hash)0x3A9A281FF71249E9, effectName, duration);
  • 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.