Hello! Help please create a script of a police siren. So far I have managed to create such a script, but for some reason it does not work. please tell me where did i make a mistake? It should turn on / off by click and blink blue / red lights. the sound is excellent, but there is a problem with the light. And when i turn it off, it gives an error : llSetPrimitiveParams error running rule #2 (PRIM_POINT_LIGHT): arg #2 is missing.
Thanks for any help!
//* script_starts_here
//
integer run;
default
{
touch_start(integer total_number)
{
if(llDetectedKey(0)==llGetOwner())
{
if(run)
{
run