Describe the bug
If you use setPedControlState on yourself, then getPedControlState used on a nearby player will return true, even if the player is not executing any controls
Steps to reproduce
- Set yourself a control for example vehicle_left
setPedControlState(localPlayer, "vehicle_left", true)
- Now use getPedControlState on the player next to you with the same control we set for ourselves
local player = getPlayerFromName("xyz")
outputChatBox(inspect(getPedControlState(player, "vehicle_left")))
You can now see that the function will return true if the player does not turn left
Version
Client: 1.6-release-22789
Server: 1.6-release-22789