Permissions
By default there's some permissions that can't be removed, those are used for Business APP and if you remove them it won't show any tab, this default permissions are:
Employees: Players with this permission will be able to access the Employees tab and all its features (hire/fire players, send bonus, edit employees, etc)
Menu: Gives access to the Menu tab where players can register new items, edit or remove them. If the business is blacklisted the permission will be ignored.
Bank: This permission gives access to see the available funds in the overview tab and add/remove funds from the bank tab.
Applications: Gives access to the applications tab where you can see the job applications.
Stahes: Required to access the default stashes zones for the business.
Custom Permissions
For this example we are gonna create a new permission named Evidence Stash which is gonna be available only for police and bcso jobs:
Once the permission is added the business owner will be able to assign it to his employees using the Employees Tab in Business APP
Get Player Permissions
You can use the following export client/server side to retrieve the player permissions:
Client Side:
Server Side:
Both exports will return a table with the player permissions, this is an example on how it can looks like:
You can find a better example in Zones
Last updated