Block E
Hi, I have a restriction on the E key to not be able to take weapons from the buttons, the phase is that I can't open any door, because I have the E key locked so as not to take weapons from the buttons. My question is, how can I block it so that it can no longer take weapons from the buttons, but go open doors? (CS: GO)
actual code in OnPlayerRunCmd Code:
if(Test) |
Re: Block E
Just add a check if it is a weapon or if it is a func_door.......
|
Re: Block E
GetClientAimTarget and check the classname if it's different than weapon_*
|
Re: Block E
examples?
|
Re: Block E
PHP Code:
|
Re: Block E
What about using SDKHook_WeaponCanUse and check if the player is IN_USE?
|
Re: Block E
Quote:
|
Re: Block E
|
Re: Block E
Quote:
|
Re: Block E
Quote:
|
All times are GMT -4. The time now is 16:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.