Raised This Month: $ Target: $400
 0% 

Block nades


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Brreaker
Senior Member
Join Date: Oct 2009
Location: Constanta, Romania
Old 05-21-2010 , 15:53   Re: Block nades
Reply With Quote #1

PHP Code:
new gCvarPluginToggle
new gBuyCommands[][] =  

"hegren"
}
public 
plugin_init() {
    
gCvarPluginToggle register_cvar("only_block""1")
    for (new 
isizeof gBuyCommandsi++) {
        
register_clcmd(gBuyCommands[i], "BlockBuyCommands")
    }
}
public 
BlockBuyCommands(id) { 
    if (!
get_pcvar_num(gCvarPluginToggle)) {
        return 
PLUGIN_CONTINUE
    
}
    return 
PLUGIN_HANDLED

Try this one
__________________
There are 10 kinds of people.Those who understand binary, and those who don't.
Also, for those who understand binary, there is a donation tab too!
No steam || PM support!
Brreaker is offline
Send a message via MSN to Brreaker Send a message via Yahoo to Brreaker
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 03:40.


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