Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local cfg = {}
- -- list of weapons for sale
- -- for the native name, see https://wiki.fivem.net/wiki/Weapons (not all of them will work, look at client/player_state.lua for the real weapon list)
- -- create groups like for the garage config
- -- [native_weapon_name] = {display_name,body_price,ammo_price,description}
- -- ammo_price can be < 1, total price will be rounded
- -- _config: blipid, blipcolor, permissions (optional, only users with the permission will have access to the shop)
- cfg.gunshop_types = {
- ["Paleto"] = {
- _config = {blipid=110,blipcolor=1},
- ["WEAPON_BOTTLE"] = {"Bottle",150,150,""},
- ["WEAPON_BAT"] = {"Bat",500,500,""},
- ["WEAPON_KNUCKLE"] = {"Knuckle",200,200,""},
- ["WEAPON_KNIFE"] = {"Knife",300,300,""},
- ["WEAPON_COMBATPISTOL"] = {"Combat Pistol",32000,5,""},
- },
- ["eastlossantos1"] = {
- _config = {blipid=110,blipcolor=1},
- ["WEAPON_BOTTLE"] = {"Bottle",150,150,""},
- ["WEAPON_BAT"] = {"Bat",500,500,""},
- ["WEAPON_KNUCKLE"] = {"Knuckle",200,200,""},
- ["WEAPON_KNIFE"] = {"Knife",300,300,""},
- ["WEAPON_COMBATPISTOL"] = {"Combat Pistol",32000,5,""},
- },
- ["Sectie"] = {
- _config = {blipid=110,blipcolor=74, permissions = {"armament.pd"}},
- ["WEAPON_PUMPSHOTGUN"] = {"Shotgun",0,0,""},
- ["WEAPON_SNIPERRIFLE"] = {"Sniper",0,0,""},
- --["WEAPON_ADVANCEDRIFLE"] = {"Carabina",0,10,""},
- ["WEAPON_APPISTOL"] = {"Pistol Automat",0,0,""},
- ["WEAPON_CARBINERIFLE"] = {"Carabineri Rifle",0,0,""},
- ["WEAPON_MARKSMANPISTOL"] = {"Marksman Pistol",0,0,""},
- ["WEAPON_SNSPISTOL"] = {"Pistol",0,0,""},
- ["WEAPON_STUNGUN"] = {"Tazer",0,0,""},
- ["head_bag"] = {"Punga Hartie",0,0,""},
- ["mouthgag"] = {"Mouth Gag",0,0,""},
- --["WEAPON_COMBATPDW"] = {"Combat PDW",0,0,""},
- ["WEAPON_ASSAULTSHOTGUN"] = {"Assault Shotgun",0,0,""},
- ["WEAPON_ASSAULTRIFLE"] = {"AK47",0,0,""}
- },
- ["Agent Principal"] = {
- _config = {blipid=110,blipcolor=74, permissions = {"armament.agentp"}},
- ["WEAPON_APPISTOL"] = {"Pistol Automat",0,0,""},
- ["WEAPON_FLASHLIGHT"] = {"Lanterna",0,0,""},
- ["WEAPON_NIGHTSTICK"] = {"Baston",0,0,""},
- ["WEAPON_STUNGUN"] = {"Tazer",0,0,""},
- ["WEAPON_COMBATPDW"] = {"Combat PDW",0,0,""}
- },
- ["Agent Sef"] = {
- _config = {blipid=110,blipcolor=74, permissions = {"armament.agents"}},
- ["WEAPON_APPISTOL"] = {"Pistol Automat",0,0,""},
- ["WEAPON_FLASHLIGHT"] = {"Lanterna",0,0,""},
- ["WEAPON_NIGHTSTICK"] = {"Baston",0,0,""},
- ["WEAPON_STUNGUN"] = {"Tazer",0,0,""},
- ["WEAPON_COMBATPDW"] = {"Combat PDW",0,0,""},
- ["WEAPON_PUMPSHOTGUN"] = {"Shotgun Pump",0,0,""}
- },
- ["Inspector"] = {
- _config = {blipid=110,blipcolor=74, permissions = {"armament.inspector"}},
- ["WEAPON_APPISTOL"] = {"Pistol Automat",0,0,""},
- ["WEAPON_FLASHLIGHT"] = {"Lanterna",0,0,""},
- ["WEAPON_NIGHTSTICK"] = {"Baston",0,0,""},
- ["WEAPON_STUNGUN"] = {"Tazer",0,0,""},
- ["WEAPON_COMBATPDW"] = {"Combat PDW",0,0,""},
- ["WEAPON_PUMPSHOTGUN"] = {"Shotgun Pump",0,0,""},
- ["WEAPON_SAWNOFFSHOTGUN"] = {"Shotgun SawnOff",0,0,""}
- },
- ["Comisar"] = {
- _config = {blipid=110,blipcolor=74, permissions = {"armament.comisar"}},
- ["WEAPON_APPISTOL"] = {"Pistol Automat",0,0,""},
- ["WEAPON_FLASHLIGHT"] = {"Lanterna",0,0,""},
- ["WEAPON_NIGHTSTICK"] = {"Baston",0,0,""},
- ["WEAPON_STUNGUN"] = {"Tazer",0,0,""},
- ["WEAPON_COMBATPDW"] = {"Combat PDW",0,0,""},
- ["WEAPON_PUMPSHOTGUN"] = {"Shotgun Pump",0,0,""},
- ["WEAPON_SAWNOFFSHOTGUN"] = {"Shotgun SawnOff",0,0,""}
- },
- ["Chestor General"] = {
- _config = {blipid=110,blipcolor=74, permissions = {"armament.chestor"}},
- ["WEAPON_APPISTOL"] = {"Pistol Automat",0,0,""},
- ["WEAPON_FLASHLIGHT"] = {"Lanterna",0,0,""},
- ["WEAPON_NIGHTSTICK"] = {"Baston",0,0,""},
- ["WEAPON_STUNGUN"] = {"Tazer",0,0,""},
- ["WEAPON_COMBATPDW"] = {"Combat PDW",0,0,""},
- ["WEAPON_PUMPSHOTGUN"] = {"Shotgun Pump",0,0,""},
- ["WEAPON_SAWNOFFSHOTGUN"] = {"Shotgun SawnOff",0,0,""},
- ["WEAPON_REVOLVER"] = {"Revolver",0,0,""}
- },
- ["armamentsecret"] = {
- _config = {permissions = {"secret.loadshop"}},
- ["head_bag"] = {"Punga Hartie",9000000,9000000,""},
- ["mouthgag"] = {"Mouth Gag",9000000,9000000,""},
- },
- ["S.I.A.S"] = {
- _config = {blipid=110,blipcolor=74, permissions = {"sias.loadshop"}},
- ["WEAPON_FLASHLIGHT"] = {"Lanterna",0,0,""},
- ["WEAPON_NIGHTSTICK"] = {"Baston",0,0,""},
- ["WEAPON_PISTOL"] = {"Pistol",0,0,""},
- ["WEAPON_STUNGUN"] = {"Tazer",0,0,""},
- ["WEAPON_SMG"] = {"SMG",0,0,""},
- ["WEAPON_ASSAULTSHOTGUN"] = {"Assault Shotgun",0,0,""},
- ["WEAPON_CARBINERIFLE"] = {"Carabina",0,0,""},
- ["WEAPON_SNIPERRIFLE"] = {"Sniper",0,0,""},
- ["WEAPON_SMOKEGRENADE"] = {"Fumigena",0,0,""}
- },
- ["Hitman"] = {
- _config = {blipid=110,blipcolor=74, permissions = {"hitman.loadshop"}},
- ["WEAPON_PETROLCAN"] = {"Petrol",0,0,""},
- ["WEAPON_PUMPSHOTGUN"] = {"Pump Shotgun",0,0,""},
- ["WEAPON_FLASHLIGHT"] = {"Flashlight",0,0,""},
- ["WEAPON_FLARE"] = {"Flare",0,0,""},
- ["WEAPON_SNIPERRIFLE"] = {"Sniper Rifle",0,0,""},
- ["WEAPON_ADVANCEDRIFLE"] = {"Carabine",0,0,""},
- ["WEAPON_APPISTOL"] = {"Ap Pistol",0,0,""},
- ["WEAPON_MARKSMANPISTOL"] = {"Marksman Pistol",0,0,""},
- ["WEAPON_SNSPISTOL"] = {"Pistol",0,0,""},
- ["WEAPON_CARBINERIFLE"] = {"Carabineri Rifle",0,0,""},
- ["WEAPON_GRENADE"] = {"Grenade",0,0,""},
- ["WEAPON_MOLOTOV"] = {"Molotov",0,0,""},
- ["head_bag"] = {"Punga Hartie",0,0,""},
- ["mouthgag"] = {"Mouth Gag",0,0,""},
- ["WEAPON_ASSAULTRIFLE"] = {"AK47",0,0,""},
- },
- ["Cosa Nostra"] = {
- _config = {blipid=110,blipcolor=74, permissions = {"cosanostra.loadshop"}},
- ["WEAPON_PETROLCAN"] = {"Petrol",0,0,""},
- ["WEAPON_PUMPSHOTGUN"] = {"Pump Shotgun",0,0,""},
- ["WEAPON_FLASHLIGHT"] = {"Flashlight",0,0,""},
- ["WEAPON_FLARE"] = {"Flare",0,0,""},
- ["WEAPON_SNIPERRIFLE"] = {"Sniper Rifle",0,0,""},
- ["WEAPON_ADVANCEDRIFLE"] = {"Carabine",0,0,""},
- ["WEAPON_APPISTOL"] = {"Ap Pistol",0,0,""},
- ["WEAPON_MARKSMANPISTOL"] = {"Marksman Pistol",0,0,""},
- ["WEAPON_SNSPISTOL"] = {"Pistol",0,0,""},
- ["WEAPON_CARBINERIFLE"] = {"Carabineri Rifle",0,0,""},
- ["WEAPON_GRENADE"] = {"Grenade",0,0,""},
- ["WEAPON_MOLOTOV"] = {"Molotov",0,0,""},
- ["head_bag"] = {"Punga Hartie",0,0,""},
- ["mouthgag"] = {"Mouth Gag",0,0,""},
- ["WEAPON_ASSAULTRIFLE"] = {"AK47",0,0,""},
- },
- ["BGS"] = {
- _config = {blipid=150,blipcolor=59, permissions = {"bgs.loadshop"}},
- ["WEAPON_PETROLCAN"] = {"Petrol",0,0,""},
- ["WEAPON_APPISTOL"] = {"Ap Pistol",0,0,""},
- ["WEAPON_STUNGUN"] = {"Tazer",0,0,""},
- },
- ["Bounty_Hunter"] = {
- _config = {blipid=150,blipcolor=1, permissions = {"Bounty.loadshop"}},
- ["WEAPON_PETROLCAN"] = {"Petrol",0,0,""},
- ["WEAPON_PUMPSHOTGUN"] = {"Pump Shotgun",0,0,""},
- ["WEAPON_FLAREGUN"] = {"Flare Gun",0,0,""},
- ["WEAPON_FLASHLIGHT"] = {"Flashlight",0,0,""},
- ["WEAPON_FLARE"] = {"Flare",0,0,""},
- ["WEAPON_NIGHTSTICK"] = {"Nighstick",0,0,""},
- ["WEAPON_STUNGUN"] = {"Tazer",0,0,""},
- ["WEAPON_COMBATPISTOL"] = {"Combat Pistol",0,0,""}
- },
- ["emsloadout"] = {
- _config = {blipid=446,blipcolor=74, permissions = {"ems.loadshop"}},
- ["WEAPON_PETROLCAN"] = {"Petrol",0,0,""},
- ["WEAPON_FLAREGUN"] = {"Flare Gun",0,0,""},
- ["WEAPON_FLASHLIGHT"] = {"Flashlight",0,0,""},
- ["WEAPON_FLARE"] = {"Flare",0,0,""},
- ["WEAPON_NIGHTSTICK"] = {"Nighstick",0,0,""},
- ["WEAPON_STUNGUN"] = {"Tazer",0,0,""}
- },
- }
- -- list of gunshops positions
- cfg.gunshops = {
- {"emsloadout", 232.89363098145,-1368.3338623047,39.534381866455}, -- spawn hospital
- {"Sectie", 460.8653869629,-981.12091064454,30.689580917358}, --Armament PD
- {"emsloadout", 1837.8341064453,3671.3837890625,34.276763916016}, -- sandy shores
- {"emsloadout", -246.91954040527,6330.349609375,32.42618560791}, -- paleto
- {"eastlossantos1", 844.299, -1033.26, 28.1949},
- {"Cosa Nostra", 1391.238647461,1132.2241210938,114.33364105224},
- {"Cadet", 461.33551025391,-981.11071777344,30.689584732056},
- {"armamentsecret", 2515.7143554688,-320.23208618164,114.0853729248},--- secret
- {"Bounty_Hunter", 563.62060546875,-3126.9626464844,18.768604278564},
- {"Hitman", -1836.6024169922,447.32473754883,126.51439666748},
- {"BGS", -728.36639404297,49.823398590088,47.309604644775},
- {"policeloadout", 1851.7342529297,3683.7416992188,34.267044067383}, -- sandy shores
- {"policeloadout", -442.724609375,6012.6293945313,31.716390609741}, -- paleto
- {"Paleto", -331.50210571289,6082.5063476563,31.454769134521} -- Paleto
- }
- return cfg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement