Skip to content

setPedWeaponSlot from 11 to 0 resets goggle effect #579

@ArranTuna

Description

@ArranTuna

Describe the bug
Using setPedWeaponSlot from slot 11 to slot 0 resets goggle effect.

To reproduce
Take nightvision goggles and enable the effect by left click.
Do setPedWeaponSlot(localPlayer, 11).
Goggle effect resets. If you change from any other slot, the goggle effect won't be reset.

Expected behaviour

Screenshots

Version
v1.5.5-release-13192

Additional context

From https://bugs.mtasa.com/view.php?id=9877

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