Skip to content
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

Script Error for Legacy Server (OX) #7

Open
Bassprojekt opened this issue May 15, 2023 · 6 comments
Open

Script Error for Legacy Server (OX) #7

Bassprojekt opened this issue May 15, 2023 · 6 comments

Comments

@Bassprojekt
Copy link

Look Screen: https://gyazo.com/4ade645672d89be0ef995323ee7ab474

@Bassprojekt
Copy link
Author

Okay maybe could have been my mistake :D currently I have now but no error message it Nehmlich translated into German there was an error in it.

Furthermore, I can not break my own container when I'm on duty as a police is that so wanted how can I set a container because I can break that I'm still missing something like the Youtube video otherwise a very good and beautiful script =)

@swkeep
Copy link
Owner

swkeep commented May 15, 2023

Hey,
I'm so confused. Is it working or not? 🤔
The way Boltcutter works makes sense to me, but I'll check if there's something wrong with it tomorrow. I'm a bit tired today.

@Bassprojekt
Copy link
Author

Bassprojekt commented May 16, 2023

it runs everything wonderfully now the only problem which I have now if I have the job as policy I cannot open my own container with the Boltcutter. Furthermore when I set myself as admin -- just give it to admins they can access containers and remove them!

Config.super_users = {
["Gxxxxxxx2"] = true, -- < in qb use character citizen id
["char1:a5b42899557be5839be582f7b1e90bae17cfcbb"] = true --- < in esx use users's identifier

So it stands in the Config from the Script with me the char1 ID is exactly my ID of the Char. Only unfortunately I have no admin to delete the containers in game

Oh I use ESX Legacy on the server if that is still important

@swkeep
Copy link
Owner

swkeep commented May 16, 2023

I don't know. I tested it on my ESX development server, and it works fine.
The only issue is that it takes some time to update the player's job for some reason. However, after that, it works as it should.
Admin access also works fine, so I'm not sure (I tested it on version 1.9).

@Bassprojekt
Copy link
Author

Ok I have found the error because of Admin that comes when you have 1000 things on and just forget a number :D
Now it works with the admin system only one thing I have not yet managed with the policy.

with me it looks like this

Config.bolt_cutter = {
-- ['jobname'] = {grades}
['police'] = {
-- [grade(number)] = true/false
[0] = true,
[1] = true,
[2] = true,
[3] = true,
[4] = true

is that right or am i doing something wrong there?

@anes66
Copy link

anes66 commented Aug 21, 2023

Okay maybe could have been my mistake :D currently I have now but no error message it Nehmlich translated into German there was an error in it.

Furthermore, I can not break my own container when I'm on duty as a police is that so wanted how can I set a container because I can break that I'm still missing something like the Youtube video otherwise a very good and beautiful script =)

I have same error with the client.lua 51 line can you say what you fixed maybe??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants