playerDisabledQuery

function playerDisabledQuery(ply,
ent,
actionid,
flags)

This is a prequery (see <query>) hook in order to allow players to disable UPS on themselves and allow admins to disable them.

Parameters

plyThe player entity requesting access.
entThe entity the player wants access to.
actionidWhat action they’re trying to perform on the object.  (IE, freeze, move, use)
flagsA table of special instructions for this query.  (IE, reassign ownership, no deny sound, etc)
Close