← Scripts and libraries
devbluen/textdraw-cancel
Get more precise information about deselecting and interacting with the Esc key in your textdraws.
Library★ 5updated Apr 2026No licencePawn
Open on GitHubThis repository has no licence file. It is public to read, but that alone does not give permission to reuse it.
Try it in the Pawn compiler →
Adds its include files, with the libraries it depends on, to the Pawn compiler in your browser, ready to include in a script.
README.md
🫧 Textdraw Cancel
Get more precise information about deselecting and interacting with the Esc key in your textdraws.
📝 How to install?
- Download textdrawCancel.inc
- Put this Place this include inside your includes folder:
qawno/includeorpawno/include - Write
#include <textdrawCancel>in your gamemode (.pwn) file.
📜 Usage Example
Every time you press ESC, this callback will be called.
public OnPlayerTextdrawClose(playerid) {
if(Inventory_Created(playerid))
Inventory_Close(playerid);
}
⚙️ Callback
forward OnPlayerTextdrawClose(playerid)
🍪 Dependencies
- YSI-Includes: https://github.com/pawn-lang/YSI-Includes/releases
This page is built from what GitHub publishes about the repository. samp.directory does not host the code. Report a problem with this listing