hey,
i find this mod:
https://forums.alliedmods.net/showthread.php?t=128984
and i edit hem to this:
PHP Code:
#include <amxmodx>
#include <engine>
public plugin_init() {
register_clcmd("say /enablebhop","client_PreThink")
register_clcmd("say /disablebhop","client_PreThink1")
}
public client_PreThink(id)
{
if(is_user_alive(id))
{
if(get_user_flags(id) & ADMIN_IMMUNITY)
{
new oldbuttons = get_user_oldbutton(id);
oldbuttons &= ~IN_JUMP;
entity_set_int(id, EV_INT_oldbuttons, oldbuttons);
}
}
}
public client_PreThink1(id)
{
if(is_user_alive(id))
{
if(get_user_flags(id) & ADMIN_IMMUNITY)
{
}
}
}
but i dont know what i need to do to disable bhop when i type /disablebhop...
thanks about the help.
sorry about my bad english...