samp.directory
← Scripts et bibliothèques

by-not/not_notify

Modular 5-channel visual HUD notification system for SA-MP and open.mp with slot-based timers and auto-wrapping.

Bibliothèque★ 0mis à jour hierMITPawn
Ouvrir sur GitHub
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

not_notify

Language: English | Español

A modular, slot-based visual notification HUD library for SA-MP and open.mp featuring 5 independent screen channels.

Included Channels

  1. Notifications (ShowNotify) — Bottom-left card with icon, title, and message.
  2. Supplies (ShowNotifySupplies) — Top-right compact pickup/resource feed.
  3. Ads (ShowNotifyADS) — Bottom-center prominent announcements.
  4. Messages (ShowMessage) — Center above chat with custom font/shadow/outline.
  5. Low Messages (ShowLowMessage) — Bottom-center below chat with custom font/shadow/outline.

Installation

#include <a_samp>

// Optional overrides before including:
#define MAX_NORMAL_NOTIFY        5
#define MAX_NOTIFY_SUPPLIES      3
#define MAX_NOTIFY_ADS           2
#define MAX_NOTIFY_MESSAGES      4
#define MAX_NOTIFY_LOW_MESSAGES  3

#include <not_notify>

Quick Start

new id = ShowNotify(playerid, "~g~Success", "Mission completed!", 5000, "ld_beat:chit");
UpdateNotifyText(playerid, id, "~y~Reward", "You received $5,000");
DestroyNotify(playerid, id);

Credits

  • Written and refactored by not.
  • Character width table by Nero_3D (td-string-width).

License

Released under the MIT License.

gtasahudnotificationsopenmppawnsamp

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

by-not/not_notify : Bibliothèque SA-MP | samp.directory