{"hash":"0x2D40BCBFE9305DEA","ns":"ENTITY","name":"_SET_ENTITY_LIGHTS_OFF","slug":"_SET_ENTITY_LIGHTS_OFF","official":false,"named":true,"luaName":"SetEntityLightsOff","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"entity","type":"Entity"},{"name":"toggle","type":"BOOL"}],"summary":"Controls a forced lights-off state for entities with built-in light sources.","descriptions":[{"source":"alloc8or","format":"text","body":"Controls a forced lights-off state for entities with built-in light sources.\nThis does not enable lights; it overrides the light state by forcing them off. Pass false to remove the forced-off override."},{"source":"vorp","format":"text","body":"Controls a forced \"lights off\" state for entities that have built-in light sources.\nThis native does not enable lights, instead it overrides the light state by forcing them off."}],"examples":[],"aliases":["_SET_ENTITY_LIGHTS_DISABLED"],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ENTITY/_SET_ENTITY_LIGHTS_OFF","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/_SET_ENTITY_LIGHTS_OFF.md","snippets":{"lua":"SetEntityLightsOff(entity, toggle)","luaInvoke":"Citizen.InvokeNative(0x2D40BCBFE9305DEA, entity, toggle)","js":"SetEntityLightsOff(entity, toggle);","jsInvoke":"Citizen.invokeNative('0x2D40BCBFE9305DEA', entity, toggle);","csharp":"Function.Call((Hash)0x2D40BCBFE9305DEA, entity, 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."]}}