_ANIMPOSTFX_SET_POTENCY
Sets the potency of the post effect effectName.
Signature
void _ANIMPOSTFX_SET_POTENCY(const char* effectName, int p1, float potency); // 0xF972F0AB16DC5260 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | effectName | const char* |
| 2 | p1 | int |
| 3 | potency | float |
Facts
| Name | _ANIMPOSTFX_SET_POTENCY |
|---|---|
| Hash | 0xF972F0AB16DC5260 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xF972F0AB16DC5260, -- _ANIMPOSTFX_SET_POTENCY
"text", -- const char* effectName
0, -- int p1
0.0 -- float potency
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xF972F0AB16DC5260", // _ANIMPOSTFX_SET_POTENCY
"text", // const char* effectName
0, // int p1
0.0 // float potency
);Function.Call((Hash)0xF972F0AB16DC5260, // _ANIMPOSTFX_SET_POTENCY
"text", // const char* effectName
0, // int p1
0.0f // float potency
);Related GRAPHICS natives
- _ANIMPOSTFX_SET_POSTFX_COLOR
- _ANIMPOSTFX_SET_STRENGTH
- _ANIMPOSTFX_SET_TO_UNLOAD
- _ANIMPOSTFX_STOP_STACKHASH_POSTFX
- _ANIMPOSTFX_STOP_TAG
- _ANIMPOSTFX_CLEAR_EFFECT
- _ANIMPOSTFX_GET_STACKHASH
- _ANIMPOSTFX_HAS_EVENT_TRIGGERED
- _ANIMPOSTFX_HAS_LOADED
- _ANIMPOSTFX_IS_STACKHASH_PLAYING
- _ANIMPOSTFX_IS_TAG_PLAYING
- _ANIMPOSTFX_PLAY_TAG
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.