Raised This Month: $ Target: $400
 0% 

Grenades throw


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 08-23-2015 , 14:49   Re: Grenades throw
Reply With Quote #1

Quote:
Originally Posted by HamletEagle View Post
I hate when someone request X and after you do it he wants Y. You said you want when you drop the he, now you want a custom command. The command is "throwhe".


Thanks engclient works but if i hold the button grenade doesnt hold, it is thrown.how to make that so it wouldnt be droppes until i unpress the button?

Last edited by siriusmd99; 08-23-2015 at 14:49.
siriusmd99 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-24-2015 , 05:46   Re: Grenades throw
Reply With Quote #2

On a custom command I don't think it is possible directy. It would be an easy job if you will trigger this from a default button(by checking oldbuttons and buttons):
PHP Code:
if((pev(idpev_oldbuttons) & button) && !(pev(idpev_buttons) & button))
//this mean that he pressed the button but he is no longer holding it now. 
__________________

Last edited by HamletEagle; 08-24-2015 at 05:48.
HamletEagle is offline
siriusmd99
Veteran Member
Join Date: Oct 2013
Location: Republic of Moldova
Old 08-24-2015 , 06:56   Re: Grenades throw
Reply With Quote #3

I can do this even with script:
Bind mouse3 "slot4; +attack; wait; -attack; +attack"
But the problem is that i should add at last -attack because it hold grenade infinitely until i write -attack in console.
siriusmd99 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode