Well one on-off switch for Bisella's lamps.
Unziped file, locate "on-off switch" folder in your entity folder, and "switch_on_off.lua" file in your scriptbank folder, and enjoy.
PS: maybe you has to change the light number in the script for suit your needs, in my case the light is number 7.
ShowLight(7)
HideLight(7)
If you want to use it in a differents lights, so you've to change the script as follow:
switch1_on_off.lua (script name)
function switch1_on_off_init(e)
end
function switch1_on_off_main(e)
end
Remember change too:
ShowLight(your light number)
HideLight(your light number)
and so on.
hope you like it.
3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz
OS: Windows 8.1 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics