13.03.2012, 17:21
Any one of them atleast?
* Screen positions within the range of 640*480 canvas, like the textdraws.
pawn Code:
Callback: OnMouseKeyStateChange(buttons, Float:ScreenX, Float:ScreenY)
//Only works when the cursor is visible to the player.
//For example, when a player presses T for chatbox..
Callback: OnMouseHoverTextdraw(Text:textid)
//returns textid = 0 if player stopped hovering.
Function: GetCursorPosition(playerid, &Float:X, &Float:Y);

