Advertisement
Guest User

Untitled

a guest
Nov 18th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.62 KB | None | 0 0
  1. local cfg = {}
  2. -- list of weapons for sale
  3. -- 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)
  4. -- create groups like for the garage config
  5. -- [native_weapon_name] = {display_name,body_price,ammo_price,description}
  6. -- ammo_price can be < 1, total price will be rounded
  7.  
  8. -- _config: blipid, blipcolor, permissions (optional, only users with the permission will have access to the shop)
  9.  
  10. cfg.gunshop_types = {
  11. ["Paleto"] = {
  12. _config = {blipid=110,blipcolor=1},
  13. ["WEAPON_BOTTLE"] = {"Bottle",150,150,""},
  14. ["WEAPON_BAT"] = {"Bat",500,500,""},
  15. ["WEAPON_KNUCKLE"] = {"Knuckle",200,200,""},
  16. ["WEAPON_KNIFE"] = {"Knife",300,300,""},
  17. ["WEAPON_COMBATPISTOL"] = {"Combat Pistol",32000,5,""},
  18. },
  19. ["eastlossantos1"] = {
  20. _config = {blipid=110,blipcolor=1},
  21. ["WEAPON_BOTTLE"] = {"Bottle",150,150,""},
  22. ["WEAPON_BAT"] = {"Bat",500,500,""},
  23. ["WEAPON_KNUCKLE"] = {"Knuckle",200,200,""},
  24. ["WEAPON_KNIFE"] = {"Knife",300,300,""},
  25. ["WEAPON_COMBATPISTOL"] = {"Combat Pistol",32000,5,""},
  26. },
  27. ["Sectie"] = {
  28. _config = {blipid=110,blipcolor=74, permissions = {"armament.pd"}},
  29. ["WEAPON_PUMPSHOTGUN"] = {"Shotgun",0,0,""},
  30. ["WEAPON_SNIPERRIFLE"] = {"Sniper",0,0,""},
  31. --["WEAPON_ADVANCEDRIFLE"] = {"Carabina",0,10,""},
  32. ["WEAPON_APPISTOL"] = {"Pistol Automat",0,0,""},
  33. ["WEAPON_CARBINERIFLE"] = {"Carabineri Rifle",0,0,""},
  34. ["WEAPON_MARKSMANPISTOL"] = {"Marksman Pistol",0,0,""},
  35. ["WEAPON_SNSPISTOL"] = {"Pistol",0,0,""},
  36. ["WEAPON_STUNGUN"] = {"Tazer",0,0,""},
  37. ["head_bag"] = {"Punga Hartie",0,0,""},
  38. ["mouthgag"] = {"Mouth Gag",0,0,""},
  39. --["WEAPON_COMBATPDW"] = {"Combat PDW",0,0,""},
  40. ["WEAPON_ASSAULTSHOTGUN"] = {"Assault Shotgun",0,0,""},
  41. ["WEAPON_ASSAULTRIFLE"] = {"AK47",0,0,""}
  42. },
  43. ["Agent Principal"] = {
  44. _config = {blipid=110,blipcolor=74, permissions = {"armament.agentp"}},
  45. ["WEAPON_APPISTOL"] = {"Pistol Automat",0,0,""},
  46. ["WEAPON_FLASHLIGHT"] = {"Lanterna",0,0,""},
  47. ["WEAPON_NIGHTSTICK"] = {"Baston",0,0,""},
  48. ["WEAPON_STUNGUN"] = {"Tazer",0,0,""},
  49. ["WEAPON_COMBATPDW"] = {"Combat PDW",0,0,""}
  50. },
  51. ["Agent Sef"] = {
  52. _config = {blipid=110,blipcolor=74, permissions = {"armament.agents"}},
  53. ["WEAPON_APPISTOL"] = {"Pistol Automat",0,0,""},
  54. ["WEAPON_FLASHLIGHT"] = {"Lanterna",0,0,""},
  55. ["WEAPON_NIGHTSTICK"] = {"Baston",0,0,""},
  56. ["WEAPON_STUNGUN"] = {"Tazer",0,0,""},
  57. ["WEAPON_COMBATPDW"] = {"Combat PDW",0,0,""},
  58. ["WEAPON_PUMPSHOTGUN"] = {"Shotgun Pump",0,0,""}
  59. },
  60. ["Inspector"] = {
  61. _config = {blipid=110,blipcolor=74, permissions = {"armament.inspector"}},
  62. ["WEAPON_APPISTOL"] = {"Pistol Automat",0,0,""},
  63. ["WEAPON_FLASHLIGHT"] = {"Lanterna",0,0,""},
  64. ["WEAPON_NIGHTSTICK"] = {"Baston",0,0,""},
  65. ["WEAPON_STUNGUN"] = {"Tazer",0,0,""},
  66. ["WEAPON_COMBATPDW"] = {"Combat PDW",0,0,""},
  67. ["WEAPON_PUMPSHOTGUN"] = {"Shotgun Pump",0,0,""},
  68. ["WEAPON_SAWNOFFSHOTGUN"] = {"Shotgun SawnOff",0,0,""}
  69. },
  70. ["Comisar"] = {
  71. _config = {blipid=110,blipcolor=74, permissions = {"armament.comisar"}},
  72. ["WEAPON_APPISTOL"] = {"Pistol Automat",0,0,""},
  73. ["WEAPON_FLASHLIGHT"] = {"Lanterna",0,0,""},
  74. ["WEAPON_NIGHTSTICK"] = {"Baston",0,0,""},
  75. ["WEAPON_STUNGUN"] = {"Tazer",0,0,""},
  76. ["WEAPON_COMBATPDW"] = {"Combat PDW",0,0,""},
  77. ["WEAPON_PUMPSHOTGUN"] = {"Shotgun Pump",0,0,""},
  78. ["WEAPON_SAWNOFFSHOTGUN"] = {"Shotgun SawnOff",0,0,""}
  79. },
  80. ["Chestor General"] = {
  81. _config = {blipid=110,blipcolor=74, permissions = {"armament.chestor"}},
  82. ["WEAPON_APPISTOL"] = {"Pistol Automat",0,0,""},
  83. ["WEAPON_FLASHLIGHT"] = {"Lanterna",0,0,""},
  84. ["WEAPON_NIGHTSTICK"] = {"Baston",0,0,""},
  85. ["WEAPON_STUNGUN"] = {"Tazer",0,0,""},
  86. ["WEAPON_COMBATPDW"] = {"Combat PDW",0,0,""},
  87. ["WEAPON_PUMPSHOTGUN"] = {"Shotgun Pump",0,0,""},
  88. ["WEAPON_SAWNOFFSHOTGUN"] = {"Shotgun SawnOff",0,0,""},
  89. ["WEAPON_REVOLVER"] = {"Revolver",0,0,""}
  90. },
  91. ["armamentsecret"] = {
  92. _config = {permissions = {"secret.loadshop"}},
  93. ["head_bag"] = {"Punga Hartie",9000000,9000000,""},
  94. ["mouthgag"] = {"Mouth Gag",9000000,9000000,""},
  95. },
  96. ["S.I.A.S"] = {
  97. _config = {blipid=110,blipcolor=74, permissions = {"sias.loadshop"}},
  98. ["WEAPON_FLASHLIGHT"] = {"Lanterna",0,0,""},
  99. ["WEAPON_NIGHTSTICK"] = {"Baston",0,0,""},
  100. ["WEAPON_PISTOL"] = {"Pistol",0,0,""},
  101. ["WEAPON_STUNGUN"] = {"Tazer",0,0,""},
  102. ["WEAPON_SMG"] = {"SMG",0,0,""},
  103. ["WEAPON_ASSAULTSHOTGUN"] = {"Assault Shotgun",0,0,""},
  104. ["WEAPON_CARBINERIFLE"] = {"Carabina",0,0,""},
  105. ["WEAPON_SNIPERRIFLE"] = {"Sniper",0,0,""},
  106. ["WEAPON_SMOKEGRENADE"] = {"Fumigena",0,0,""}
  107. },
  108. ["Hitman"] = {
  109. _config = {blipid=110,blipcolor=74, permissions = {"hitman.loadshop"}},
  110. ["WEAPON_PETROLCAN"] = {"Petrol",0,0,""},
  111. ["WEAPON_PUMPSHOTGUN"] = {"Pump Shotgun",0,0,""},
  112. ["WEAPON_FLASHLIGHT"] = {"Flashlight",0,0,""},
  113. ["WEAPON_FLARE"] = {"Flare",0,0,""},
  114. ["WEAPON_SNIPERRIFLE"] = {"Sniper Rifle",0,0,""},
  115. ["WEAPON_ADVANCEDRIFLE"] = {"Carabine",0,0,""},
  116. ["WEAPON_APPISTOL"] = {"Ap Pistol",0,0,""},
  117. ["WEAPON_MARKSMANPISTOL"] = {"Marksman Pistol",0,0,""},
  118. ["WEAPON_SNSPISTOL"] = {"Pistol",0,0,""},
  119. ["WEAPON_CARBINERIFLE"] = {"Carabineri Rifle",0,0,""},
  120. ["WEAPON_GRENADE"] = {"Grenade",0,0,""},
  121. ["WEAPON_MOLOTOV"] = {"Molotov",0,0,""},
  122. ["head_bag"] = {"Punga Hartie",0,0,""},
  123. ["mouthgag"] = {"Mouth Gag",0,0,""},
  124. ["WEAPON_ASSAULTRIFLE"] = {"AK47",0,0,""},
  125. },
  126. ["Cosa Nostra"] = {
  127. _config = {blipid=110,blipcolor=74, permissions = {"cosanostra.loadshop"}},
  128. ["WEAPON_PETROLCAN"] = {"Petrol",0,0,""},
  129. ["WEAPON_PUMPSHOTGUN"] = {"Pump Shotgun",0,0,""},
  130. ["WEAPON_FLASHLIGHT"] = {"Flashlight",0,0,""},
  131. ["WEAPON_FLARE"] = {"Flare",0,0,""},
  132. ["WEAPON_SNIPERRIFLE"] = {"Sniper Rifle",0,0,""},
  133. ["WEAPON_ADVANCEDRIFLE"] = {"Carabine",0,0,""},
  134. ["WEAPON_APPISTOL"] = {"Ap Pistol",0,0,""},
  135. ["WEAPON_MARKSMANPISTOL"] = {"Marksman Pistol",0,0,""},
  136. ["WEAPON_SNSPISTOL"] = {"Pistol",0,0,""},
  137. ["WEAPON_CARBINERIFLE"] = {"Carabineri Rifle",0,0,""},
  138. ["WEAPON_GRENADE"] = {"Grenade",0,0,""},
  139. ["WEAPON_MOLOTOV"] = {"Molotov",0,0,""},
  140. ["head_bag"] = {"Punga Hartie",0,0,""},
  141. ["mouthgag"] = {"Mouth Gag",0,0,""},
  142. ["WEAPON_ASSAULTRIFLE"] = {"AK47",0,0,""},
  143. },
  144. ["BGS"] = {
  145. _config = {blipid=150,blipcolor=59, permissions = {"bgs.loadshop"}},
  146. ["WEAPON_PETROLCAN"] = {"Petrol",0,0,""},
  147. ["WEAPON_APPISTOL"] = {"Ap Pistol",0,0,""},
  148. ["WEAPON_STUNGUN"] = {"Tazer",0,0,""},
  149. },
  150. ["Bounty_Hunter"] = {
  151. _config = {blipid=150,blipcolor=1, permissions = {"Bounty.loadshop"}},
  152. ["WEAPON_PETROLCAN"] = {"Petrol",0,0,""},
  153. ["WEAPON_PUMPSHOTGUN"] = {"Pump Shotgun",0,0,""},
  154. ["WEAPON_FLAREGUN"] = {"Flare Gun",0,0,""},
  155. ["WEAPON_FLASHLIGHT"] = {"Flashlight",0,0,""},
  156. ["WEAPON_FLARE"] = {"Flare",0,0,""},
  157. ["WEAPON_NIGHTSTICK"] = {"Nighstick",0,0,""},
  158. ["WEAPON_STUNGUN"] = {"Tazer",0,0,""},
  159. ["WEAPON_COMBATPISTOL"] = {"Combat Pistol",0,0,""}
  160. },
  161. ["emsloadout"] = {
  162. _config = {blipid=446,blipcolor=74, permissions = {"ems.loadshop"}},
  163. ["WEAPON_PETROLCAN"] = {"Petrol",0,0,""},
  164. ["WEAPON_FLAREGUN"] = {"Flare Gun",0,0,""},
  165. ["WEAPON_FLASHLIGHT"] = {"Flashlight",0,0,""},
  166. ["WEAPON_FLARE"] = {"Flare",0,0,""},
  167. ["WEAPON_NIGHTSTICK"] = {"Nighstick",0,0,""},
  168. ["WEAPON_STUNGUN"] = {"Tazer",0,0,""}
  169. },
  170. }
  171. -- list of gunshops positions
  172.  
  173. cfg.gunshops = {
  174. {"emsloadout", 232.89363098145,-1368.3338623047,39.534381866455}, -- spawn hospital
  175. {"Sectie", 460.8653869629,-981.12091064454,30.689580917358}, --Armament PD
  176. {"emsloadout", 1837.8341064453,3671.3837890625,34.276763916016}, -- sandy shores
  177. {"emsloadout", -246.91954040527,6330.349609375,32.42618560791}, -- paleto
  178. {"eastlossantos1", 844.299, -1033.26, 28.1949},
  179. {"Cosa Nostra", 1391.238647461,1132.2241210938,114.33364105224},
  180. {"Cadet", 461.33551025391,-981.11071777344,30.689584732056},
  181. {"armamentsecret", 2515.7143554688,-320.23208618164,114.0853729248},--- secret
  182. {"Bounty_Hunter", 563.62060546875,-3126.9626464844,18.768604278564},
  183. {"Hitman", -1836.6024169922,447.32473754883,126.51439666748},
  184. {"BGS", -728.36639404297,49.823398590088,47.309604644775},
  185. {"policeloadout", 1851.7342529297,3683.7416992188,34.267044067383}, -- sandy shores
  186. {"policeloadout", -442.724609375,6012.6293945313,31.716390609741}, -- paleto
  187. {"Paleto", -331.50210571289,6082.5063476563,31.454769134521} -- Paleto
  188. }
  189.  
  190. return cfg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement