HumanTree92 / esx_extraitems

Extra Items for FiveM ESX Legacy
http://velocitientertainment.com/
47 stars 30 forks source link

Attempt to call a nil value (field 'GetWeaponFromHash') #40

Closed zakiyys closed 3 years ago

zakiyys commented 3 years ago

Describe the Bug | A Clear & Concise Description of Bug I get this error when trying to use the ammo to reload a gun. image

Questions Have you made changes to anything in client/main.lua or server/main.lua?: No Have you looked through the Closed Topics?: Yes Have you looked through the Wiki?: Yes Are you using a Pre-Installed ESX? If Yes who?: Yes, Ribsosay (ESX 3.5) Are you using es_extended? If Yes what Version? (Example: 1.2): Yes, Not sure maybe v.2? Are you using Essentialmode?: Not sure, maybe Yes (bcs there is this folder inside the resource) Are you using ExtendedMode?: no Are you using OneSync?: no Linux or Windows?: Windows

Thank in advance

HumanTree92 commented 3 years ago

Well if your using ESX V2 then no esx_ resources will work. I'm not sure what Version Ribsosay uses in ESX3.5. Your ESX will be something like 1.2, Legacy, or V2. Currently this script is being re-written for ESX Legacy.

zakiyys commented 3 years ago

okey then, can't wait for the new version. Thank you very much!

devPierce27 commented 3 years ago

HumanTree92, where you are rewritting the script for legacy would that (A) Apply to all of your scripts, and (B) should I go ahead and switch to Legacy from v1 Final

HumanTree92 commented 3 years ago

HumanTree92, where you are rewritting the script for legacy would that (A) Apply to all of your scripts, and (B) should I go ahead and switch to Legacy from v1 Final

I don't have the rewrite everything but for the most part i am working on updating all my scripts to work with Legacy. I would use Legacy as that is what most scripts are being switched to.