AWS DEVELOPMENT / DOCUMENTATION

Your server. Our expertise.

Everything you need to install, configure and build.

94 guides • 11 resources • Always here to help
Documentation/custom.lua
About resource versions

These guides include the original resource names. Use the folder and SQL names supplied with your downloaded version. A renamed AWS package may differ from the original EXIT release.

custom.lua

if Config.Framework ~= 'custom' then return end

-- CUSTOM FRAMEWORK CLIENT TEMPLATE
Bridge = {}

function Bridge.GetPlayerData()
    -- Return custom player data structure
    return {}
end

function Bridge.GetPlayerJob()
    -- Return job name as string
    return "none"
end

function Bridge.TriggerCallback(name, cb, ...)
    -- Handle server callback via custom framework
end

function Bridge.HideText()
    -- Handle UI text hiding
end

function Bridge.GetItems()
    -- Return items array
    return {}
end

function Bridge.GetItemLabel(item)
    return item
end
function Bridge.Notify(msg, type)
    -- Trigger custom notification event or export
    -- example: exports['mythic_notify']:DoCustomHudText('inform', msg)
end

function Bridge.Progress(name, label, duration, useLib, anim, prop, disable, cb)
    -- Trigger custom progress bar
    -- example: exports['progressbar']:Progress({ ... }, function() cb() end)
    cb() -- remove this once implemented
end