About mouse and cursor - 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: About mouse and cursor (
/showthread.php?tid=340109)
About mouse and cursor -
][Noname][ - 06.05.2012
1.If you double click on listitem in dialog, in response of dialog you call SelectObject, and your mouse cursor will be on any object, it will call function OnPlayerSelectObject immediately after clicking dialog.
__________________________________________________ __________________
2.Scripting bug:
If you call SelectObject in callback OnPlayerEditDynamicObject response==EDIT_RESPONSE_UPDATE your cursor will be destroy, you can't return cursor.
-
][Noname][ - 07.05.2012
Anyone tested this?
Re: About mouse and cursor -
MP2 - 07.05.2012
CBA to test but I believe you. You could work around this easily with scripting though (GetTickCount + var).