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