Open maxcamorra opened 3 years ago
No clue what you mean
I get a gasoline can and then somehow it glitches and I get a weapon and I can click on it as often as I want and get this amount of weapons...
also about weapon_petrolcan it doesnt shows how many it left.. it shows undefined. also i think when it reach 0 litres (ammo), so you get spammed in console
self.updateWeaponAmmo = function(weaponName, ammoCount)
local loadoutNum, weapon = self.getWeapon(weaponName)
if weapon then
if ammoCount < weapon.ammo then
weapon.ammo = ammoCount
end
end
end
weapon.ammo = ammoCount this
And how do I fix this problem?
I don't know. Not something I have experienced to be able to even start looking into 🤷
Oddly enough you two seem to be the only ones who are continually mentioning duplication issues... Whether its items or weapons or whatever.. So maybe you need to sort out your framework or something?
I also tried with clean install of esx and edited it how you tell us to do so. Same Problems.. Maybe the other people just don't care about that I don't know. I use esx 1.2
There isn't anything I can do at this point
It's possible to duplicate weapons if you for example get a gasoline can and it doesnt show up, so then you go to the shop and after that you can get so many weapons as you want