Skip to content
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

Holsters #24

Open
1 task done
Tommbrwn4 opened this issue Nov 30, 2024 · 1 comment
Open
1 task done

Holsters #24

Tommbrwn4 opened this issue Nov 30, 2024 · 1 comment
Labels
Bug Something isn't working

Comments

@Tommbrwn4
Copy link

Version

v1.0.1

Describe the bug

I added the holster with the correct texture on it as described in the read.me and when I holster/unholster it swaps the texture from black(texture 1) to the camo (texture 3) and it swaps back and forth between the camo. I don't understand why it is doing this. On another one I made it swaps between two different textures when I holster/unholster my weapon. I noticed that when I have more than one texture in the config, like texture 1,2,3,4 it will always swap it to the last one. So if I have 3 itll swap it to the 3rd texture or if I have 4 itll swap it to the 4th texture.

Expected behavior

I expect it to retain the texture that I assigned it.

Steps to reproduce

I will link some lines of the config;
registerEquipment(REGISTERED_PEDS.mp_m_freemode_01, COMPONENTS.teef, REGISTERED_WPNS.weapon_combatpistol, 194, 193, 0, 0)
registerEquipment(REGISTERED_PEDS.mp_m_freemode_01, COMPONENTS.teef, REGISTERED_WPNS.weapon_combatpistol, 194, 193, 1, 1)
registerEquipment(REGISTERED_PEDS.mp_m_freemode_01, COMPONENTS.teef, REGISTERED_WPNS.weapon_combatpistol, 194, 193, 2, 2)
registerEquipment(REGISTERED_PEDS.mp_m_freemode_01, COMPONENTS.teef, REGISTERED_WPNS.weapon_combatpistol, 194, 193, 3, 3)
registerEquipment(REGISTERED_PEDS.mp_m_freemode_01, COMPONENTS.teef, REGISTERED_WPNS.weapon_combatpistol, 194, 193, 4, 4)

References (optional)

No response

Additional info (optional)

No response

Please confirm the following

  • I've checked for similar issues before opening this issue.
@Tommbrwn4 Tommbrwn4 added the Bug Something isn't working label Nov 30, 2024
@derl30n
Copy link
Owner

derl30n commented Dec 3, 2024

Thanks for your feedback, please see #22 for more details on the issue at hand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants