_SET_ENTITY_LIGHTS_DISABLED
Controls a forced "lights off" state for entities that have built-in light sources. This native does not enable lights, instead it overrides the light state by forcing them off.
ENTITYBuild 1207
Signature
lua
SetEntityLightsDisabled(entity, true)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Entity | — | |
| BOOL | — |
Usage
lua
SetEntityLightsDisabled(entity, true)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
