← Scripts e bibliotecas
devbluen/textdraw-cancel
Get more precise information about deselecting and interacting with the Esc key in your textdraws.
Biblioteca★ 5atualizado abr. de 2026Sem licençaPawn
Abrir no GitHubEste repositório não tem arquivo de licença. Ele é público para leitura, mas isso sozinho não dá permissão para reutilizar.
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
Esta página é montada com o que o GitHub publica sobre o repositório. O samp.directory não hospeda o código. Avisar de um problema com esta página