Raised This Month: $ Target: $400
 0% 

block IN_SCORE


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 04-08-2009 , 09:53   Re: block IN_SCORE
Reply With Quote #1

Also the first FM_CmdStart's parameter is Client's ID, then the UC Handle.
Code:
#include <amxmodx> #include <fakemeta>   public plugin_init() {         register_plugin("Block Score", "1.0", "hleV");         register_forward(FM_CmdStart, "CommandStart"); }   public CommandStart(ClientID, UC_Handle) {         if (!is_user_alive(ClientID))                 return FMRES_IGNORED;           if (get_uc(UC_Handle, UC_Buttons) & IN_SCORE)         {                 set_uc(UC_Handle, UC_Buttons, ~IN_SCORE);                   return FMRES_SUPERCEDE;         }           return FMRES_IGNORED; }
__________________
hleV 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 02:15.


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