Hi, how to lock button?
HAM_SUPERCEDE not working
RegisterHam(Ham_Use, "func_button", "ButtonUse", 0);
public ButtonUse(iEnt, id, iActivator) {
return HAM_SUPERCEDE;
}
OR
public ButtonUse(iEnt, id, iActivator, use_type, Float:value) {
SetHamParamInteger(use_type, 0);
return HAM_HANDLED;
}
HAM_SUPERCEDE not working
RegisterHam(Ham_Use, "func_button", "ButtonUse", 0);
public ButtonUse(iEnt, id, iActivator) {
return HAM_SUPERCEDE;
}
OR
public ButtonUse(iEnt, id, iActivator, use_type, Float:value) {
SetHamParamInteger(use_type, 0);
return HAM_HANDLED;
}