Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 990 Bytes

File metadata and controls

60 lines (40 loc) · 990 Bytes

NotifyBridge

Unified notification bridge for FiveM.

Requirements

Installation

  1. Get the latest Release
  2. Put the resource into your resources folder
  3. Add this to your config:
   start ox_lib
   start NotifyBridge
  1. Configure the config.lua

Configuration

Set your target system in config.lua:

Config.NotifyTo = 'ox_lib'

Supported values:

  • ox_lib
  • ESX
  • okokNotify
  • chat

Test Command

If enabled:

/notifytest
/notifytest success Everything works
/notifytest error Something failed

Exports

Client

exports['NotifyBridge']:Notify(title, message, type, duration, position)

Server

exports['NotifyBridge']:NotifyPlayer(playerId, title, message, type, duration, position)
exports['NotifyBridge']:NotifyAll(title, message, type, duration, position)