SA-MP Forums Archive
CancelEdit issue while EditObject - 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: CancelEdit issue while EditObject (/showthread.php?tid=492574)



CancelEdit issue while EditObject - Pablo Borsellino - 04.02.2014

Hey,

there occurs a problem when using CancelEdit during EditObject (while the left mouse button pressed):
- The mouse pointer is no longer displayed.
- Only if you use EditObject again and pressing the left mouse button before you move the mouse the mouse pointer reappears.

Script-side fix:
- Not possible as far as I know. Cause:
- OnPlayerKeyStateChange is not called during editing. (If so you could only use CancelEdit if the mouse buttons are not pressed, even that is'nt a good fix.)

Video (Text in german):
[ame]http://www.youtube.com/watch?v=iUJ2vJy5Yjw[/ame]

Thanks in advance!