{"hash":"0x7FCD49388BC9B775","ns":"OBJECT","name":"_SET_OBJECT_LANTERN_LIGHT_DISABLED","slug":"_SET_OBJECT_LANTERN_LIGHT_DISABLED","official":false,"named":true,"luaName":"SetObjectLanternLightDisabled","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"object","type":"Object"},{"name":"toggle","type":"BOOL"}],"summary":"Enables or disables light emission for a dropped lantern object.","descriptions":[{"source":"alloc8or","format":"text","body":"Enables or disables light emission for a dropped lantern object.\nPrimarily used on lantern weapon entities after they have been dropped.\nHas no effect while the lantern is equipped/held by a ped.\nThe toggle behaves as a disable-light flag: true turns the lantern light off, false leaves it on."},{"source":"vorp","format":"text","body":"Primarily used on lantern weapon entities after they have been dropped.\nThis native does NOT affect lanterns while they are being held by a ped"}],"examples":[],"aliases":["_SET_OBJECT_LANTERN_DISABLE_LIGHT"],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/OBJECT/_SET_OBJECT_LANTERN_LIGHT_DISABLED","markdownUrl":"https://natives.borderlinerp.com/natives/OBJECT/_SET_OBJECT_LANTERN_LIGHT_DISABLED.md","snippets":{"lua":"SetObjectLanternLightDisabled(object, toggle)","luaInvoke":"Citizen.InvokeNative(0x7FCD49388BC9B775, object, toggle)","js":"SetObjectLanternLightDisabled(object, toggle);","jsInvoke":"Citizen.invokeNative('0x7FCD49388BC9B775', object, toggle);","csharp":"Function.Call((Hash)0x7FCD49388BC9B775, object, toggle);","notes":["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."]}}