Development

HTML (index.html)

The index.html file contains the Vue.js application that renders the notifications. Make sure it includes the necessary styles and scripts.

Lua Script (client.lua)

The client.lua script handles the commands and exports to trigger notifications from other resources.

Resource Manifest (fxmanifest.lua)

Defines the resource for FiveM and specifies the files to be used.

ui_page 'html/index.html'

files {
    'html/index.html',
    'html/sounds/success.mp3',
    'html/sounds/error.mp3',
    'html/sounds/warning.mp3',
    'html/sounds/info.mp3'
}

client_scripts {
    'client.lua'
}

Last updated