keep-containers icon indicating copy to clipboard operation
keep-containers copied to clipboard

Script Error for Legacy Server (OX)

Open Bassprojekt opened this issue 2 years ago • 6 comments

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

Bassprojekt avatar May 15 '23 19:05 Bassprojekt

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 =)

Bassprojekt avatar May 15 '23 19:05 Bassprojekt

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.

swkeep avatar May 15 '23 20:05 swkeep

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

Bassprojekt avatar May 16 '23 14:05 Bassprojekt

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).

swkeep avatar May 16 '23 16:05 swkeep

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?

Bassprojekt avatar May 16 '23 18:05 Bassprojekt

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??

anes66 avatar Aug 21 '23 04:08 anes66