Brutal Scripts
YouTubeDiscordStore
  • 🙉About Us
  • ↗️Translate
  • Informations
    • 🔒Escrow System
    • 🔥Common Problems
  • Scripts
    • 📄Notify
      • Accessible files
      • Installation guide
    • 🔠Text-UI
      • Installation guide
      • Exports & How to use
      • Integrations
    • 🤟Gangs
      • Accessible files
      • Installation guide
      • exports / triggers
      • Create a new gang
    • 🏡Housing
      • Accessible files
      • Installation guide
      • exports / triggers
    • 🔑Keys
      • Accessible files
      • Installation guide
      • exports / triggers
    • 💥Gang Actions
      • Accessible files
      • Installation guide
      • exports / triggers
      • Controlling the menu
    • ⭕Radial
      • Accessible files
      • Installation guide
      • Adding new buttons
    • 🎯Executions
      • Accessible files
      • Installation guide
      • exports / triggers
    • 🐶Pets + K9 V2
      • Accessible files
      • Installation guide
    • 👮Police Job
      • Accessible files
      • Installation guide
      • exports / triggers
    • 🚑Ambulance Job
      • Accessible files
      • Installation guide
      • exports / triggers
    • 🔧Mechanic Job
      • Accessible files
      • Installation guide
      • exports / triggers
    • 💪GYM with Skills V2
      • Accessible files
      • Installation guide
      • exports / triggers
    • 🔫Paintball
      • Accessible files
      • Installation guide
      • exports / triggers
    • 🥊Boxing
      • Accessible files
      • Installation guide
      • exports / triggers
    • 🔨Crafting
      • Accessible files
      • Installation guide
      • Creating a new crafting table
    • 🏦Banking
      • Accessible files
      • Installation guide
      • Paycheck transactions
      • Registering transactions
    • 🎳Bowling
      • Accessible files
      • Installation guide
      • exports / triggers
    • 🦌Hunting
      • Accessible files
      • Installation guide
    • 🏁Racing Script
      • Accessible files
      • Installation guide
    • 🐛Reports
      • Accessible files
      • Installation guide
    • 🛒Shop Robbery
      • Accessible files
      • Installation guide
    • 🛥️Yacht Heist
      • Accessible files
      • Installation guide
    • 🧾Billing
      • Accessible files
      • Installation guide
      • Triggers
    • 💰Truck Robbery
      • Accessible files
      • Installation guide
    • 🏧Atm Robbery
      • Accessible files
      • Installation guide
    • 👶Baby script
      • Installation guide
      • How to add more babys
  • Others
    • Register Key Mapping
    • Drill Minigame
    • Discord Webhook
Powered by GitBook
On this page
  • How can I edit the Notify in any other scripts?
  • How to change the notify in your server to Brutal Notify?
  • ESX
  • QBCORE

Was this helpful?

  1. Scripts
  2. Notify

Installation guide

PreviousAccessible filesNextText-UI

Last updated 3 months ago

Was this helpful?

Follow the instructions below! It is important that you do everything exactly as described!

The script works on all FiveM servers!

How can I edit the Notify in any other scripts?

Every script use a notify function. So you have to change the notify trigger / export in all your scripts, which not use the brutal notify or the default ESX / QB notify.

Use these triggers to use the Brutal Notify.

Okay, but wait. What is the source, title, message, time, type?

  • Source (You have to add the source in server side.)

  • Title (This is the notify Title, Enter a custom text here, e.g. 'Notify')

  • Message (You have to add the notify message here.)

  • Time (Time of visibility of the notify. (Between 1000-15000) 1000 = 1 sec)

  • [ error / info / / success ]

  • Sound (If you want to give sound for that notify or not. true/false)

Trigger from Server side

TriggerClientEvent('brutal_notify:SendAlert', source, 'Title', 'Message', Time, 'type', Sound)

Export from Client side

exports['brutal_notify']:SendAlert('Title', 'Message', Time, 'type', Sound)

How to change the notify in your server to Brutal Notify?

ESX

es_extedned/client/functions.lua

Replace this function:

function ESX.ShowNotification(message, type, length)
    exports['brutal_notify']:SendAlert('Brutal Notify', message, length, type)
end

QBCORE

qb-core/client/functions.lua

Replace this function:

```lua
function QBCore.Functions.Notify(text, texttype, length)
    if type(text) == "table" then
        local ttext = text.text or 'Placeholder'
        local caption = text.caption or 'Placeholder'
        texttype = texttype or 'primary'
        length = length or 5000
        exports['brutal_notify']:SendAlert(caption, ttext, length, texttype)
    else
        texttype = texttype or 'primary'
        length = length or 5000
        exports['brutal_notify']:SendAlert('Brutal Notify', text, length, texttype)
    end
end
```
📄
Page cover image