GetAllLights - GalaxHD551/lightstreamer GitHub Wiki
Description
Returns all lights into a table.
Syntax
lr.GetAllLights()
Parameters
This function has no parameter
Return Value
- A table containing all lights'id.
Exemple
lr = ImportPackage("lightstreamer")
AddEvent("OnPlayerSpawn", function(player)
for key, value in pairs(lr.GetAllLights) do
SetLightIntensity(v, 100000)
end
end)