-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
authorizedGrade #10
Comments
Very good idea |
Awful idea, but a step in the right direction. How about seperate grades per job? Jobs obviously don't share the same grade names |
This is the simple solution: Edit config.lua and add on all: grade = -1 for all grades of this job. And in client/main.lua edit the function: function IsAuthorized(doorID)
Good Job <3 |
I am sure that im doing something wrong but i dont know what because it is not working for me. Can someone help me. |
Did you have something like this? https://gyazo.com/c1c2974b660f465b1c3e2af19ab7f044 If this helps let me know EDIT: Doesn´t work for me too. Error in name
|
config.lua client/main.lua
try this. 'boss' refer to jobgrade=4. Check yours jobgrade name and change it. |
hey boys, thanks for the enhance. do you have an idea how to add more than one grade? |
it's possible add
"authorizedGrade = { 'boss' }," ???
example:
authorizedJobs = { 'police' },
authorizedGrade = { 'boss' },
thanks you :)
The text was updated successfully, but these errors were encountered: