Raised This Month: $ Target: $400
 0% 

How to block commands bind and unbind ??


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Emilioneri
Senior Member
Join Date: Feb 2009
Location: Georgia, Tbilisi
Old 06-11-2009 , 16:18   How to block commands bind and unbind ??
Reply With Quote #1

How to block commands "bind" and "unbind" ?? I used this code but didn't worked.
PHP Code:
/* Plugin generated by Emilioneri */

#include <amxmodx>
#include <amxmisc>

#define PLUGIN "BlockBind"
#define VERSION "1.0"
#define AUTHOR "Emilioneri"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
// Add your code here...
    
register_clcmd("bind""BlockBind")
    
register_clcmd("unbind""BlockBind")
}

public 
BlockBind(id)
{
    return 
PLUGIN_HANDLED

Emilioneri is offline
Send a message via Skype™ to Emilioneri
 



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 13:47.


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