Config
Config.Locale = GetConvar('esx:locale', 'fr')
Config.Menu = 'context' -- context or menu
Config.Keyboard = 'F9'
Config.usePerms = true
Config.Perms = {
'3233ccf36747d2b6a792dawdwadw1213',
}
Config.Peds = {
["a_m_m_acult_01"] = "Gros zizi à l\'air",
["a_m_m_afriamer_01"] = "Gros black toufu",
["a_m_m_beach_01"] = "Stock black torse nu",
["a_m_m_beach_02"] = "Jaune pâle en short",
["a_f_m_beach_01"] = "Beach",
["a_f_m_bevhills_01"] = "Bevhills",
["a_f_m_bevhills_02"] = "Bevhills2",
["a_f_m_bodybuild_01"] = "BodyBuild",
["a_f_m_business_02"] = "Business",
["a_f_m_downtown_01"] = "DownTown",
["a_f_m_eastsa_01"] = "Eastsa",
["a_f_m_eastsa_02"] = "Eastsa2",
["a_f_m_fatbla_01"] = "FatBlack",
["a_f_m_fatwhite_01"] = "FatWhite",
["a_f_m_fatcult_01"] = "FatCult",
["a_f_m_ktown_01"] = "Ktown",
["a_f_m_ktown_02"] = "Ktown2",
["a_f_m_prolhost_01"] = "Prolhost",
["a_f_m_salton_01"] = "Salton",
["a_f_m_skidrow_01"] = "Skidrow"
}
Config.Animals = {
["a_c_boar"] = "Sanglier",
["A_C_Cat_01"] = "Chat",
["a_c_chimp"] = "Singe",
["a_c_rhesus"] = "Rhesus",
["a_c_cow"] = "Vache",
["a_c_coyote"] = "Coyote",
["a_c_deer"] = "Chevreuil",
["a_c_pig"] = "Cochon",
["a_c_poodle"] = "Caniche",
["a_c_pug"] = "Bulldog",
["a_c_rabbit_01"] = "Lapin",
["a_c_rat"] = "Rat",
["a_c_hen"] = "Poulet",
["a_c_seagull"] = "Hirondelle",
["a_c_pigeon"] = "Pigeon",
["a_c_crow"] = "Corbeau",
["a_c_cormorant"] = "Canard",
["a_c_chickenhawk"] = "Aigle",
["a_c_dolphin"] = "Dauphin",
["a_c_fish"] = "Poisson",
["a_c_killerwhale"] = "Orc",
["a_c_sharkhammer"] = "Requin marteau",
["a_c_humpback"] = "Baleine",
["a_c_stingray"] = "Stingray"
}
Config.Notify = function(key, source, ...)
local service = IsDuplicityVersion()
local description, data
if ... then
description = (Config.Notifications[key].description):format(...)
data = {
id = Config.Notifications[key].id,
title = Config.Notifications[key].title,
description = description,
position = Config.Notifications[key].position,
style = Config.Notifications[key].style,
icon = Config.Notifications[key].icon,
type = Config.Notifications[key].type,
iconColor = Config.Notifications[key].iconColor
}
end
lib.notify(service and source or (data or Config.Notifications[key]), service and (data or Config.Notifications[key]))
end
Last updated