So if I would like ONLY to detect if prisioner has got weapons or not, I could delete "DetectAndDrop(id,x,y,dropx,dropy)" part? And what should I add if I want scanner to play 2 sounds, if prisioner is armed- alarm, if not- anything else? I'm newbie in LUA