PermissionProviderClient
This item only works when running on the client. Client
Permission provider using the remote event. See PermissionServiceClient.
Functions
PromiseIsAdmin
Returns whether the local player is an admin.
Permission provider using the remote event. See PermissionServiceClient.
PromiseIsAdmin
Returns whether the local player is an admin.
{ "functions": [ { "name": "PromiseIsAdmin", "desc": "Returns whether the local player is an admin.", "params": [ { "name": "player", "desc": "", "lua_type": "Player | nil" } ], "returns": [ { "desc": "", "lua_type": "Promise<boolean>" } ], "function_type": "method", "source": { "line": 34, "path": "src/permissionprovider/src/Client/Providers/PermissionProviderClient.lua" } } ], "properties": [], "types": [], "name": "PermissionProviderClient", "desc": "Permission provider using the remote event. See [PermissionServiceClient].", "realm": [ "Client" ], "source": { "line": 7, "path": "src/permissionprovider/src/Client/Providers/PermissionProviderClient.lua" } }