View Single Post
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 06-28-2014 , 18:56   Re: [TF2] Dispenser Detonator (0.2)
Reply With Quote #10

It's because the plugin isn't checking if the entity is in fact an edict before using GetEdictClassname (an easy-to-forget problem in OnEntityDestroyed...although perhaps OnEntityDestroyed only cared about edicts at the time? Maybe?)

This should fix it.
Attached Files
File Type: sp Get Plugin or Get Source (dispenser_detonator.sp - 1354 views - 12.9 KB)
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP is offline