SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 06/05/2012, 12:02 AM   #1
][Noname][
Gangsta
 
][Noname]['s Avatar
 
Join Date: Dec 2010
Posts: 635
Reputation: 92
Default About mouse and cursor

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.
__________________
Owner of Absolute Play and SAMP Addon
][Noname][ is online now   Reply With Quote
Old 07/05/2012, 06:36 AM   #2
][Noname][
Gangsta
 
][Noname]['s Avatar
 
Join Date: Dec 2010
Posts: 635
Reputation: 92
Default

Anyone tested this?
__________________
Owner of Absolute Play and SAMP Addon
][Noname][ is online now   Reply With Quote
Old 07/05/2012, 12:59 PM   #3
MP2
Godfather
 
MP2's Avatar
 
Join Date: Jan 2011
Location: England
Posts: 6,236
Reputation: 1004
Default Re: About mouse and cursor

CBA to test but I believe you. You could work around this easily with scripting though (GetTickCount + var).
__________________
Owner and developer of Mike's Cops and Robbers.

Click here to visit our site and find out more. Click here to view trailers.
Enter referral code SAMPFORUM after registering for a $5000 starting bonus!
MP2 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] ** Experimental Screen Cursor (Usable Server-sided Mouse Pointer) ** iPLEOMAX Filterscripts 42 16/11/2011 01:26 PM
Missing Cursor Xyotei Client Support 1 16/12/2010 07:12 AM
GTA SA-MP cursor help Bobby White Client Support 2 12/03/2010 04:18 PM
Cursor Options BlackFoX Help Archive 7 14/11/2009 09:10 AM


All times are GMT. The time now is 05:16 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.