Reference
Server exports and events
uniqers-uipackPage 18 of 200 topicsUpdated recently
Exports
lua
exports['uniqers-uipack']:Notify(source, { kind = 'success', title = 'Bank', text = 'Paid $500' }) exports['uniqers-uipack']:Hud(-1, 'banner', 'show', { text = 'Server restart in 5 minutes', kind = 'inform' })exports['uniqers-uipack']:Hud(source, 'hint', 'show', { text = 'Go to the depot' })exports['uniqers-uipack']:Hud(source, 'hint', 'hide') exports['uniqers-uipack']:SendInvite(targetId, { header = 'Race', text = 'Join the race at the pier?', icon = 'fa-solid fa-flag-checkered', acceptEvent = 'race:join', declineEvent = 'race:decline', returnTo = 'server', duration = 15000,})AddEventHandler('race:join', function(args, result, targetId) end)Client events you can trigger from the server
Client events you can listen to
Security
Every server event of the pack checks its sender: admin events check the admin ACE / group again on the server, request sends and trunk door syncs are rate limited, and strings are length-capped.
Still stuck? Send us your server log on Discord and we will sort it out with you.
Ask on Discord