Thread
: [Solved]
[L4D2]How to add damage sources to flying objects (containers, cars, truck)
View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
09-17-2021 , 12:24 Re: [L4D2]How to add damage sources to flying objects (containers, cars, truck)
#
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.
__________________
[
My Plugins
]
>>
GitHub
<<
[TUT] Scripting
ANY
:
Command & ConVar - Buffer Overflow Fixer
|
Spray Exploit Fixer
L4D1/2
:
Left 4 DHooks
|
Info Editor
|
Priority Patch
Silvers
View Public Profile
Send a private message to Silvers
Find More Posts by Silvers