Skip to Content
Script GuidesHydex-AdminmenuExports & Integrations

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 boolean

IsAllowed

This export will help you to check if player is allowed to use specified feature.

local isAllowed = exports['Hydex-adminmenu']:IsAllowed('Revive') -- returns boolean

SERVER 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 boolean

IsAllowed

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 boolean
Last updated on