Code:
#include <amxmodx>
new p_Enable
public plugin_int()
{
register_plugin("Block Fullupdate","0.1a","Drak");
p_Enable = register_cvar("amx_blockfullupdate","1");
}
public client_command(id)
{
if(get_pcvar_num(p_Enable))
{
new Command[33]
read_argv(0,Command,32);
if(equal(Command,"fullupdate"))
return PLUGIN_HANDLED_MAIN
}
}
This should work, not sure. But "amx_blockfullupdate 1/0" will enable disable the usage of it.
__________________