Garry's Mod Wiki
Description
Creates or replaces a dynamic light with the given id.
Only 32 dlights and 64 elights can be active at once.
It is not safe to hold a reference to this object after creation since its data can be replaced by another dlight at any time.
Arguments
2 boolean elight = false
Allocates an elight instead of a dlight. Elights have a higher light limit and do not light the world (making the "noworld" parameter have no effect).
Returns
Example
Emits a bright white light from local players eyes.
This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...