@name FailCake WeaponScanner
@inputs 
@outputs Weapon:array
@persist
@trigger all
runOnTick(1)

E = entity()

if(first()){

findIncludeClass("weapon_*")
findExcludeClass("prop_physics")
findExcludeClass("player")
findInSphere(E:pos(),100)
Weapon = findToArray()

for(I=0,Weapon:count()){
if(Weapon[I,entity]:isWeapon()){
print(Weapon[I,entity]:type():sub(1,20))  
}
  
}  
}
