hook reload
hello
can somebody show me ho to hook reload event? i need this Code:
register_clcmd("+reload","cmdMoveEnt") |
Re: hook reload
Ham_Weapon_Reload
|
Re: hook reload
Quote:
|
Re: hook reload
Code:
RegisterHam(Ham_Weapon_Reload, "player", "ham_reload",1)Code:
public ham_reload(id) |
Re: hook reload
You should read all the replies to your posts. I.e. look at what Bugsy said.
|
Re: hook reload
it looks difficult for me :(
|
Re: hook reload
Did you try? If not, you should. If you have problems, try to search or ask here.
|
Re: hook reload
FakeMeta: pev(id, pev_buttons) & IN_RELOAD
I don't think Ham_Weapon_Reload will help you to do what you're trying to do. It's called only when a weapon is reloading so if you will press "R" without reloading a weapon it will not work. |
Re: hook reload
Quote:
|
Re: hook reload
Quote:
Code:
register_forward(FM_PlayerPreThink, "fw_Player_PreThink")Code:
public fw_Player_PreThink(id) |
| All times are GMT -4. The time now is 07:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.