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:56   Re: block IN_SCORE
Reply With Quote #1

Just check the level in CmdStart forward.
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) && Level == 1 && (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
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 04-08-2009 , 09:58   Re: block IN_SCORE
Reply With Quote #2

TY, ill test it
__________________
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
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