StopLightRandomLoopColor - GalaxHD551/lightstreamer GitHub Wiki
Description
To stop SetLightRandomLoopColor of a light.
Syntax
lr.StopLightRandomLoopColor(lightid)
Parameters
-
lightid
The light identifier.
Return Value
- Returns true on success.
Exemple
lr = ImportPackage("lightstreamer")
function cmd_stoplight(player, lightid)
if lightid == nil then return false end
lr.StopLightRandomLoopColor(lightid)
end
AddCommand("light", cmd_stoplight)