Skip to content

(Client) setControlState, setPedControlState and setAnalogControlState are reset to false when a player joins the game #3867

Closed
@UnavaiableSpoon13

Description

@UnavaiableSpoon13

Describe the bug

The control state that is set to true or 1 by one of the three functions will reset to false or 0 upon a player joining the game.
The said bug appears to be affecting both the three functions in the same way and presumably is on the side of the client.

Steps to reproduce

  1. Set the state of the control "forwards" to true or 1 with either one of the three functions.
-- Client-side
setControlState(localPlayer, "forwards", true)
-- setAnalogControlState(localPlayer, "forwards", 1)
-- setPedControlState(localPlayer, "forwards", true)
  1. Make another player join the server.

You can now observe that the local player is no longer moving forwards.

Version

Client: 1.6-release-22623
Server: 1.6-release-22596

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions