#include #include #include #include #include #include #include #define MAKE_MATTERY 7045 new const nazwa[] = "[Premium]BFG10000"; new const opis[] = "Posiadasz bron z 4 wiazkami, ktora zadaje powazne obrazenia wrogom znajdujacym sie w poblizu"; new const bronie = 1< 0) { if(entity_get_edict(id, EV_ENT_owner) == id) remove_entity(ent); ent = find_ent_by_class(ent, "bfg10000"); } } public BFGThink(ent) { if(entity_get_int(ent, EV_INT_iuser2)) return PLUGIN_CONTINUE; entity_set_int(ent, EV_INT_iuser1, 1); new attacker = entity_get_edict(ent, EV_ENT_owner); new entlist[33]; new numfound = find_sphere_class(ent, "player", 500.0 , entlist, 32); for (new i=0; i 0) { remove_entity(ent); ent = find_ent_by_class(ent, "bfg10000"); } }