To block attack knife to time.
How to make knife attack delay to 2 seconds?
|
Re: To block attack knife to time.
Is it possible to block a player trying to attack?
like register_clcmd("+attack") and then return plugin handled or w/e it is (FMRES or w/e), try looking for a forward of it in Fake Meta (they have almost everything lol) and then set a boolean, check if its true block it, and set a task to 2 seconds when after 2 seconds the bool will be false (thats the algorythm, about the physic part i dont know much) |
Re: To block attack knife to time.
If you know a little pawn, you need to register Ham_Weapon_PrimaryAttack, use return HAM_SUPERCEDE and set_task with 2.0 seconds and client_cmd(id, "+attack")
That's what I think |
Re: To block attack knife to time.
Stereo,example pls
|
Re: To block attack knife to time.
The attack is easy to block but the animations are not since they are client-side.
|
Re: To block attack knife to time.
I'm not sure
PHP Code:
|
Re: To block attack knife to time.
Not,doesn't work
|
Re: To block attack knife to time.
PHP Code:
|
Re: To block attack knife to time.
The attack itself will be blocked with that, however you will still see the player doing the attack animation, as stated above. Also, clicking attack multiple times or holding attack will need special handling.
|
Re: To block attack knife to time.
PHP Code:
|
All times are GMT -4. The time now is 17:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.