This callback was added in SA-MP 0.3e and will not work in earlier versions!
This callback is called when a player clicks on a textdraw or cancels the select mode with the Escape key.
|playerid||The ID of the player that clicked on the textdraw.|
|clickedid||The ID of the clicked textdraw. INVALID_TEXT_DRAW if selection was cancelled.|
It is always called first in filterscripts so returning 1 there also blocks other scripts from seeing it.
The clickable area is defined by TextDrawTextSize. The x and y parameters passed to that function must not be zero or negative. Do not use CancelSelectTextDraw unconditionally within this callback. This results in an infinite loop.