[SOLVED]How to detect damage/killed to entities
public plugin_init(){
register_plugin("DMG TEST","0.1","Flea") RegisterHam(Ham_Killed, "func_breakable", "FwdHamBreakableKilled", 1 ) } public FwdHamBreakableKilled(ent, killer ){ client_print(0,print_chat,"Break...") } I broke the glass in cs_assault, but nothing happened... Could anybody please tell me how to make it? Firippu are right:) , also thank Arkshine |
Re: How to detect damage/killed to entities?
I don't think Ham_Killed works for entities.
this does what you want PHP Code:
|
Re: How to detect damage/killed to entities?
Weird Killed() is called from TakeDamage :
Code:
|
| All times are GMT -4. The time now is 13:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.