_ANIMPOSTFX_HAS_LOADED
Returns true if the post effect effectName is loaded and ready to play.
Signature
BOOL _ANIMPOSTFX_HAS_LOADED(const char* effectName); // 0xBF2DD155B2ADCD0A b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | effectName | const char* |
Facts
| Name | _ANIMPOSTFX_HAS_LOADED |
|---|---|
| Hash | 0xBF2DD155B2ADCD0A |
| 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(0xBF2DD155B2ADCD0A, -- _ANIMPOSTFX_HAS_LOADED
"text" -- const char* effectName
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xBF2DD155B2ADCD0A", // _ANIMPOSTFX_HAS_LOADED
"text", // const char* effectName
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xBF2DD155B2ADCD0A, // _ANIMPOSTFX_HAS_LOADED
"text" // const char* effectName
);Related GRAPHICS natives
- _ANIMPOSTFX_HAS_EVENT_TRIGGERED
- _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
- _ANIMPOSTFX_SET_STRENGTH
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.