View Full Version : MouseItem and InvMouse help?
Hey guys, quick question (I think)
Whenever I try to use these functions I get a Type Mismatch error.
InvMouse(3, leftClick);
MouseItem(3, true);
Any ideas why I get this error with these functions?
Thanks
The second parameter, Action, can only be a byte. Hence you cannot pass a Boolean, or the type fnct_ActionOptions to it.
Use mouse constants like mouse_Left, mouse_Right, mouse_move.
The second parameter, Action, can only be a byte. Hence you cannot pass a Boolean, or an unknown identifier (leftclick) to it.
Use mouse constants like mouse_Left, mouse_Right, mouse_move.
Thanks! Should someone should change the example here?: http://docs.villavu.com/srl-5/inventory.html#mouseitem
Also, I notice you are always the person to reply to scripting help, you're awesome :)
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.