You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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
setPedControlState(localPlayer, "vehicle_left", true)
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
The text was updated successfully, but these errors were encountered: