damage multiplier
How to make 3x damage for hegren and knife and for other weapons 5x?
PHP Code:
|
Re: damage multiplier
Isn't it ?
PHP Code:
|
Re: damage multiplier
Quote:
You mean ? PHP Code:
|
Re: damage multiplier
No, if you want it for AK47, here's a example:
PHP Code:
|
Re: damage multiplier
i need *5 damage for all weapons not only for ak.
|
Re: damage multiplier
Use default in your switch statement then
|
Re: damage multiplier
Is this will work?
PHP Code:
|
Re: damage multiplier
default: SetHamParamFloat(4, damage * 5.0);
That should work |
Re: damage multiplier
Also make sure that your hook to Ham_TakeDamage is hooked as "pre".
|
Re: damage multiplier
ok thanks guys.
I have one more question about damage. When i attack my team mate (friendlyfire is off) i get message that i make more damage for him how to block it? PHP Code:
PHP Code:
|
| All times are GMT -4. The time now is 05:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.