Raised This Month: $ Target: $400
 0% 

console cmd blocker


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
FPcokE
Member
Join Date: Aug 2011
Old 11-03-2011 , 19:56   console cmd blocker
Reply With Quote #1

PHP Code:
#include <amxmodx>

public plugin_init()
{
    
register_plugin("blocker""1.0""cokE")
    
    
register_clcmd("vote""vote_block")

    
register_clcmd("name""name_block")
}

public 
vote_block(id)
{
    
console_print(id"Ikke tilladt!")

    return 
PLUGIN_HANDLED
}

public 
name_block(id)
{
    
console_print(id"Ikke tilladt!")

    return 
PLUGIN_HANDLED

Can someone tell me why the name cmd doesnt get blocked but the vote does? ive also tryed with "kill" cmd, didnt work neither, pls help
FPcokE is offline
 



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 14:19.


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