ham_takedamage prob
i'm using
PHP Code:
thanks |
Re: ham_takedamage prob
Try to delete "return HAM_OVERRIDE".
|
Re: ham_takedamage prob
I don't think you're checking for the right damagebit, try DMG_HEGRENADE (define it as (1<<24) ) or DMG_BLAST.
EDIT: wow I didn't see it beeing defined =) I thoght DMG_GRENADE already exists tough. |
Re: ham_takedamage prob
The bit is right, and he uses already DMG_GRENADE.
I don't find problems in your code except HAM_OVERRIDE is useless and should be removed. I don't see how you can have this problem with such check. |
Re: ham_takedamage prob
He is checking the correct damage bit. Try debugging this yourself r0ck. Do some server/client_prints of the values you are checking. You will eventually find when something is not what you thought then you know what needs to be fixed.
Edit: I'll click refresh before posting next time. |
Re: ham_takedamage prob
Yes, so blind of me xD
Anyway, I tested the code and it seems to work just fine, I naded some of my podbot teammates while T and the message I added in the condition triggered. And you should rearange conditions so it doesn't call if not required: PHP Code:
|
| All times are GMT -4. The time now is 19:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.