getGroup
exports["RiP-Admin"]:getGroup(group)
This function returns if player is in aduty mode
Arguments
Name | Type | Optional | Explenation |
---|---|---|---|
group | String | No | Player server group |
Returned Table
This function returns the groups whole permission table from RiP.Admin.Permissions
Example
local permissions = exports["RiP-Admin"]:getGroup("admin")
if permissions and permissions["all"] then
print("the group 'admin' has all possible permissions")
end