detect if player presses the reload button
So, to get this straight forward, i made a ability plugin which makes my job on abilties easier and there i would detect when player uses the drop button (register_clcmd("drop", "AbStart1") but the same method doesn't work with "reload" so i tried fakemeta and engine to detect button. Zombie Problem (with mod from scratch, not zp).
So, how can i detect when player presses the reload button as a zombie(which has knife lol). |
Re: detect if player presses the reload button
IN_RELOAD does work but not as a register_clcmd. Ham can detect better as no think is needed like IN_RELOAD.
|
Re: detect if player presses the reload button
Code:
public AbStartPre2(weaponid) // Ham_Weapon_reloadEdit:Either it doesn't get called bcs knife or idk Edit2: Lol, idk which was the reason the engine button method didn t work first time but now does. and also Thanks! |
Re: detect if player presses the reload button
|
Re: detect if player presses the reload button
Quote:
Client_command will catch reload also. |
| All times are GMT -4. The time now is 11:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.