Raised This Month: $ Target: $400
 0% 

Any way to block +use?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Lokogaditano
Senior Member
Join Date: Apr 2009
Old 08-10-2014 , 07:36   Any way to block +use?
Reply With Quote #1

Hi, I dont find a plugin for block +use command....already exist? can anyone help? thx
Lokogaditano is offline
Eagle07
Veteran Member
Join Date: May 2014
Location: Morocco :D
Old 08-10-2014 , 07:52   Re: Any way to block +use?
Reply With Quote #2

PHP Code:
#include <amxmodx> 
#include <fakemeta> 
public plugin_init() 

    
register_forward(FM_CmdStart"fw_cmdstart"


public 
fw_cmdstart(iducseed

    static 
buttons 
    buttons 
get_uc(ucUC_Buttons
     
    if (
buttons IN_USE
    { 
        
buttons &= ~IN_USE 
        set_uc
(ucUC_Buttonsbuttons
        return 
FMRES_IGNORED 
    

     
    return 
FMRES_IGNORED 

__________________
Eagle07 is offline
Lokogaditano
Senior Member
Join Date: Apr 2009
Old 08-10-2014 , 07:55   Re: Any way to block +use?
Reply With Quote #3

thanks a lot, I test it now
Lokogaditano 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 05:17.


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