function sonar_event() { if (event_type == EVENT_SONAR) { ent_playsound(my,whamm,50); ptr_remove(me); // disappear when hit } } action exploding_barrel_sonar() { my.ENABLE_SONAR = ON; my.emask |= ENABLE_SONAR; my.event = sonar_event; }
► Aktuelle Version Online