๐ŸŽฎClient Side

Exports List

exports['ug-dispatch']:SendDispatch(code: number)
exports['ug-dispatch']:SendCustomDispatch(customCode: table)

Send Dispatch

This export is used to start the process of triggering a code.

This will only work if the code is actually valid and exists.

Usage:

exports['ug-dispatch']:SendDispatch(code: number)

Example:

RegisterCommand('sendCode', function (source, args)
    local code = tonumber(args[1]) -- The code in number.
    exports['ug-dispatch']:SendDispatch(code)
end, false)

Returns:

None


Send Custom Dispatch

This export is used to start the process of sending a custom code that doesn't exist (Can be used to use in the SOS calls for example). The custom code must be a code that requires having all the code settings (not required having the default key and the code content). Refer to this documentation to know how to use.

Usage:

Example:

Returns:

None

Last updated

Was this helpful?