friendlynade help
Hi guys.
I have a problem, does not put his grenade damage. Code:
#include <amxmodx> |
Re: friendlynade help
get_user_attacker(victim) - returns attacker and it is not stored anywhere, does this plugin even compile?
|
Re: friendlynade help
pls, help me fix this plugin
|
Re: friendlynade help
PHP Code:
|
Re: friendlynade help
Where exactly is the part with the grenade? And, Bladell, you actually provided the same code. And I thi.k it's better to use Ham_TakeDamage and return it.
|
Re: friendlynade help
Quote:
I changed get_user_attacker(victim) to attacker = get_user_attacker(victim) |
Re: friendlynade help
Оh, I see. My bad. But still, where is the grenade part? Also, try to make it with Ham_TakeDamage and return, it will be more efficient and won't set HP on each shoot.
|
Re: friendlynade help
Guys please test your plugins before you post them. The given example doesn't make any sense as it is not related at all to grenade damage. You should hook TakeDamage() and manipulate the team / damage there.
|
Re: friendlynade help
If I got it right, you don't want to make a grenade damage on teammates? Or in other words - when you hit some teammate with HE grenade, he won't get any damage. Here is something like this.
PHP Code:
|
Re: friendlynade help
I need to hurt his grenade
|
| All times are GMT -4. The time now is 21:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.