okokDocs
  • About Us
  • Scripts
    • okokVehicleControl
      • Config file
    • okokMechanicJob
      • Config file
    • okokPoliceJob
      • Config file
      • qb-inventory support
    • okokBossMenu
      • Config file
    • okokMulticharacter
      • Config file
    • okokPhone
    • okokSpawnSelector
      • Config file
      • qb-multicharacter support
    • okokLoadingScreen
      • Config file
    • okokVehicleSales
      • Config file
    • okokShop
      • Config file
    • okokGasStation
      • Config file
    • okokTuning
      • Config file
    • okokGarage
      • Config file
      • RGB vehicle colors
      • Inventories metadata
      • Housing integrations
      • qb-phone support
    • okokVehicleShop
      • Config file
      • Common errors
    • okokBanking
      • Config file
      • Paycheck transactions
      • Registering transactions
    • okokMarketplace
      • Config file
      • Common errors
    • okokChat
      • Config file
      • Export
    • okokBilling
      • Config file
      • Snippets
    • okokCrafting
      • Config file
    • okokContract
      • Config file
    • okokTalkToNPC
      • Config file
    • okokReports
      • Config file
    • okokNotify
      • Config file
      • Snippets
    • okokTextUI
      • Config file
      • Snippets
    • okokRequests
    • okokDeleteVehicles
      • Config file
  • Others
    • Discord Webhook
Powered by GitBook
On this page
  1. Scripts
  2. okokNotify

Config file

Config = {}

Config.LeftAlign = false -- true = left side | false = right side

Config.Types = {
	success = {
		highlightColor = '#47cf73', -- Any CSS color value can be used here (rgb(), rgba(), hsl(), etc)
		icon = { -- Icon names can be found at https://fontawesome.com/
			'fas',
			'fa-check-circle'
		}
	},
	info = {
		highlightColor = '#2f83ff',
		icon = {
			'fas',
			'fa-info-circle'
		}
	},
	warning = {
		highlightColor = '#ffc107',
		icon = {
			'fas',
			'fa-exclamation-circle'
		}
	},
	error = {
		highlightColor = '#dc3545',
		icon = {
			'fas',
			'fa-times-circle'
		}
	},
	phonemessage = {
		highlightColor = '#f38847',
		icon = {
			'fas',
			'fa-phone'
		}
	},
	neutral = {
		highlightColor = '#6c757d',
		icon = {
			'fas',
			'fa-keyboard'
		}
	},
	--[[example = {
		highlightColor = 'red',
		icon = 'bootstrap-fill'
	},]]--
}
PreviousokokNotifyNextSnippets

Last updated 1 year ago