Raised This Month: $ Target: $400
 0% 

[SOLVED]How to detect damage/killed to entities


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
powwoww
BANNED
Join Date: Oct 2008
Old 11-26-2009 , 02:17   [SOLVED]How to detect damage/killed to entities
Reply With Quote #1

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

Last edited by powwoww; 11-26-2009 at 06:45. Reason: solved
powwoww is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:42.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode