Change effect of HE Grenade..
Hello. How can I change effect when HE Grenade is exploding and block his DMG?
|
Re: Change effect of HE Grenade..
Hook when grenade will explode and block it.
Then you can add your own effects when it should explode. |
Re: Change effect of HE Grenade..
But how to hook?
|
Re: Change effect of HE Grenade..
Look at FrostNades code by XxAvalanchexX.
It is in the Unapproved Plugins section. |
Re: Change effect of HE Grenade..
I found..
Should it run? PHP Code:
PHP Code:
PHP Code:
|
Re: Change effect of HE Grenade..
PHP Code:
Quote:
|
Re: Change effect of HE Grenade..
Thanks.
I have to do a certain condition in the function that she knew that it was a grenade HE and not eg Smoke Grenade ? Or this just know "This is HE" ? Can I give You some reputation or so on this forum? |
Re: Change effect of HE Grenade..
exolent, the return type shouldn't be with HAM_* prefix?
|
Re: Change effect of HE Grenade..
In FrostNades code by XxAvalanchexX in this function is return FMRES_SUPERCEDE;
But tell me, I need to do a certain condition what Grenade is it? |
Re: Change effect of HE Grenade..
Quote:
PHP Code:
PHP Code:
The only benefit would be readability, which I agree it should be changed to HAM_SUPERCEDE. |
| All times are GMT -4. The time now is 14:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.