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
  • Change the TX Admin Notifys
  • Possible Installing Issues
  • Failed to verify protected resource...
  • You lack the required entitlement to use...
  • Possible Script Issues
  • - No Issues known yet
  1. Docs for our Products
  2. S-Notify

Informations / Typical Errors

This page will give you information about the script. Also are typical Errors listed, so that you can easily fix them!

Change the TX Admin Notifys

If you want to change the TxAdmin notifys to the notifys from our script. You have to do the following:

  1. Hide the default Announces under Settings > Game > Announce Notification

  2. Next you have to paste this lines of code into a random resource. The file has to be server side.

AddEventHandler(
    "txAdmin:events:scheduledRestart",
    function(eventData)
        if eventData.secondsRemaining ~= 60 then
            TriggerClientEvent(
                "SService:Client:AnnounceNotify",
                -1,
                1,
                1,
                1,
                string.format("Der Server wird in %s Minuten neugestartet!", math.ceil(eventData.secondsRemaining / 60)),
                "txAdmin",
                5
            )
        else
            TriggerClientEvent(
                "SService:Client:AnnounceNotify",
                -1,
                1,
                1,
                1,
                string.format("Der Server wird in %s Minuten neugestartet!", math.ceil(eventData.secondsRemaining / 60)),
                "txAdmin",
                5
            )
        end
    end
)
AddEventHandler(
    "txAdmin:events:announcement",
    function(data)
        TriggerClientEvent(
            "SService:Client:AnnounceNotify",
            -1,
            1,
            1,
            1,
            data.author .. ": " .. data.message,
            "txAdmin",
            5
        )
    end
)
AddEventHandler(
    "txAdmin:events:playerDirectMessage",
    function(data)
        TriggerClientEvent("SService:Client:TeamNotifyScript", data.target, 1, 1, data.message, 5, data.author)
    end
)
  1. Restart the Server and have fun!

Now Tx admin notifys are implemented

Possible Installing Issues

If you encounter any issues with the script, here are some troubleshooting steps that you can try!

Failed to verify protected resource...

This error message indicates that the script files may be corrupted, or the .fxap file is missing. To resolve this issue, try these following steps:

  1. Verify that the .fxap file is existing in the script folder.

  2. Try deleting the script forlder from your server and upload it again.

  3. If the issue persists try to change your FTP client.

You lack the required entitlement to use...

If you see this message, it can be that there is a problem with your Keymaster account. Restart your FiveM server and verify your Keymaster account to resolve it

Possible Script Issues

- No Issues known yet

If you cannot find a way to fix the bug, feel free to create a ticket on our Discord

PreviousExports and EventsNextS-Admin

Last updated 1 year ago

๐Ÿ””
๐Ÿ“Œ