Here is my loadout file, can you tell me how can i fix it ?
-- Edit the table below for more loadouts!
LOADOUTS = {
["police"] = {
name = "Police",
permission_level = 0,
weapons = { "WEAPON_PISTOL50", "WEAPON_STUNGUN", "WEAPON_NIGHTSTICK", "WEAPON_PUMPSHOTGUN", "WEAPON_FLAREGUN" },
skins = { "s_m_y_cop_01", "s_m_y_cop_01" }
},
["bri"] = {
name = "BRI",
permission_level = 2,
weapons = { "WEAPON_PISTOL50", "WEAPON_STUNGUN", "WEAPON_NIGHTSTICK", "WEAPON_PUMPSHOTGUN", "WEAPON_FLAREGUN", "WEAPON_ASSAULTSMG" },
skins = { "s_m_y_swat_01", "s_m_y_swat_01" }
},
["gendarmerie"] = {
name = "Gendarmerie",
weapons = { "WEAPON_PISTOL50", "WEAPON_STUNGUN", "WEAPON_NIGHTSTICK", "WEAPON_PUMPSHOTGUN", "WEAPON_FLAREGUN" },
skins = { "s_m_y_sheriff_01", "s_m_y_sheriff_01" }
},
["csi"] = {
name = "CSI",
weapons = { "WEAPON_PISTOL50", "WEAPON_STUNGUN", "WEAPON_NIGHTSTICK", "WEAPON_PUMPSHOTGUN", "WEAPON_FLAREGUN" },
skins = { "s_m_y_hwaycop_01", "s_m_y_hwaycop_01" }
},
["bac"] = {
name = "BAC",
weapons = { "WEAPON_PISTOL50", "WEAPON_STUNGUN", "WEAPON_NIGHTSTICK", "WEAPON_PUMPSHOTGUN", "WEAPON_FLAREGUN", "WEAPON_ASSAULTSMG" },
skins = { "s_m_m_ciasec_01", "s_m_m_ciasec_01" }
},
["infirmier"] = {
name = "Infirmier",
weapons = { "WEAPON_FLAREGUN" },
skins = { "s_m_m_paramedic_01", "s_m_m_paramedic_01"}
},
["pompier"] = {
name = "Pompier",
weapons = { "WEAPON_FLAREGUN", "WEAPON_FIREEXTINGUISHER" },
skins = { "s_m_y_fireman_01", "s_m_y_fireman_01"}
}
}
And if u have the time can you help me to set a spawn position cause i still donât understand how to respawn the player after selecting a loadout. There was a topic but it doesnât work and give me a ton of errorsâŚ
Thanks by advance