Codeo Scripts
  • 📖 Welcome
  • INFORMATION
    • 🔐 Setting Steam Api Key
    • 🔑 CFX Auth System
    • 🔓 Escrow/Open Source
    • 🥺 You lack the required entitlement
  • SCRIPTS
    • Codeo-LoadingScreen
      • Installation
      • Adjustments
    • Codeo-Notification
      • Installation
      • Adjustments
    • Codeo-SpawnSelector
      • Installation
      • Adjustments
      • Integrations
    • Codeo-BlackMarket
      • Installation
      • Adjustments
      • Discord Bot Settings
Powered by GitBook
On this page
  • Setting the Notification Default Location
  • Set notification sound enable/disable
  • Turning notification test commands on and off
  • Edit notification languages
  • Setting notification types
  1. SCRIPTS
  2. Codeo-Notification

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".

  • Then, in the setting here you can type one of these positions “top-left / top-center / top-right / top-left / bottom-left / bottom-center / bottom-right”.


Set notification sound enable/disable

You can follow the steps below to enable/disable the notification sound.

  • Open provided config file.

  • Find "CODEO.NotificationSound".

  • Then this feature will turn the notification sound off if false, and turn the notification sound on if true


Turning notification test commands on and off

You can follow the steps below to turn the notification test commands on and off.

  • Open provided config file.

  • Find "CODEO.NotificationTestCommands".

  • If true, in-game test commands are enabled; if false, test commands are disabled. To edit test commands client/client_editable.


Edit notification languages

Please follow the steps below to change the language of the text in the notification.

  • Open provided config file.

  • Find "CODEO.Locales".

  • Then adjust the text there according to your language.

['NOTIFICATION_SETTINGS'] = "ONLY HERE"

Setting notification types

You can follow the steps below to set and add notification types.

    ["success"] = { -- Parameter Name
        background = 'linear-gradient(90deg, #1A1B1C 0%, #202021 50%, #1A1B1C 100%)', -- Background color of the notification.
        title = {
            color = '#00FFA6', --Color of the notification header.
            textShadow = 'rgba(255, 255, 255, 0.45)', -- Shadow of the notification header.
        },
        iconBox = {
            shadow = 'rgba(255, 255, 255, 0.21)', -- Shade color of the notification icon.
        },
        timerBar = {
            trailColor = 'linear-gradient(90deg, #1A1B1C 0%, #202021 50%, #1A1B1C 100%)', -- Time Bar background color.
            color = '#FFFFFF', -- Time Bar Color.
            shadow = '0px 0px 27px #FFFFFF', -- Time Bar Shadow.
        },
        defaultHeader = 'SUCCESS', -- This is the header that will appear in the notification if no header parameter is specified in the notification.
        icon = 'success', -- This is the icon of the notification, you can edit and add icons from “codeo-notification>html>assets>icon” section.
    },
PreviousInstallationNextCodeo-SpawnSelector

Last updated 2 months ago