Raised This Month: $ Target: $400
 0% 

get use command.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
TheRadiance
Senior Member
Join Date: Nov 2007
Location: Kazakhstan
Old 03-24-2009 , 12:46   Re: get use command.
Reply With Quote #8

Quote:
Originally Posted by hleV View Post
Code:
#include <amxmodx> #include <fakemeta>   public plugin_init()         register_forward(FM_CmdStart, "HookReload");   public HookReload(ClientID, UC_Handle) {         if (!is_user_alive(ClientID))                 return;           static Button;         Button = get_uc(UC_Handle, Buttons);           if (Button & IN_RELOAD)         {                 // Client used +reload command                   // If you want to block it, use this                 Button &= ~IN_RELOAD;         }           // This will block it         set_uc(UC_Handle, UC_Buttons, Button);           return FMRES_SUPERCEDE; }
Sorry for offtop:

What means / does ~ ( tilda )?
TheRadiance is offline
Send a message via ICQ to TheRadiance
 



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 09:04.


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