View Issue Details

IDProjectCategoryView StatusLast Update
0007246Multi Theft Auto : San AndreasClientpublic2015-07-16 16:23
ReporterNeoDarkAssigned Tosbx320 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformOSWindows 7OS Version
Product Version1.4 
Target Version1.4.1Fixed in Version1.4.1 
Summary0007246: setCursorPosition doesn't work properly
Description

If function showCursor() with "true" argument called before setCursorPosition(), cursor's position doesn't changing.
BUT:
if call showCursor(true) and after, for example, 50ms call setCursorPosition(), all works fine.

Steps To Reproduce

Here's my code:

bindKey("F2", "down",
function()
showCursor(true)
setCursorPosition(0, 0)
end
)

bindKey("F2", "up",
function()
showCursor(false)
end
)

I also tried event onClientKey, same situation.
This example works:

bindKey("F2", "down",
function()
showCursor(true)
setTimer(setCursorPosition, 50, 1, 0, 0)
end
)

bindKey("F2", "up",
function()
showCursor(false)
end
)

TagsNo tags attached.

Relationships

related to 0008941 resolvedJusonex setCursorPosition does not work 

Activities

CoolDark

2012-08-11 16:50

viewer   ~~0017278

I have the same problem.

sbx320

2014-12-23 10:56

administrator   ~~0022718

Fixed in http://code.google.com/p/mtasa-blue/source/detail?r=6982

Issue History

Date Modified Username Field Change