{"hash":"0xEBDC12861D079ABA","ns":"ENTITY","name":"_SET_ENTITY_LIGHTS_ENABLED","slug":"_SET_ENTITY_LIGHTS_ENABLED","official":false,"named":true,"luaName":"SetEntityLightsEnabled","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"entity","type":"Entity"},{"name":"toggle","type":"BOOL"}],"summary":"Forces entity lights to stay enabled regardless of environmental conditions such as day/night cycle.","descriptions":[{"source":"alloc8or","format":"text","body":"Forces entity lights to stay enabled regardless of environmental conditions such as day/night cycle.\nDespite the known dump name, this acts as an always-enabled override rather than a simple light toggle. Pass false to return lights to default behavior. Related to _SET_ENTITY_LIGHTS_OFF."},{"source":"vorp","format":"text","body":"Forces entity lights to stay enabled regardless of environmental conditions (day/night cycle)\nThis native overrides the default behavior where lights typically only activate at night\ntrue  = lights are always enabled (day and night)\nfalse = original behavior is restored"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ENTITY/_SET_ENTITY_LIGHTS_ENABLED","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/_SET_ENTITY_LIGHTS_ENABLED.md","snippets":{"lua":"SetEntityLightsEnabled(entity, toggle)","luaInvoke":"Citizen.InvokeNative(0xEBDC12861D079ABA, entity, toggle)","js":"SetEntityLightsEnabled(entity, toggle);","jsInvoke":"Citizen.invokeNative('0xEBDC12861D079ABA', entity, toggle);","csharp":"Function.Call((Hash)0xEBDC12861D079ABA, 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."]}}