michaelhodgejr / esx_impound

Adds impound lots to FiveM servers via the ESX Framework
13 stars 12 forks source link

permission problem #6

Open shyricaus opened 6 years ago

shyricaus commented 6 years ago

image

shyricaus commented 6 years ago

And I'm sweating the last version you passed.

michaelhodgejr commented 6 years ago

Please provide steps to reproduce and your configuration file.

shyricaus commented 6 years ago

???

shyricaus commented 6 years ago

when I'm trying to learn sometimes the vehicles, it says that I do not have permission even though I'm with the right job.

shyricaus commented 6 years ago

is not recognizing the job when it is turned on, only when I switch from police to mechanical or im right to work

michaelhodgejr commented 6 years ago

As I said in issue #5 I tried to reproduce this and was unable to do so. I need steps to reproduce this and your impound configuration file so that I can try to reproduce it. Without steps to reproduce this I can't verify if it's an issue with this resource or some other conflict.

Not sure what you mean by "it's not recognizing the job when it is turned on" but I can say that if you look here

https://github.com/michaelhodgejr/esx_impound/blob/master/client/main.lua#L38

You can see that it is loading the job on spawn.

shyricaus commented 6 years ago

when I returned the old command like this, it was only that the consumption of cpu came back

if has_value(Config.JobsThatCanRetrieve, ESX.GetPlayerData().job.name) then return true else return false end end

shyricaus commented 6 years ago

and as if current Job command is not working

michaelhodgejr commented 6 years ago

Ok, I have an idea as to what may be going on. I'll try to get a patch out later

shyricaus commented 6 years ago

ok

michaelhodgejr commented 6 years ago

@shyricaus Disregard. Yeah i'm stuck at being unable to reproduce this bug. If i can reproduce it I will get a fix out for it. I'll let you know.

shyricaus commented 6 years ago

ok