SA-MP Forums Archive
Mouse not working in tab? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Mouse not working in tab? (/showthread.php?tid=599384)



Mouse not working in tab? - xFuTuRe - 25.01.2016

For some reason we can't (everyone in my server) use our mouse cursor, it just disappears while we're in 'tab'.

Does anyone know how to solve this?


Re: Mouse not working in tab? - Amunra - 25.01.2016

Maybe Check your "OnPlayerKeyStateChange"
Or Check Your Mouse xD


Re: Mouse not working in tab? - xFuTuRe - 25.01.2016

Everyone in my server has this problem, not just me... The first thing I did was looking at that callback but with no result.


Re: Mouse not working in tab? - iZN - 25.01.2016

Does setting "multicore" to 0 in "My Documents\GTA San Andreas User Files\SAMP\sa-mp.cfg" fixes the issue? I believe this is possibly a client-side issue. Can you tell more about the behaviour? Is it like when you press TAB, the mouse cursor just disappears instantly? or is it little different?

There's also a callback called OnPlayerClickPlayer() which is used for checking if the player has double-clicked on the scoreboard, check this callback in case too.


Re: Mouse not working in tab? - xFuTuRe - 25.01.2016

Everyone in my server has to deal with this, you simply press 'tab' and instantly you see the mouse disappear and you can play as normally but with the tab screen.


Re: Mouse not working in tab? - xFuTuRe - 26.01.2016

Bump.