register_event damage
Hello.
How should i catch the "Damage" event? i'vre tryed using read_data(1) attempting to get the damage done, but without a result. Edit NVM, i found out that it is read_data(2) that i should use... Then another question, how come that it does not register all the damage that i do? if i hit a client serveral times, it only register the event few times |
Re: register_event damage
Use Ham_TakeDamage
PHP Code:
|
Re: register_event damage
Quote:
|
Re: register_event damage
No it doesn't, if you want to hook everything that takes damage you need something like this: http://www.nsmod.org/forums/index.ph...=10179&hl=deli
I don't know of any non-NS equivalent |
Re: register_event damage
Okay thanks for the response, but as i dont know anything about that ham module, i dident ought to try. But i found out the with the damage event.
|
Re: register_event damage
Here's a little example
PHP Code:
|
| All times are GMT -4. The time now is 13:58. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.