Hook end of reload.
Hello! I have this code from this topic: http://forums.alliedmods.net/showthread.php?t=123645
And when he is in reload I'm adding to clip 30 ammo, but how to hook when he is end of reloading? Because when I add in this event it doesnt word (It adding and in moment it going to default) |
Re: Hook end of reload.
|
Re: Hook end of reload.
I posted the same topic. ;F
There is "When u start reloading" and I want catch when u reload and when ammo id adding to clip. |
Re: Hook end of reload.
Hook CurWeapon for when clip ammo increases on same weapon?
|
Re: Hook end of reload.
I made something like this:
Code:
public CurWeapon(id)Code:
register_event("CurWeapon","CurWeapon","be", "1=1") |
Re: Hook end of reload.
I don't know if this will solve your problem. If you can't figure it out try to explain better what you're trying to do.
PHP Code:
|
Re: Hook end of reload.
Quote:
nice job man... can you explain the functioning of this code |
| All times are GMT -4. The time now is 14:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.