S-Service
S-Service
  • S-SERVICE
    • ๐Ÿ’ฅAbout S-Service
  • Docs for our Products
    • ๐Ÿ”ซS-Gangwar
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • โœจS-FFA
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ‘จโ€โš•๏ธS-Revivestation
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ“ฆS-Postal
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆS-Factions
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ–ผ๏ธS-Loadingscreen
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ“ฉS-Identity
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿš—S-Garage
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐ŸŽซS-Namechange
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ—บ๏ธS-HUD
      • ๐Ÿ› ๏ธInstallation
        • HUD setup into ESX
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ””S-Notify
      • ๐Ÿ› ๏ธInstallation
        • Notify setup into ESX
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿค–S-Admin
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
        • Permissions
        • Commands
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿš˜S-Rental
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ“‚S-Scoreboard
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ’€S-Deathscreen
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ S-Housing
      • ๐Ÿ› ๏ธInstallation
        • Guides
          • Insert new Shells
        • Default Settings
          • Default Garages
          • Default Shells
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿง‚S-SaltyNUI
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ’ปS-Inventory
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ‘•S-Clothingshop
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐ŸŽ„S-Christmas
      • ๐Ÿ› ๏ธInstallation
        • Tebex Wrapper (Premium)
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ›„S-Warehouse
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐ŸชS-Dealerships
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ›’S-Shops
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ“ขS-Lifeinvader
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ’ตS-Moneywash
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐ŸŽ๏ธS-Platechange
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
Powered by GitBook
On this page
  • Notifys
  • Help Notify
  1. Docs for our Products
  2. S-Notify
  3. Installation

Notify setup into ESX

This is a short and simple guide that explains how to set up our notifications in your es_extended

Notifys

Search in the es_extended/client/functions.lua for this function:

function ESX.ShowNotification(message, notifyType, length)
	return IsResourceFound('esx_notify') and exports['esx_notify']:Notify(notifyType, length, message)
end

Replace the old one with this

function ESX.ShowNotification(message, notifyType, length)
    local titel = "Notify"
    if notifyType == nil then  
        notifyType = "info"
    end
    if notifyType == "info" then  	
        titel = "Information"
    elseif notifyType == "success" then 
        titel = "Success"
    elseif notifyType == "error" then
        titel = "Error"
    end
    exports["S-Notify"]:MakeNotifyInfo(message, titel, notifyType, 5000, nil, 1, 1)
end

Help Notify

Search in the es_extended/client/functions.lua for this function:

function ESX.ShowHelpNotification(msg, thisFrame, beep, duration)
    AddTextEntry("esxHelpNotification", msg)
    if thisFrame then
        DisplayHelpTextThisFrame("esxHelpNotification", false)
    else
        BeginTextCommandDisplayHelp("esxHelpNotification")
        EndTextCommandDisplayHelp(0, false, beep == nil or beep, duration or -1)
    end
end

Replace the old one with this

function ESX.ShowHelpNotification(msg, thisFrame, beep, duration)
    exports["S-HUD"]:MakeKeyHelpNotify("E", msg, 1)
end
PreviousInstallationNextConfiguration

Last updated 2 months ago

๐Ÿ””
๐Ÿ› ๏ธ