Raised This Month: $ Target: $400
 0% 

Block +attack2


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 05-03-2012 , 12:15   Block +attack2
Reply With Quote #1

How do i do it without slowhacking? Which is possible since i've seen it some times.
__________________
Napoleon_be is online now
Send a message via Skype™ to Napoleon_be
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-03-2012 , 12:22   Re: Block +attack2
Reply With Quote #2

You can block Secondary attack, or hook CmdStart and remove IN_ATTACK2 from buttons.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 05-03-2012 , 12:28   Re: Block +attack2
Reply With Quote #3

PHP Code:
#include <amxmodx>
#include <fakemeta>


public plugin_init() {
    
register_plugin("No Jump & Duck""1.0""Dores")
    
register_forward(FM_CmdStart"CmdStart")
}

public 
CmdStart(idHandle) {
    static 
button
    button 
get_uc(HandleUC_Buttons)
    
    if (
button IN_ATTACK2) {
        
button &= ~IN_ATTACK2
    
}
    
    
set_uc(HandleUC_Buttonsbutton)

Something like this?
__________________

Last edited by Napoleon_be; 05-03-2012 at 12:28.
Napoleon_be is online now
Send a message via Skype™ to Napoleon_be
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 05-03-2012 , 12:33   Re: Block +attack2
Reply With Quote #4

That should do the trick.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 05-03-2012 , 12:35   Re: Block +attack2
Reply With Quote #5

Quote:
Originally Posted by Exolent[jNr] View Post
That should do the trick.
Thanks for your help.
__________________
Napoleon_be is online now
Send a message via Skype™ to Napoleon_be
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 14:40.


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