StopLightLoopRotation - GalaxHD551/lightstreamer GitHub Wiki
Description
To stop SetLightLoopRotation of the given light.
Syntax
lr.StopLightLoopRotation(lightid)
Parameters
-
lightid
The light identifier.
Return Value
- Returns true on success.
Exemple
lr = ImportPackage("lightstreamer")
function cmd_stoprotate(player, lightid)
if lightid == nil then return end
StopLightLoopRotation(lightid)
AddPlayerChat(player, "rotation has been stoped for this light.")
end
AddCommand("light", cmd_stoprotate)