Skip to content

ZooScripts/zoo_notifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zoo Notifications

Open-source notification system for RedM (RDR3) servers — provides multiple in-game notification styles using native R* UI.

Features

  • 🎯 Advanced Notifications — title + subtitle with custom icon & dictionary
  • 💡 Tooltips — bottom screen tips
  • 📍 Location Notifications — top header style
  • Mission Names — RDR2 mission start style
  • 🎯 Objectives — current objective text
  • 📋 Top Notifications — title + subtitle banner
  • ➡️ Right-side Notifications — simple/advanced
  • 🎨 NUI Hunting Notifications — custom HTML/CSS with images

Installation

  1. Place this resource in your RedM server resources/ folder
  2. Add to server.cfg:
    ensure zoo_notifications
    
  3. Restart your server

Exports

exports.zoo_notifications:ShowAdvancedNotification(title, subtitle, dict, icon, duration)
exports.zoo_notifications:ShowTooltip(text, duration)
exports.zoo_notifications:ShowLocationNotification(text, location, duration)
exports.zoo_notifications:ShowSimpleRightText(text, duration)
exports.zoo_notifications:ShowMissionName(text, duration)
exports.zoo_notifications:ShowObjective(text, duration)
exports.zoo_notifications:ShowTopNotification(title, subtitle, duration)
exports.zoo_notifications:ShowAdvancedRightNotification(text, dict, icon, color, duration)
exports.zoo_notifications:ShowBasicTopNotification(text, duration)
exports.zoo_notifications:ShowSimpleCenterText(text, duration)
exports.zoo_notifications:ShowHunting(title, subtitle, image, duration)

Net Events

TriggerEvent('zoo_notifications:NotifyLeft', firsttext, secondtext, dict, icon, duration)
TriggerEvent('zoo_notifications:Tip', text, duration)
TriggerEvent('zoo_notifications:NotifyTop', text, location, duration)
TriggerEvent('zoo_notifications:ShowSimpleRightText', text, duration)
TriggerEvent('zoo_notifications:ShowMissionName', text, duration)
TriggerEvent('zoo_notifications:ShowObjective', text, duration)
TriggerEvent('zoo_notifications:ShowTopNotification', title, subtitle, duration)
TriggerEvent('zoo_notifications:ShowAdvancedRightNotification', text, dict, icon, color, duration)
TriggerEvent('zoo_notifications:ShowBasicTopNotification', text, duration)
TriggerEvent('zoo_notifications:ShowSimpleCenterText', text, duration)
TriggerEvent('zoo_notifications:ShowHunting', title, subtitle, image, duration)

Example Usage

-- Advanced notification with icon
exports.zoo_notifications:ShowAdvancedNotification(
    "Welcome",
    "to the server!",
    "menu_textures",
    "menu_icon_currency",
    5000
)

-- Simple tooltip
exports.zoo_notifications:ShowTooltip("Press E to interact", 3000)

-- NUI Hunting notification with custom image
exports.zoo_notifications:ShowHunting(
    "Legendary Wolf",
    "★★★ Perfect Quality",
    "https://example.com/wolf.png",
    5000
)

License

Open Source — free to use and modify.

Author

Zoo Scripts

About

Open-source notification system for RedM (RDR3) servers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors