{"hash":"0x3C61B52B00848C26","ns":"GRAPHICS","name":"SET_PARTICLE_FX_AMBIENT_COLOUR","slug":"SET_PARTICLE_FX_AMBIENT_COLOUR","official":true,"named":true,"luaName":"SetParticleFxAmbientColour","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"entity","type":"Entity"},{"name":"p1","type":"const char*"},{"name":"r","type":"float"},{"name":"g","type":"float"},{"name":"b","type":"float"}],"summary":"Related to Campfires.","descriptions":[{"source":"alloc8or","format":"text","body":"Related to Campfires.\np1: AMB_BONFIRE_MP, AMB_CAMPFIRE_LRG_MP"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/GRAPHICS/SET_PARTICLE_FX_AMBIENT_COLOUR","markdownUrl":"https://natives.borderlinerp.com/natives/GRAPHICS/SET_PARTICLE_FX_AMBIENT_COLOUR.md","snippets":{"lua":"SetParticleFxAmbientColour(entity, p1, r, g, b)","luaInvoke":"Citizen.InvokeNative(0x3C61B52B00848C26, entity, p1, r, g, b)","js":"SetParticleFxAmbientColour(entity, p1, r, g, b);","jsInvoke":"Citizen.invokeNative('0x3C61B52B00848C26', entity, p1, r + 0.0000001, g + 0.0000001, b + 0.0000001);","csharp":"Function.Call((Hash)0x3C61B52B00848C26, entity, p1, r, g, b);","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."]}}