Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OnPlayerCancelTextDrawSelection(playerid), OnPlayerCancelPlayerTextDrawSelection(playerid) #846

Open
akosd127 opened this issue Jan 27, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@akosd127
Copy link

Is your feature request related to a problem? Please describe.
I know that the 'OnPlayerClickTextDraw' function exists, and somehow it can be solved with that, but why couldn't this be simplified?

Describe the solution you'd like
Adding these two functions:
OnPlayerCancelTextDrawSelection(playerid)
OnPlayerCancelPlayerTextDrawSelection(playerid)

Describe alternatives you've considered
Perhaps there is no need to explain too much; it's quite clear. These are called when the player presses the 'ESC' key or when the CancelSelectTextDraw(playerid); function is invoked."

@akosd127 akosd127 added the enhancement New feature or request label Jan 27, 2024
@BeckzyBoi
Copy link

What's simpler than the current callbacks being triggered with INVALID_TEXT_DRAW ? There's no need for two more new callbacks IMO.

@akosd127
Copy link
Author

Only one question. Are you currently using the 'OnPlayerClickTextDraw' function on the open.mp server?

@akosd127
Copy link
Author

What's simpler than the current callbacks being triggered with INVALID_TEXT_DRAW ? There's no need for two more new callbacks IMO.

It's possible that you don't need this functionality, but there are others besides you who may need it. Just because you don't need it doesn't mean taking away the opportunity from others!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants