Skip to content

light

Client-side
Server-side
Shared

Element category: Entity

The light class represents colored, 3D lights in the GTA world. There are a couple different types of lights, which are point lights, spot lights and dark lights.

OOP Constructor

Light(...) is the constructor method for the light class (createLight).

OOP Methods and Variables

See Also

Element Functions
Reference