samp.directory
← Скрипты и библиотеки

by-not/not_notify

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

Библиотека★ 0обновлён вчераMITPawn
Открыть на GitHub
Попробовать в компиляторе Pawn →

Добавляет файлы инклудов этого репозитория вместе с библиотеками, от которых он зависит, в компилятор Pawn в вашем браузере, чтобы их можно было сразу подключить в скрипте.

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

Страница собрана из того, что GitHub публикует о репозитории. samp.directory не хранит этот код. Сообщить о проблеме с этой записью

by-not/not_notify: Библиотека для SA-MP | samp.directory