Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @name Anti-Crynet
- @persist VirusCount:number
- @model models/props_junk/TrashBin01a.mdl
- interval(1000)
- findByClass("gmod_wire_expression2")
- VirusCount = 0
- foreach ( K, V:entity = findToArray() ) {
- if ( V:getAlpha() <= 30 & V:name():trim() == "" ) {
- print("Removed virus from "+V:owner():name())
- VirusCount++
- V:propDelete()
- }
- }
- setName("Anti-Crynet - Found " + VirusCount + " malicious E2s")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement