← Scripts et bibliothèques
devbluen/textdraw-cancel
Get more precise information about deselecting and interacting with the Esc key in your textdraws.
Bibliothèque★ 5mis à jour avr. 2026Pas de licencePawn
Ouvrir sur GitHubCe dépôt n’a pas de fichier de licence. Il est public en lecture, mais cela ne donne pas à lui seul le droit de le réutiliser.
L’essayer dans le compilateur Pawn →
Ajoute ses fichiers include, avec les bibliothèques dont il dépend, au compilateur Pawn de ton navigateur, prêts à être inclus dans un 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
Cette page est construite à partir de ce que GitHub publie sur le dépôt. samp.directory n’héberge pas le code. Signaler un problème avec cette fiche