{"hash":"0xCAB4DD2D5B2B7246","ns":"GRAPHICS","name":"_ANIMPOSTFX_SET_STRENGTH","slug":"_ANIMPOSTFX_SET_STRENGTH","official":false,"named":true,"luaName":"AnimpostfxSetStrength","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"effectName","type":"const char*"},{"name":"strength","type":"float"}],"summary":"must be called after ANIMPOSTFX_PLAY, strength 0.0f - 1.0f","descriptions":[{"source":"alloc8or","format":"text","body":"must be called after ANIMPOSTFX_PLAY, strength 0.0f - 1.0f"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/GRAPHICS/_ANIMPOSTFX_SET_STRENGTH","markdownUrl":"https://natives.borderlinerp.com/natives/GRAPHICS/_ANIMPOSTFX_SET_STRENGTH.md","snippets":{"lua":"AnimpostfxSetStrength(effectName, strength)","luaInvoke":"Citizen.InvokeNative(0xCAB4DD2D5B2B7246, effectName, strength)","js":"AnimpostfxSetStrength(effectName, strength);","jsInvoke":"Citizen.invokeNative('0xCAB4DD2D5B2B7246', effectName, strength + 0.0000001);","csharp":"Function.Call((Hash)0xCAB4DD2D5B2B7246, effectName, strength);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}