The Lab
GRAPHICS native

_ANIMPOSTFX_SET_STRENGTH

returns void2 paramsbuild 1207

Sets the strength of the post effect effectName.

Signature

C
void _ANIMPOSTFX_SET_STRENGTH(const char* effectName, float strength); // 0xCAB4DD2D5B2B7246 b1207

Parameters

#NameType
1effectNameconst char*
2strengthfloat

Facts

Facts about _ANIMPOSTFX_SET_STRENGTH
Name
_ANIMPOSTFX_SET_STRENGTH
Hash
0xCAB4DD2D5B2B7246
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(0xCAB4DD2D5B2B7246, -- _ANIMPOSTFX_SET_STRENGTH
  "text", -- const char* effectName
  0.0 -- float strength
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xCAB4DD2D5B2B7246", // _ANIMPOSTFX_SET_STRENGTH
  "text", // const char* effectName
  0.0 // float strength
);
C#
Function.Call((Hash)0xCAB4DD2D5B2B7246, // _ANIMPOSTFX_SET_STRENGTH
  "text", // const char* effectName
  0.0f // float strength
);
All GRAPHICS natives

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