[PAID][ESX] Ticketsystem | MK-Services

A script by Pain1435

No reviews yet.
[PAID][ESX] Ticketsystem | MK-Services main image

Full Description

This resource is compatible with ESX v1.1 / ESX 1.2 (v1 Final) / ESX Legacy (v1.3 - v1.5)/ Extendedmode.

Description

Ticket System for FiveM Server Report administration

Features

  • Nice UI for created reports/tickets
  • Customizable commands
  • Adjustable notification event
  • No performance impact for normal users
  • ESX events and prefix customizable
  • Low performance consumption (0.00ms - 0.04ms)

Showcase: Click me
Buy: Click me (Secured by FiveM Escrow System)

Config Snippets:

MK = MK or {}

-- By default 'en' and 'de' are supported.
-- You can modify or add new translations in the translations.lua file
MK.Language = 'en'

MK.ESXEvents = {
    GetSharedObject = 'esx:getSharedObject',
    PlayerLoaded = 'esx:playerLoaded',
    SetJob = 'esx:setJob'
}

MK.Notify = function(type, message)
  if type == 'success' then
      TriggerEvent('esx:showNotification', message)
  elseif type == 'warning' then
      TriggerEvent('esx:showNotification', message)
  elseif type == 'error' then
      TriggerEvent('esx:showNotification', message)
  elseif type == 'info' then
      TriggerEvent('esx:showNotification', message)
  end
end

onAdutyTriggered = function() 
    -- implementation when using mk_aduty
    if GetResourceState("mk_aduty") == "started" then 
        local isinAduty = exports.mk_aduty:IsInAduty()
        if not isinAduty then 
            TriggerEvent("mk_aduty:client:toggleAduty")
        end
    end
end

onAdutyLeft = function() 
    -- implementation when using mk_aduty
    if GetResourceState("mk_aduty") == "started" then 
        local isinAduty = exports.mk_aduty:IsInAduty()
        if isinAduty then 
            TriggerEvent("mk_aduty:client:toggleAduty")
        end
    end
end

Code is accessible No
Subscription-based No
Lines (approximately) LUA: ~970 UI: 360
Support Yes