/* Plugin generated by AMXX-Studio */ #include #include #include #include #include new const nazwa[] = "Saper"; new const opis[] = "3 miny, widzi miny,"; new const bronie = 1< 0) { remove_entity(ent); ent = find_ent_by_class(ent, "mine"); } } public client_disconnect(id) { new ent = find_ent_by_class(0, "mine"); while(ent > 0) { if(entity_get_edict(id, EV_ENT_owner) == id) remove_entity(ent); ent = find_ent_by_class(ent, "mine"); } } public widzi(es_handle, e, ent, host, hostflags, player, pSet) { if(!is_user_connected(host)) return; if(!ma_klase[host]) return; if(!pev_valid(ent)) return; new classname[5]; pev(ent, pev_classname, classname, 4); if(equal(classname, "mine")) { set_es(es_handle, ES_RenderMode, kRenderTransAdd); set_es(es_handle, ES_RenderAmt, 90.0); } }