EXPORTS & INTEGRATION
In this page you will get to know about the exports and integrations of Hydex Adminmenu.
CLIENT SIDE
IsAdmin
This export will help you to check if player is admin or not.
local isAdmin = exports['Hydex-adminmenu']:IsAdmin() -- returns booleanIsAllowed
This export will help you to check if player is allowed to use specified feature.
local isAllowed = exports['Hydex-adminmenu']:IsAllowed('Revive') -- returns booleanSERVER SIDE
IsAdmin
This export will help you to check if player is admin or not.
---@param source number
local isAdmin = exports['Hydex-adminmenu']:IsAdmin(source) -- returns booleanIsAllowed
This export will help you to check if player is allowed to use specified feature.
---@param source number
---@param feature string
local isAllowed = exports['Hydex-adminmenu']:IsAllowed(source, 'Revive') -- returns booleanLast updated on