Configuration
CONFIGURATION
Don't touch this line
Config, Lang, Noti = {},{},{}
For ESX:
Config.Framework = "esx"
For QB-Core:
Config.Framework = "qb"
For QBox:
Config.Framework = "qbox"
CONFIGURATION FILE
Config, Lang, Noti = {}, {}, {}
-- $$$$$$\ $$$$$$\ $$\ $$\ $$$$$$$$\ $$$$$$\ $$$$$$\ $$\ $$\ $$$$$$$\ $$$$$$\ $$$$$$$$\ $$$$$$\ $$$$$$\ $$\ $$\
-- $$ __$$\ $$ __$$\ $$$\ $$ |$$ _____|\_$$ _|$$ __$$\ $$ | $$ |$$ __$$\ $$ __$$\\__$$ __|\_$$ _|$$ __$$\ $$$\ $$ |
-- $$ / \__|$$ / $$ |$$$$\ $$ |$$ | $$ | $$ / \__|$$ | $$ |$$ | $$ |$$ / $$ | $$ | $$ | $$ / $$ |$$$$\ $$ |
-- $$ | $$ | $$ |$$ $$\$$ |$$$$$\ $$ | $$ |$$$$\ $$ | $$ |$$$$$$$ |$$$$$$$$ | $$ | $$ | $$ | $$ |$$ $$\$$ |
-- $$ | $$ | $$ |$$ \$$$$ |$$ __| $$ | $$ |\_$$ |$$ | $$ |$$ __$$< $$ __$$ | $$ | $$ | $$ | $$ |$$ \$$$$ |
-- $$ | $$\ $$ | $$ |$$ |\$$$ |$$ | $$ | $$ | $$ |$$ | $$ |$$ | $$ |$$ | $$ | $$ | $$ | $$ | $$ |$$ |\$$$ |
-- \$$$$$$ | $$$$$$ |$$ | \$$ |$$ | $$$$$$\ \$$$$$$ |\$$$$$$ |$$ | $$ |$$ | $$ | $$ | $$$$$$\ $$$$$$ |$$ | \$$ |
-- \______/ \______/ \__| \__|\__| \______| \______/ \______/ \__| \__|\__| \__| \__| \______| \______/ \__| \__|
-- Use "esx", "qb" or "qbox"
Config.Framework = "qb"
-- oxmysql, mysql-async or ghmattisql
Config.Mysql = "oxmysql"
-- Set to true to see debug messages in the console
Config.Debug = false
-- Set the command to create a party
Config.command = "party"
-- Set the distance to use the music command with properly job
Config.MusicJobDistance = 30.0
-- Set the distance to hear the music
Config.MusicHearDistance = 50.0
-- Set the command to use the music
Config.MusicCommand = "music"
-- Set the distance between peds
Config.pedsXDistance = 3
-- Set the distance between peds
Config.pedsYDistance = 3
-- $$\ $$\ $$$$$$\ $$$$$$$$\ $$$$$$\ $$$$$$$$\ $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$$$\ $$$$$$\ $$$$$$\ $$\ $$\ $$$$$$\
-- $$$\ $$ |$$ __$$\\__$$ __|\_$$ _|$$ _____|\_$$ _|$$ __$$\ $$ __$$\\__$$ __|\_$$ _|$$ __$$\ $$$\ $$ |$$ __$$\
-- $$$$\ $$ |$$ / $$ | $$ | $$ | $$ | $$ | $$ / \__|$$ / $$ | $$ | $$ | $$ / $$ |$$$$\ $$ |$$ / \__|
-- $$ $$\$$ |$$ | $$ | $$ | $$ | $$$$$\ $$ | $$ | $$$$$$$$ | $$ | $$ | $$ | $$ |$$ $$\$$ |\$$$$$$\
-- $$ \$$$$ |$$ | $$ | $$ | $$ | $$ __| $$ | $$ | $$ __$$ | $$ | $$ | $$ | $$ |$$ \$$$$ | \____$$\
-- $$ |\$$$ |$$ | $$ | $$ | $$ | $$ | $$ | $$ | $$\ $$ | $$ | $$ | $$ | $$ | $$ |$$ |\$$$ |$$\ $$ |
-- $$ | \$$ | $$$$$$ | $$ | $$$$$$\ $$ | $$$$$$\ \$$$$$$ |$$ | $$ | $$ | $$$$$$\ $$$$$$ |$$ | \$$ |\$$$$$$ |
-- \__| \__| \______/ \__| \______|\__| \______| \______/ \__| \__| \__| \______| \______/ \__| \__| \______/
function notifications(notitype, message, time)
-- Change this trigger for your notification system keeping the variables
TriggerEvent("codem-notification", message, time, notitype)
end
-- Notifications types:
Noti.info = "info"
Noti.check = "check"
Noti.error = "error"
-- Notification time:
Noti.time = 5000
-- $$$$$$\ $$$$$$$$\ $$$$$$$$\ $$$$$\ $$$$$$\ $$$$$$$\
-- $$ __$$\ $$ _____|\__$$ __| \__$$ |$$ __$$\ $$ __$$\
-- $$ / \__|$$ | $$ | $$ |$$ / $$ |$$ | $$ |
-- $$ |$$$$\ $$$$$\ $$ | $$ |$$ | $$ |$$$$$$$\ |
-- $$ |\_$$ |$$ __| $$ | $$\ $$ |$$ | $$ |$$ __$$\
-- $$ | $$ |$$ | $$ | $$ | $$ |$$ | $$ |$$ | $$ |
-- \$$$$$$ |$$$$$$$$\ $$ | \$$$$$$ | $$$$$$ |$$$$$$$ |
-- \______/ \________| \__| \______/ \______/ \_______/
function getPlayerJob()
if Config.Framework == "esx" then
return ESX.GetPlayerData().job.name
else
return QBCore.Functions.GetPlayerData().job.name
end
end
-- $$\ $$$$$$\ $$\ $$\ $$$$$$\ $$\ $$\ $$$$$$\ $$$$$$\ $$$$$$$$\
-- $$ | $$ __$$\ $$$\ $$ |$$ __$$\ $$ | $$ |$$ __$$\ $$ __$$\ $$ _____|
-- $$ | $$ / $$ |$$$$\ $$ |$$ / \__|$$ | $$ |$$ / $$ |$$ / \__|$$ |
-- $$ | $$$$$$$$ |$$ $$\$$ |$$ |$$$$\ $$ | $$ |$$$$$$$$ |$$ |$$$$\ $$$$$\
-- $$ | $$ __$$ |$$ \$$$$ |$$ |\_$$ |$$ | $$ |$$ __$$ |$$ |\_$$ |$$ __|
-- $$ | $$ | $$ |$$ |\$$$ |$$ | $$ |$$ | $$ |$$ | $$ |$$ | $$ |$$ |
-- $$$$$$$$\ $$ | $$ |$$ | \$$ |\$$$$$$ |\$$$$$$ |$$ | $$ |\$$$$$$ |$$$$$$$$\
-- \________|\__| \__|\__| \__| \______/ \______/ \__| \__| \______/ \________|
Lang.fillFields = "Please fill in all fields"
Lang.alreadyExists = "There is already an element with that name"
Lang.saved = "Element saved successfully"
Lang.deleted = "Element deleted successfully"
Lang.notFound = "Element not found"
Peds = {
"a_f_m_bevhills_01",
"a_f_o_soucent_02",
"a_f_y_bevhills_01",
"a_f_y_bevhills_02",
"a_f_y_bevhills_03",
"a_f_y_bevhills_04",
"a_f_y_clubcust_01",
"a_f_y_clubcust_02",
"a_f_y_genhot_01",
"a_f_y_indian_01",
"a_f_y_hipster_03",
"a_f_y_hippie_01",
"a_f_y_soucent_03",
"a_f_y_vinewood_03",
"a_f_y_smartcaspat_01",
"a_m_m_bevhills_02",
"a_m_m_skater_01",
"a_m_y_beachvesp_01",
"a_m_y_bevhills_02",
"a_m_y_clubcust_01",
"a_m_y_eastsa_02",
"a_m_y_gay_02",
"a_m_y_ktown_01",
"a_m_y_soucent_04",
"a_m_y_vindouche_01",
"a_m_y_gencaspat_01",
"cs_dale",
"cs_denise",
"cs_jewelass",
"cs_gurk"
}
Dances = {
[1] = {
dict = "anim@amb@nightclub@mini@dance@dance_solo@male@var_b@",
anim = "high_center_down"
},
[2] = {
dict = "anim@mp_player_intuppersalsa_roll",
anim = "idle_a"
},
[3] = {
dict = "misschinese2_crystalmazemcs1_ig",
anim = "dance_loop_tao"
},
[4] = {
dict = "anim@amb@nightclub@mini@dance@dance_solo@female@var_b@",
anim = "high_center_up"
},
[5] = {
dict = "anim@amb@nightclub@mini@dance@dance_solo@male@var_a@",
anim = "high_center"
}
}
Particles = {
[1] = {
dict = "core",
particle = "proj_flare_fuse",
loop = true
},
[2] = {
dict = "core",
particle = "ent_sht_flame",
loop = true
},
[3] = {
dict = "core",
particle = "ent_anim_paparazzi_flash",
loop = true
},
[4] = {
dict = "core",
particle = "muz_railgun",
loop = true
},
[5] = {
dict = "core",
particle = "ent_ray_ch2_farm_fire_u_l",
loop = true
},
[6] = {
dict = "core",
particle = "exp_sht_flame",
loop = true
},
[7] = {
dict = "core",
particle = "ent_amb_steam",
loop = true
},
[8] = {
dict = "core",
particle = "weap_heist_flare_trail",
loop = true
},
[9] = {
dict = "core",
particle = "ent_col_electrical",
loop = true
},
[10] = {
dict = "core",
particle = "ent_brk_sparking_wires",
loop = true
},
[11] = {
dict = "core",
particle = "ent_ray_prologue_elec_crackle_sp",
loop = true
},
[12] = {
dict = "core",
particle = "veh_exhaust_afterburner",
loop = true
},
[13] = {
dict = "core",
particle = "sp_foundry_sparks",
loop = true
},
[14] = {
dict = "core",
particle = "proj_laser_enemy",
loop = true
},
[15] = {
dict = "core",
particle = "proj_laser_player",
loop = true
},
[16] = {
dict = "core",
particle = "ent_sht_molten_liquid",
loop = true
},
[17] = {
dict = "core",
particle = "veh_exhaust_spacecraft",
loop = true
},
[18] = {
dict = "proj_indep_firework_v2",
particle = "scr_firework_indep_burst_rwb",
loop = false,
cooldown = 5000
},
[19] = {
dict = "scr_indep_fireworks",
particle = "scr_indep_firework_fountain",
loop = false,
cooldown = 5000
}
}
Colors = {
["E74C3C"] = "231, 76, 60",
["FF6666"] = "255, 102, 102",
["FF9999"] = "255, 153, 153",
["9B59B6"] = "155, 89, 182",
["AD84BE"] = "173, 132, 190",
["B094BC"] = "176, 148, 188",
["2980B9"] = "41, 128, 185",
["6A9ABA"] = "106, 154, 186",
["A9B8C2"] = "169, 184, 194",
["1ABC9C"] = "26, 188, 156",
["66B9A9"] = "102, 185, 169",
["83C0B4"] = "131, 192, 180",
["2ECC71"] = "46, 204, 113",
["68DA98"] = "104, 218, 152",
["94D4AF"] = "148, 212, 175",
["F1C40F"] = "241, 196, 15",
["F8D960"] = "248, 217, 96",
["FFF0B4"] = "255, 240, 180",
["E67E22"] = "230, 126, 34",
["EC9B53"] = "236, 155, 83",
["F9D2AF"] = "249, 210, 175",
["85929E"] = "133, 146, 158",
["95A5A6"] = "149, 165, 166",
["ECF0F1"] = "236, 240, 241"
}
Last updated