-
Notifications
You must be signed in to change notification settings - Fork 28
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
Cant buy Weapon license #36
Comments
@TheRealDadbeard go to line 389 in server/main and replace |
Thanks but it seems it can't fetch licences from the databse SCRIPT ERROR: @esx_license/server/main.lua:72: attempt to index a nil value (field '?')
it adds them correctly though. I tried looking at other inventory plugins but really couldn't figure out the code as they are totally different in their approach. Edit: Hmm now I get no error as I switched over to a new fixed kashacters but it still won't know that I have a license. |
This will let you buy and have your licence checked: ESX.TriggerServerCallback('esx_license:checkLicense', function(hasWeaponLicense) I took this code from another much newer inventory script but which don't has the quickslots etc. |
Same with me, anybody know how to solve this issue? |
It will just error out. Totally forgot to make an issues and now have screenshots but I have the newest ESX and Licenses installed.
The text was updated successfully, but these errors were encountered: