[PAID] [ESX] FX-SupportCall - Call Players into your Discord/Teamspeak Support

FX SupportCall UPDATE

FX-SupportCall lets your admins display a NUI window with a custom text on the screen of the selected player.
This allows you to call your players into supportcalls without having to teleport to them or similar.

When the NUI is shown the player cannot move punch or shoot.
The NUI can be triggered either with commands (1. With a Message already set in the Config. 2. Where the message can be set when typing in the command.)
Or by triggering a event.

You can customize the NUI to your liking for example by changing the colors in the CSS or by uploading your own logo.png into the HTML folder.

You can set up to five groups that are allowed to execute the commands you have set in the config.

The Notify can be translated in the config aswell.

Update 1.1

Added Sounds 
(can be edited in config)
Added the possibility for the player to close the NUI Rather then having the admin do it for them
Performance Fixes
Bug Fixes

UPCOMING

  1. Alternative NUI Style
  2. Ace permissions for the command
  3. NUI with buttons and Inputs for the whole thing rather than just commands.
  4. Any Suggestions?
  5. Stand-alone ?

(these updates will take a while and may increase the price of the script so you might aswell buy now since you will get the updates for free when you have already bought the script)

BUY HERE

PREVIEW

CONFIG

Config = {}

    -- COMMANDS
 
    -- Command where the Message can be set in the Config
    Config.command = 'supportcall' -- Set the name of the command this is used in game
    Config.message = "Please join our support waiting room on the discord" -- Which Message should be displayed in the NUI (example: 'Please join the Supportwaiting room on our discord')
    

    -- Command where the Message is custom usage /"yourcommand" "playerID" "your custom message"
    Config.commandCustom = 'supportcustom' -- Set the name of the command this is used in game


    -- Command to stop the NUI from showing for the Player

    Config.StopNui = 'closenui' -- Change this command to whatever you like
    Config.PlayerCanCloseNUI = true -- Players can close the NUI by pressing E for 10s

    -- Misc Settings

    Config.PlayerCanCloseNUI = true 
    Config.showPlayerName = false -- Shows the player who sent the command (Leaves a "from: playername" at the end of the message) this can be either true or false
    Config.Group1 = "owner" -- Which groups are allowed to execute the command above ? (Example: "administrator")
    Config.Group2 = "admin" 
    Config.Group3 = "moderator"
    Config.Group4 = "supporter"
    Config.Group5 = "developer"


  -- Translations

  Config.NoPermission = "You dont have permission!"
  Config.InvalidID = "This ID is not valid!"
  Config.Sucess = "Sucess!"


  -- Sounds

--When NUI Opens
  Config.SoundOpen = "SCREEN_FLASH" --Sound Name
  Config.SoundOpenRef = "CELEBRATION_SOUNDSET" -- Sound Ref 

--When NUI Closes
  Config.SoundHide = "SCREEN_FLASH" --Sound Name
  Config.SoundHideRef = "CELEBRATION_SOUNDSET"-- Sound Ref 

--When E is pressed
  Config.SoundClosing = "TIMER" --Sound Name
  Config.SoundClosingRef = "HUD_FRONTEND_DEFAULT_SOUNDSET"-- Sound Ref 

-- Sound Libary https://■■■■.stuyk.com/docs/articles/tables/frontend-sounds.html



Code is accessible No
Subscription-based No
Lines (approximately) Around 240 lines
Requirements ESX
Support Yes
1 Like

TxAdmin Warning system does the same thing with sound

1 Like

Any chance for standalone?

1 Like

We will think about it :slight_smile:

Kind of. Tx Admin automaticly adds a warn to the player (when the player has 3 warns he will get banned) and its not customizable and lacks ease of use. thats why i created this.
Also I will add a sound that will play in the next update. :slight_smile:

QBCore version? :smiley:

Hi there, I stopped developement on this script, but id be happy to have a look and making it work for QB aswell.
Send me a message on discord and ill give it my best.

@.maybefx