_ANIMPOSTFX_HAS_EVENT_TRIGGERED
Returns true if the post effect effectName has fired the event eventType.
Signature
BOOL _ANIMPOSTFX_HAS_EVENT_TRIGGERED(const char* effectName, int eventType, BOOL bPeekOnly, BOOL* bIsRegistered); // 0xFBF161FCFEC8589E b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | effectName | const char* |
| 2 | eventType | int |
| 3 | bPeekOnly | BOOL |
| 4 | bIsRegistered | BOOL* (out pointer) |
Facts
| Name | _ANIMPOSTFX_HAS_EVENT_TRIGGERED |
|---|---|
| Hash | 0xFBF161FCFEC8589E |
| 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, bIsRegistered = Citizen.InvokeNative(0xFBF161FCFEC8589E, -- _ANIMPOSTFX_HAS_EVENT_TRIGGERED
"text", -- const char* effectName
0, -- int eventType
false, -- BOOL bPeekOnly
Citizen.PointerValueInt(), -- BOOL* bIsRegistered
Citizen.ReturnResultAnyway()
)
if result then
-- ...
endconst [result, bIsRegistered] = Citizen.invokeNative("0xFBF161FCFEC8589E", // _ANIMPOSTFX_HAS_EVENT_TRIGGERED
"text", // const char* effectName
0, // int eventType
false, // BOOL bPeekOnly
Citizen.pointerValueInt(), // BOOL* bIsRegistered
Citizen.returnResultAnyway()
);
if (result) {
// ...
}var bIsRegisteredArg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0xFBF161FCFEC8589E, // _ANIMPOSTFX_HAS_EVENT_TRIGGERED
"text", // const char* effectName
0, // int eventType
false, // BOOL bPeekOnly
bIsRegisteredArg // BOOL* bIsRegistered
);
bool bIsRegistered = bIsRegisteredArg.GetResult<bool>();Related GRAPHICS natives
- _ANIMPOSTFX_HAS_LOADED
- ANIMPOSTFX_HAS_EVENT_TRIGGERED_BY_STACKHASH
- _ANIMPOSTFX_CLEAR_EFFECT
- _ANIMPOSTFX_GET_STACKHASH
- _ANIMPOSTFX_IS_STACKHASH_PLAYING
- _ANIMPOSTFX_IS_TAG_PLAYING
- _ANIMPOSTFX_PLAY_TAG
- _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.