mapProtectionQuery

function mapProtectionQuery(ply,
ent,
actionid,
flags)

This is a prequery (see <query>) hook in order to protect map entities.

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