← Skripte und Bibliotheken
devbluen/textdraw-cancel
Get more precise information about deselecting and interacting with the Esc key in your textdraws.
Bibliothek★ 5aktualisiert Apr. 2026Keine LizenzPawn
Auf GitHub öffnenDieses Repository hat keine Lizenzdatei. Es ist öffentlich lesbar, aber das allein gibt noch keine Erlaubnis, es weiterzuverwenden.
Im Pawn-Compiler ausprobieren →
Fügt seine Include-Dateien samt der Bibliotheken, von denen es abhängt, dem Pawn-Compiler in deinem Browser hinzu, bereit zum Einbinden in ein Skript.
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
Diese Seite wird aus dem erstellt, was GitHub über das Repository veröffentlicht. samp.directory hostet den Code nicht. Ein Problem mit diesem Eintrag melden