We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a module to optimiser the emit functions TriggerEvent TriggerClientEvent TriggerServerEvent
Example:
function jo.emit.triggerClient(name, source, ...) local payload <const> = msgpack.pack_args(...) local payloadLen <const> = #payload if type(source) == 'table' and table.type(source) == 'array' then for i = 1, #source do local _source <const> = source[i] TriggerClientEventInternal(name, _source, payload, payloadLen) end return end TriggerClientEventInternal(name, source, payload, payloadLen) end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Create a module to optimiser the emit functions
TriggerEvent
TriggerClientEvent
TriggerServerEvent
Example:
The text was updated successfully, but these errors were encountered: