I'm not 100% sure why.
That first line says 'registerAccess' isn't working.
In looking at our other code, it often seems to run on 'server' side. Tried "if SERVER then ULib.ucl.registerAccess(... "?
It isn't _always_ used on server though, so if that doesn't help it, unsure.
You also include an extra close parenthesis ")" at bottom of your code. Make sure that's after your hook function, and don't call the function using qmenu(), just use ", qmenu)"
Also, try to never return 'true' when using a hook. It will often break other functions using the same hook.
Either just 'return', or 'return false'.
Your query player statement is incorrect.
You call function qmenu(), but don't pass information to it in ().
function qmenu(ply)
if ULib.ucl.query(ply, "Qmenu") then