Raised This Month: $ Target: $400
 0% 

get use command.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-24-2009 , 12:40   Re: get use command.
Reply With Quote #7

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;
}

YEa. ty . i have it. but a new problem.ill better ask u in PM. this willbe the last question & i can release ma new plug.
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
 



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