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

Setting player model resets their current weapon slot #501

Open
Einheit-101 opened this issue Sep 18, 2018 · 0 comments
Open

Setting player model resets their current weapon slot #501

Einheit-101 opened this issue Sep 18, 2018 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@Einheit-101
Copy link

Einheit-101 commented Sep 18, 2018

Describe the bug
setElementModel() on a player sets his current weapon slot to 0.

To Reproduce

  • Go to map editor, start runcode
  • Get yourself a MP5 or any other weapon
  • use srun setElementModel(me, 160)
  • You are no longer equipped with the MP5, you have to switch back to it

Expected behavior
setElementModel should have no influence on the players weapon slot.

Multi Theft Auto v1.5.6-release-14394

Additional information
From https://bugs.mtasa.com/view.php?id=9671

@ArranTuna ArranTuna added the bug Something isn't working label Sep 19, 2018
@qaisjp qaisjp changed the title setElementModel() on a player sets his current weapon slot to 0 Setting player model resets their current weapon slot Sep 20, 2018
@qaisjp qaisjp added this to the Backlog milestone Sep 20, 2018
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

3 participants