{"hash":"0xD2D9E04C0DF927F4","ns":"GRAPHICS","name":"DRAW_LIGHT_WITH_RANGE","slug":"DRAW_LIGHT_WITH_RANGE","official":true,"named":true,"luaName":"DrawLightWithRange","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"posX","type":"float"},{"name":"posY","type":"float"},{"name":"posZ","type":"float"},{"name":"colorR","type":"int"},{"name":"colorG","type":"int"},{"name":"colorB","type":"int"},{"name":"range","type":"float"},{"name":"intensity","type":"float"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0xF2A1B2771A01DBD4","gtaJhash":"0x6A396E9A","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/GRAPHICS/DRAW_LIGHT_WITH_RANGE","markdownUrl":"https://natives.borderlinerp.com/natives/GRAPHICS/DRAW_LIGHT_WITH_RANGE.md","snippets":{"lua":"DrawLightWithRange(posX, posY, posZ, colorR, colorG, colorB, range, intensity)","luaInvoke":"Citizen.InvokeNative(0xD2D9E04C0DF927F4, posX, posY, posZ, colorR, colorG, colorB, range, intensity)","js":"DrawLightWithRange(posX, posY, posZ, colorR, colorG, colorB, range, intensity);","jsInvoke":"Citizen.invokeNative('0xD2D9E04C0DF927F4', posX + 0.0000001, posY + 0.0000001, posZ + 0.0000001, colorR, colorG, colorB, range + 0.0000001, intensity + 0.0000001);","csharp":"Function.Call((Hash)0xD2D9E04C0DF927F4, posX, posY, posZ, colorR, colorG, colorB, range, intensity);","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."]}}