_ANIMPOSTFX_IS_TAG_PLAYING
Returns true if the tagged post effect effectName is playing.
Signature
BOOL _ANIMPOSTFX_IS_TAG_PLAYING(const char* effectName); // 0x2D4F9C852CE8A253 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | effectName | const char* |
Facts
| Name | _ANIMPOSTFX_IS_TAG_PLAYING |
|---|---|
| Hash | 0x2D4F9C852CE8A253 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x2D4F9C852CE8A253, -- _ANIMPOSTFX_IS_TAG_PLAYING
"text" -- const char* effectName
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x2D4F9C852CE8A253", // _ANIMPOSTFX_IS_TAG_PLAYING
"text", // const char* effectName
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x2D4F9C852CE8A253, // _ANIMPOSTFX_IS_TAG_PLAYING
"text" // const char* effectName
);Related GRAPHICS natives
- _ANIMPOSTFX_IS_STACKHASH_PLAYING
- _ANIMPOSTFX_PLAY_TAG
- _ANIMPOSTFX_STOP_TAG
- _ANIMPOSTFX_CLEAR_EFFECT
- _ANIMPOSTFX_GET_STACKHASH
- _ANIMPOSTFX_HAS_EVENT_TRIGGERED
- _ANIMPOSTFX_HAS_LOADED
- _ANIMPOSTFX_PLAY_TIMED
- _ANIMPOSTFX_PRELOAD_POSTFX
- _ANIMPOSTFX_PRELOAD_POSTFX_BY_STACKHASH
- _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.