
Code:
--[[
No Radio Menus
by BcY
]]--
addbind("Z")
addbind("X")
addbind("C")
addhook("key", "key_hook")
function key_hook(id, key, state)
if (key == "Z" or "X" or"C") and (state == 1) then
timer(10,"_hide", id)
end
end
function _hide(id)
id = tonumber(id)
menu(id, "hide@i,") --opens an invisible&blank menu so z,x,c menus won't show up.
end
Known problems:
The player should press "ESC", otherwise can't attack or shoot.
![[Image: bcy.jpg]](https://kgb2d.xyz/images/bcy.jpg)
- United we stand, divided we fall. -