View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 09-17-2021 , 12:24   Re: [L4D2]How to add damage sources to flying objects (containers, cars, truck)
Reply With Quote #4

You set the "m_hPhysicsAttacker" to the client who last hit it, or maybe "m_hLastAttacker" but I believe it's the former. Then it should credit who hit the object with kills/damage. Some datamap variable like that. Don't have time to check.
__________________
Silvers is offline