AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to block commands bind and unbind ?? (https://forums.alliedmods.net/showthread.php?t=94469)

Emilioneri 06-11-2009 16:18

How to block commands bind and unbind ??
 
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



Bugsy 06-11-2009 16:20

Re: How to block commands bind and unbind ??
 
I dont think you can since bind is client-side


All times are GMT -4. The time now is 13:47.

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