Skip to content

Setting player model resets their current weapon slot #501

@Einheit-101

Description

@Einheit-101

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions