JiminyKroket / Invhud

ESX_InventoryHUD rework
11 stars 12 forks source link

weapon attachments saving #34

Closed Cloddd closed 3 years ago

Cloddd commented 3 years ago

after the new inventory update, i noticed that the script now saves the attachements for weapon, which is good, but now i have a problem, if i remove my attachments from weapon , using esx code(not the natives) and if i drop the weapon and i get it back, the attachment appears another time. i think the problem of this thing is because of some loop in the inventory or something like that.

JiminyKroket commented 3 years ago

Drop like on the ground?

On Thu, Dec 10, 2020, 10:39 AM Cloddd notifications@github.com wrote:

after the new inventory update, i noticed that the script now saves the attachements for weapon, which is good, but now i have a problem, if i remove my attachments from weapon , using esx code(not the natives) and if i drop the weapon and i get it back, the attachment appears another time. i think the problem of this thing is because of some loop in the inventory or something like that.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JiminyKroket/Invhud/issues/34, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMCMCAB4UAQJZE35O7YVNTDSUD2TRANCNFSM4UVIWMWQ .

Cloddd commented 3 years ago

yea

Cloddd commented 3 years ago

im making a video so i can share with you

Cloddd commented 3 years ago

https://streamable.com/w6bw96

Cloddd commented 3 years ago

any news?

JiminyKroket commented 3 years ago

Invhud doesnt control dropping/picking up items

JiminyKroket commented 3 years ago

Screenshot_20201211-092804

Cloddd commented 3 years ago

i dont know man, i searched in es_extended but the drops in 1.1 doesnt handle the attachments also

JiminyKroket commented 3 years ago

Yes it does though? Thats literally its job

On Sun, Dec 13, 2020, 3:35 AM Cloddd notifications@github.com wrote:

i dont know man, i searched in es_extended but the drops in 1.1 doesnt handle the attachments also

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/JiminyKroket/Invhud/issues/34#issuecomment-743979409, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMCMCAH6JXZ7KA2WLU3DXC3SUSDH5ANCNFSM4UVIWMWQ .

JiminyKroket commented 3 years ago

The video you sent shows you dropping the item and losing the silencer at the same time. i.e. You are losing the suppressor when dropping the gun still

On Sun, Dec 13, 2020, 3:43 AM Zach Kwiatkowski gimmethiz@gmail.com wrote:

Yes it does though? Thats literally its job

On Sun, Dec 13, 2020, 3:35 AM Cloddd notifications@github.com wrote:

i dont know man, i searched in es_extended but the drops in 1.1 doesnt handle the attachments also

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/JiminyKroket/Invhud/issues/34#issuecomment-743979409, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMCMCAH6JXZ7KA2WLU3DXC3SUSDH5ANCNFSM4UVIWMWQ .

Cloddd commented 3 years ago

yea found it, lol, but idk how it recive the attachment if it doesnt exist

JiminyKroket commented 3 years ago

Idk either

On Sun, Dec 13, 2020, 3:48 AM Cloddd notifications@github.com wrote:

yea found it, lol, but idk how it recive the attachment if it doesnt exist

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/JiminyKroket/Invhud/issues/34#issuecomment-743980579, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMCMCAFAQZ2T4XTQ42MZ62TSUSEWRANCNFSM4UVIWMWQ .

JiminyKroket commented 3 years ago

I know if i have a gun with attachments and drop it, then give myself a new gun, I do not have the attachments still. I can not test removing the attachment then dropping it

On Sun, Dec 13, 2020, 3:49 AM Zach Kwiatkowski gimmethiz@gmail.com wrote:

Idk either

On Sun, Dec 13, 2020, 3:48 AM Cloddd notifications@github.com wrote:

yea found it, lol, but idk how it recive the attachment if it doesnt exist

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/JiminyKroket/Invhud/issues/34#issuecomment-743980579, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMCMCAFAQZ2T4XTQ42MZ62TSUSEWRANCNFSM4UVIWMWQ .