michaelhodgejr / esx_impound

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

permission problem #5

Closed shyricaus closed 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

@shyricaus Can you paste your config.lua here so I can take a look?

Also you say that it isn't recognizing when turned on, only when you switch jobs. Are you saying it isn't recognizing the job when you first connect in to your server?

shyricaus commented 6 years ago

yes

michaelhodgejr commented 6 years ago

@shyricaus I just tried to reproduce this and was unable to do so. I'd suggest making sure you have the latest version. On load it loads the current players job and uses that for permission checks. There is also a hook for when the player changes jobs themselves.

The one thing to know is that the Blips on the map will not appear when you change jobs. You'll have to log out and back in to see those.

shyricaus commented 6 years ago

image

shyricaus commented 6 years ago

And I'm sweating the last version you passed.