-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Labels
RedMIssues/PRs related to RedMIssues/PRs related to RedMbugtriageNeeds a preliminary assessment to determine the urgency and required actionNeeds a preliminary assessment to determine the urgency and required action
Description
What happened?
Incorrect behavior of the SET_CURSOR_LOCATION native function. It works regardless of the activity of the game window or console (F8). Example: if you run this native function inside a loop, it will always move the cursor. Even if the game is minimized.
Expected result
When the window is minimized or the console is open, the native code should not run.
Reproduction steps
Citizen.CreateThread(function()
while true do
Wait(0)
SetCursorLocation(0, 0)
end
end)
Importancy
Unknown
Area(s)
FiveM, RedM, Natives
Specific version(s)
FiveM / RedM
Additional information
No response
Firecul
Metadata
Metadata
Assignees
Labels
RedMIssues/PRs related to RedMIssues/PRs related to RedMbugtriageNeeds a preliminary assessment to determine the urgency and required actionNeeds a preliminary assessment to determine the urgency and required action