17.12.2013, 21:40
Hello,
When CancelSelectTextDraw is called, CancelSelectTextDraw calls OnPlayerClickTextDraw which is totaly pointless.
This is not a problem at all, except the fact that it is given INVALID_TEXT_DRAW as clickedid.
Which makes the script that I use when a player hits ESC when he is under SelectTextDraw broken.
Also another thing that i just don't get, why dont make something like OnPlayerCanceledSelectTextDraw or something... so you can detect when a player hits ESC on a logical way.
Thanks for reading.
When CancelSelectTextDraw is called, CancelSelectTextDraw calls OnPlayerClickTextDraw which is totaly pointless.
This is not a problem at all, except the fact that it is given INVALID_TEXT_DRAW as clickedid.
Which makes the script that I use when a player hits ESC when he is under SelectTextDraw broken.
Also another thing that i just don't get, why dont make something like OnPlayerCanceledSelectTextDraw or something... so you can detect when a player hits ESC on a logical way.
Thanks for reading.