RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _SET_ENTITY_LIGHTS_ENABLED

_SET_ENTITY_LIGHTS_ENABLED

Forces entity lights to stay enabled regardless of environmental conditions (day/night cycle) This native overrides the default behavior where lights typically only activate at night true = lights are always enabled (day and night) false = original behavior is restored

ENTITYBuild 1207

Signature

lua
SetEntityLightsEnabled(entity, true)
-- returns void

Parameters

NameTypeDescription
Entity—
BOOL—

Usage

lua
SetEntityLightsEnabled(entity, true)

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
Source
VORPCORE/RDR3natives

Source: VORPCORE/RDR3natives

On this page

  • Signature
  • Parameters
  • Usage
  • Details