Adjustments
Adjustments for Codeo-Notification Resource
Setting the Notification Default Location
To set the default location of the notification, you can follow these steps.
Open provided config file.
Find "
CODEO.DefaultNotifyPosition = "bottom-center" -- | top-left | top-center | top-right | center-left | center-right | bottom-left | bottom-center | bottom-right |
".
Then, in the setting here you can type one of these positions
Set notification sound enable/disable
You can follow the steps below to enable/disable the notification sound.
Open provided config file.
Find "
CODEO.DefaultNotifySound = "one" -- | one | two | three | four | five | six | seven | eight |
".
Then this feature will turn the notification sound off if false, and turn the notification sound on if true
Customize Test Notification Messages
You can follow the steps below to turn the notification test commands on and off.
Open provided client/client_editable.lua file.
Find "
RegisterNUICallback('SEND_TEST_NOTIFICATION', function(data) sendNotify(nil, "Lorem ipsum dolor sit amet consectetur, adipisicing elit. Success", 'success', 3000) sendNotify(nil, "Lorem ipsum dolor sit amet consectetur, adipisicing elit. Error", 'error', 3000) sendNotify(nil, "Lorem ipsum dolor sit amet consectetur, adipisicing elit. Info", 'info', 3000) sendNotify(nil, "Lorem ipsum dolor sit amet consectetur, adipisicing elit. Server", 'server', 3000) sendNotify(nil, "Lorem ipsum dolor sit amet consectetur, adipisicing elit. Police", 'police', 3000) end)
".
You can edit test messages from this section.
Turn Notification Sound on or off
Check how to do it with the information I will provide below.
Open provided config file.
Find "
CODEO.DefaultNotifySoundEnable = true -- Enable or disable sound for notifications.
"
You can turn the system on and off by simply selecting true or false here.
Edit notification themes
Change the notify theme using the information I provided in the section below.
Open provided config file.
Find "
CODEO.DefaultNotifyTheme = 'Theme1' -- | Theme1 | Theme2 | Theme3 | Theme4 | Theme5 | Theme6 | Theme7 |
"
Now enter the theme code you want.
Change the default notification font
Check how to do it with the information I will provide below.
Open provided config file.
Find "
CODEO.DefaultNotifyFont = "SF-Pro" -- | SF-Pro | Nekst | Gilroy | Poppins | Nature |
"
You can edit the default font type in this section.
Edit notification languages
Please follow the steps below to change the language of the text in the notification.
Open provided config file.
Find "
CODEO.Locale = "en" -- | Code | Language Name | -- | ------- | ------------------ | -- | `en` | English | -- | `tr` | Türkçe | -- | `es` | Español | -- | `et` | Eesti | -- | `fr` | Français | -- | `it` | Italiano | -- | `nl` | Nederlands | -- | `pt` | Português | -- | `pt-br` | Português (Brasil) | -- | `sv` | Svenska | -- | ------- | ------------------ | -- | NOTE : If you want to add a new language, you can add it in the locales.lua file.
".
Then adjust the text there according to your language.
Additionally, you can customize the texts in
locales/locales.lua
to suit your own language.
['NOTIFICATION_SETTINGS'] = "ONLY HERE"
Last updated