The Lab
GRAPHICS native

_ANIMPOSTFX_SET_POTENCY

returns void3 paramsbuild 1207

Sets the potency of the post effect effectName.

Signature

C
void _ANIMPOSTFX_SET_POTENCY(const char* effectName, int p1, float potency); // 0xF972F0AB16DC5260 b1207

Parameters

#NameType
1effectNameconst char*
2p1int
3potencyfloat

Facts

Facts about _ANIMPOSTFX_SET_POTENCY
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.

Lua
Citizen.InvokeNative(0xF972F0AB16DC5260, -- _ANIMPOSTFX_SET_POTENCY
  "text", -- const char* effectName
  0, -- int p1
  0.0 -- float potency
)
JavaScript
// 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
);
C#
Function.Call((Hash)0xF972F0AB16DC5260, // _ANIMPOSTFX_SET_POTENCY
  "text", // const char* effectName
  0, // int p1
  0.0f // float potency
);
All GRAPHICS natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.