samp.directory
← 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 GitHub

Este 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?

  1. Download textdrawCancel.inc
  2. Put this Place this include inside your includes folder: qawno/include or pawno/include
  3. 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

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