Configuration
Configurer le fichier Conf.lua
Ajouter un nouveau point Pour ajouter un nouveau point copier le code ce-dessous et coller le dans le fichier config.lue a l'intérieur de :
Config.Storages = {
}
{
-- MARKER ESX
DrawDistance = 1.5, -- How close do you need to be for the markers to be drawn (in GTA units).
Pos = {x = 440.8377, y = -981.0688, z = 29.6896}, -- Position du Marker
Size = {x = 1.0, y = 1.0, z = 1.0}, -- Taille du Marker
Color = {r = 204, g = 204, b = 0, a = 255}, -- Couleur du Marker
Type = 1, -- Type du Marker
Rotate = true, -- Rotation du Marker
-- TARGET
name = 'storageunit1', -- Nom du target
labeltarget = "Sonner a l'accueil", -- Label du target
id = 1, -- Id du storageid
coords = vector3(440.8377, -981.0688, 30.9896), -- Coordonnées du target
icontarget = "far fa-bell", -- Icon du target
bt_length = 2,
bt_width = 5.4,
bt_minZ = 25.86,
bt_maxZ = 29.86,
bt_heading = 0,
bt_distance = 1,
jobtarget = "police", -- Autorisation Job Notification
-- WEBKOOK Discrod
webhookactive = true, -- Activer webhook
webhookdiscord = "https://discord.com/api/webhooks/1180855668585021491/7pU3VmeX-j9RqAjB9G4N4As4WnOiSsCPmDDxLkXLsfc-YmsOs8LPF52yriqFdmj7gYo6", -- Lien du webhook
webhooktitre = "Accueil LSPD", -- Titre du webhook
webhookmessage = "Une personne sonne a l''accueil du commissariat.", -- Texte du webhook
webhookcolor = 2054338, -- Couleur en Decimal value dispo sur https://www.spycolor.com/ choix couleur bordure webhook
webhookavatar = "https://i.imgur.com/KIcqSYs.png", -- Lien avatar
-- Notification comfirmation
okoknotification = false, -- Activer okoknify
titrenotification = "Notification", -- Titre de la notification
messsnotification = "~g~Police : Message envoyé !", -- Message de la notification
timenotification = "5000", -- Temps de la notif
typenotification = "success", -- Type de notification (okoknotify = success, info , warning , error , phonemessage , neutral ) (ESX = info, success, error )
sonnotification = true, -- Son de la notification
-- Notification Alerte Job
okoknotif = false, -- Activer okoknify
timenotif = "5000", -- Temps de la notif
typenotif = "success", -- Type de notification (okoknotify = success, info , warning , error , phonemessage , neutral ) (ESX = info, success, error )
nomadnotif = "LSPD INFORMATION", -- Nom de la Notification
titreadnotif = "CENTRAL LSPD", -- Titre de la Notification
texteadnotif = "Une personne sonne a l''accueil du commissariat.", -- Texte de la Notification
iconadnotif = "CHAR_CHAT_CALL", -- icon de la Notification
sonnotif = true -- Son de la notification
},
Exemple :
Config.Storages = {
-- EXEMPLE LSPD
{
-- MARKER ESX
DrawDistance = 1.5, -- À quelle distance devez-vous être pour que les marqueurs soient dessinés (en unités GTA).
Pos = {x = 440.8377, y = -981.0688, z = 29.6896}, -- Position du Marker
Size = {x = 1.0, y = 1.0, z = 1.0}, -- Taille du Marker
Color = {r = 204, g = 204, b = 0, a = 255}, -- Couleur du Marker
Type = 1, -- Type du Marker
Rotate = true, -- Rotation du Marker
-- TARGET
name = 'storageunit1', -- Nom du target
labeltarget = "Sonner a l'accueil", -- Label du target
id = 1, -- Id du storageid
coords = vector3(440.8377, -981.0688, 30.9896), -- Coordonnées du target
icontarget = "far fa-bell", -- Icon du target
bt_length = 2,
bt_width = 5.4,
bt_minZ = 25.86,
bt_maxZ = 29.86,
bt_heading = 0,
bt_distance = 1,
jobtarget = "police", -- Autorisation Job Notification
-- WEBKOOK Discrod
webhookactive = true, -- Activer webhook
webhookdiscord = "https://discord.com/api/webhooks/1180855668585021491/7pU3VmeX-j9RqAjB9G4N4As4WnOiSsCPmDDxLkXLsfc-YmsOs8LPF52yriqFdmj7gYo6", -- Lien du webhook
webhooktitre = "Accueil LSPD", -- Titre du webhook
webhookmessage = "Une personne sonne a l''accueil du commissariat.", -- Texte du webhook
webhookcolor = 2054338, -- Couleur en Decimal value dispo sur https://www.spycolor.com/ choix couleur bordure webhook
webhookavatar = "https://i.imgur.com/KIcqSYs.png", -- Lien avatar
-- Notification comfirmation
okoknotification = false, -- Activer okoknify
titrenotification = "Notification", -- Titre de la notification
messsnotification = "~g~Police : Message envoyé !", -- Message de la notification
timenotification = "5000", -- Temps de la notif
typenotification = "success", -- Type de notification (okoknotify = success, info , warning , error , phonemessage , neutral ) (ESX = info, success, error )
sonnotification = true, -- Son de la notification
-- Notification Alerte Job
okoknotif = false, -- Activer okoknify
timenotif = "5000", -- Temps de la notif
typenotif = "success", -- Type de notification (okoknotify = success, info , warning , error , phonemessage , neutral ) (ESX = info, success, error )
nomadnotif = "LSPD INFORMATION", -- Nom de la Notification
titreadnotif = "CENTRAL LSPD", -- Titre de la Notification
texteadnotif = "Une personne sonne a l''accueil du commissariat.", -- Texte de la Notification
iconadnotif = "CHAR_CHAT_CALL", -- icon de la Notification
sonnotif = true -- Son de la notification
},
-- FIN EXEMPLE LSPD
-- EXEMPLE EMS
{
--ESX
DrawDistance = 1.5, -- How close do you need to be for the markers to be drawn (in GTA units).
Pos = {x = 263.4523, y = -1165.2672, z = 28.1564},
Size = {x = 1.0, y = 1.0, z = 1.0},
Color = {r = 204, g = 204, b = 0, a = 255},
Type = 1,
Rotate = true,
-- TARGET
name = 'storageunit2', -- Nom du target
labeltarget = "TEST EMS", -- Label du target
id = 2, -- Id du storageid
coords = vector3(263.4523, -1165.2672, 29.1564), -- Coordonn�es du target
icontarget = "far fa-bell",
bt_length = 2,
bt_width = 5.4,
bt_minZ = 25.86,
bt_maxZ = 29.86,
bt_heading = 0,
bt_distance = 1,
jobtarget = "ambulance",
-- WEBKOOK Discrod
webhookactive = true, -- Activer le webhook
webhookdiscord = "https://discord.com/api/webhooks/1180855668585021491/7pU3VmeX-j9RqAjB9G4N4As4WnOiSsCPmDDxLkXLsfc-YmsOs8LPF52yriqFdmj7gYo6",
webhooktitre = "Accueil EMS",
webhookmessage = "Une personne sonne a l'accueil EMS.",
webhookcolor = 3195421, -- Couleur en Decimal value dispo sur https://www.spycolor.com/ choix couleur bordure webhook
webhookavatar = "https://i.imgur.com/KIcqSYs.png", -- Lien avatar
-- Notification comfirmation
okoknotification = false, -- Activer okoknify
titrenotification = "Notification", -- Titre de la notification
messsnotification = "~g~EMS : Message envoyé !", -- Message de la notification
timenotification = "5000", -- Temps de la notification okoknotify uniquement
typenotification = "success", -- Type de notification (okoknotify = success, info , warning , error , phonemessage , neutral ) (ESX = info, success, error )
sonnotification = true, -- Son de la notification
-- Notification Alerte Job
okoknotif = false, -- Activer okoknify
timenotif = "5000", -- Temps de la notif
typenotif = "success", -- Type de notification (okoknotify = success, info , warning , error , phonemessage , neutral ) (ESX = info, success, error )
nomadnotif = "EMS INFORMATION", -- Nom de la Notification
titreadnotif = "CENTRAL EMS", -- Titre de la Notification
texteadnotif = "Une personne sonne a l'accueil EMS.", -- Texte de la Notification
iconadnotif = "CHAR_CHAT_CALL", -- icon de la Notification
sonnotif = true -- Son de la notification
},
-- FIN EXEMPLE EMS
}
Last updated