Thread
:
break_prop event, EventHookMode_Pre, preventing prop damage by team
View Single Post
bl4nk
SourceMod Developer
Join Date: Jul 2007
10-20-2009 , 16:06 Re: break_prop event, EventHookMode_Pre, preventing prop damage by team
#
2
Just hook the OnTakeDamage output on the entity and check the team of the inflictor. If it's the wrong team, set the health of the object back to what it was previously.
bl4nk
View Public Profile
Send a private message to bl4nk
Find More Posts by bl4nk