sl4Jke
February 24, 2022, 6:03pm
83
The script works fine so far. The only thing I noticed immediately is that the attachment_remover item is also used although you did not have the attachment on the weapon.
Would be great if there was a query built in, so that the item is not wasted unnecessarily.
Thanks for the feedback. Iâll take a look.
Update v6.3
Added a Check if Component can attached to the Weapon
Fixed some minor Bugs
Thanks to @gpScripts for helping me with that.
Check him out! https://gp-resources.tebex.io/
1 Like
[ script:esx_armor] SCRIPT ERROR: @esx_armor /server.lua:36: attempt to index a nil value (local âxPlayerâ)
1 Like
That have nothing to do with the weaponammo Script.
when we spawn ammo is empty⌠can i avoid this ?
I need to save ammunition from a weapon but I always get an error
[script: weaponammo] SCRIPT ERROR: @ weaponammo / server.lua: 417: attempt to call a nil value (field âSavePlayerâ)
I know the config is to disable player saving, but if I do, it doesnât store the charges I need. Any help?
Set it to false and then wait a few minutes. ESX saves the player automatically after a certain time.
but hereâs the problem that players can bug it.
Anyone make this work for 1.1 ?
edit : i really love this script but my server use 1.1 base if anyone can make this work for 1.1
will be great
edit2 : i change âAddWeaponAmmoâ to âaddWeaponâ and now it work !!
I can apply a supressor 2 times on a weapon and it will remove 2 times the supressor. Is there a way to check if there is already a supressor on the weapon?
I can have a look at this
Did you already had time to fix this issue?
what was the point of making a paid script if it only costs $1⌠like ur script man but just so pointless
If you want to pay more just do it. You can pay as much as you want.