function extendedbacktracking() {
var weapons = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
if (weapons != '0' && weapons != '0') {
UI.SetValue("Misc", "GENERAL", "Extended backtracking", 1);
}
else {
UI.SetValue("Misc", "GENERAL", "Extended backtracking", 0);
}
}
Cheat.RegisterCallback('Draw', 'extendedbacktracking')
хз как по кнопке сделать