Raised This Month: $ Target: $400
 0% 

register_event damage/dead


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sutar
Senior Member
Join Date: Sep 2010
Old 08-01-2013 , 13:18   Re: register_event damage/dead
Reply With Quote #1

DWIGHTpN, damage with only RegisterHam() ???
kill can be

Code:
RegisterHam(Ham_Killed,"player","fwd_player_killed",0)
???

I just want that damage and death were from a single event
for example only use RegisterHam()

Code:
public plugin_init() {
      RegisterHam("Ham_TakeDamage", "player", "Player_Hurt", 1)
      RegisterHam(Ham_Killed, "player", "fwd_player_killed", 1)
}
Quote:
Next search on forum, you fiind 1000+ examples
Thanks, I searched but could not find ((

It will be good? or no?

Last edited by Sutar; 08-01-2013 at 13:19.
Sutar is offline
Reply



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 15:48.


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