wadsonlucas

Untitled

Jun 14th, 2018
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.99 KB | None | 0 0
  1. --[[
  2. FiveM Scripts
  3. Copyright C 2018 Sighmir
  4.  
  5. This program is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU Affero General Public License as published
  7. by the Free Software Foundation, either version 3 of the License, or
  8. at your option any later version.
  9.  
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU Affero General Public License for more details.
  14.  
  15. You should have received a copy of the GNU Affero General Public License
  16. along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. ]]
  18.  
  19. cfg = {}
  20. --[[
  21. ROBBERY FORMAT:
  22. ["id"] = {
  23. name = "Name",
  24. pos = {x, y, z},
  25. dist = radius, rob = seconds, wait = seconds, cops = minimum, stars = wanted, min = min_reward, max = max_reward
  26. },
  27. - id: unique id of the robbery used to identify it in the code
  28. - name: name of the robbery that will go on chat
  29. - pos: x, y, z - the pos of the robbery
  30. - dist: how far you can get from the robbery
  31. - rob: time in seconds to rob
  32. - wait: time in seconds to wait before it can be robbed again
  33. - cops: minimum amount of cops online necessary to rob
  34. - stars: stars aquired for robbing
  35. - min: minimum amount it can give as a reward
  36. - max: maximum amount it can give as a reward
  37. ]]
  38. cfg.lang = "en" -- set your lang (file must exist on cfg/lang)
  39.  
  40. cfg.blips = true -- enable disable blips
  41. cfg.key = 46 -- INPUT_TALK (E)
  42.  
  43. cfg.blipid = 108 -- blip id 108 = dollar sign
  44. cfg.blipsz = 0.5 -- blip size 0 to 1
  45. cfg.blipcr = 1 -- blip color 1 = red
  46.  
  47. cfg.cops = "police.service" -- permission given to cops
  48.  
  49. cfg.robbery = { -- list of robberies
  50. --[[ STORES ]]--
  51. ["fleeca"] = {
  52. pos = {147.04908752441, -1044.9448242188, 29.36802482605},
  53. name = "Banco do Brasil",
  54. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 300000, max = 400000
  55. },
  56. ["fleeca2"] = {
  57. pos = {-2957.6674804688, 481.45776367188, 15.697026252747},
  58. name = "Banco do Brasil (Rodovia)",
  59. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 300000, max = 400000
  60. },
  61. ["blainecounty"] = {
  62. pos = {-107.06505584717, 6474.8012695313, 31.62670135498},
  63. name = "Banco do Brasil Poupança",
  64. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 300000, max = 400000
  65. },
  66. ["fleeca3"] = {
  67. pos = {-1212.2568359375, -336.128295898438, 36.7907638549805},
  68. name = "Banco do Brasil (Vinewood Hills)",
  69. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 300000, max = 400000
  70. },
  71. ["fleeca4"] = {
  72. pos = {-354.452575683594, -53.8204879760742, 48.0463104248047},
  73. name = "Banco do Brasil (Burton)",
  74. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 300000, max = 400000
  75. },
  76. ["fleeca5"] = {
  77. pos = {309.967376708984, -283.033660888672, 53.1745223999023},
  78. name = "Banco do Brasil (Alta)",
  79. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 300000, max = 400000
  80. },
  81. ["fleeca6"] = {
  82. pos = {1176.86865234375, 2711.91357421875, 38.097785949707},
  83. name = "Banco do Brasil (Deserto)",
  84. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 300000, max = 400000
  85. },
  86. ["bancoprincipal"] = {
  87. pos = {254.38562011718, 225.99458312988, 101.87577056884},
  88. reward = 150000 + math.random(300000,400000),
  89. name = "Banco do Brasil (Centro da Cidade)",
  90. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 300000, max = 400000
  91. },
  92. ["Lindsay Circus"] = {
  93. pos = {-705.94110107422, -915.48120117188, 18.215589523315},
  94. reward = 4000 + math.random(1000,50000),
  95. name = "Mercadinho (Carrefulvio)",
  96. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 100000, max = 200000
  97. },
  98. ["Prosperity St"] = {
  99. pos = {-1487.1322021484, -375.54638671875, 39.163433074951},
  100. reward = 4000 + math.random(1000,50000),
  101. name = "Mercadinho (Sem Nome)",
  102. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 100000, max = 200000
  103. },
  104. ["Barbareno Road Great Ocean"] = {
  105. pos = {-3241.7280273438, 999.95611572266, 11.830716133118},
  106. reward = 4000 + math.random(1000,50000),
  107. name = "Mercadinho e Lanchonete (Melk'Donalds)",
  108. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 100000, max = 200000
  109. },
  110. ["North Rockford Dr"] = {
  111. pos = {-1828.9028320313, 798.63702392578, 137.18780517578},
  112. reward = 4000 + math.random(1000,50000),
  113. name = "Mercadinho (Altas horas)",
  114. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 100000, max = 200000
  115. },
  116. ["Great Ocean Hway East"] = {
  117. pos = {1727.6282958984, 6414.7607421875, 34.037220001221},
  118. reward = 4000 + math.random(1000,50000),
  119. name = "Mercadinho (dos Otarios)",
  120. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 100000, max = 200000
  121. },
  122. ["Alhambra Dr Sandy"] = {
  123. pos = {1960.3529052734, 3739.4997558594, 31.343742370605},
  124. reward = 4000 + math.random(1000,50000),
  125. name = "Mercadinho (Sapatão)",
  126. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 100000, max = 200000
  127. },
  128. ["Palomino Fwy Reststop"] = {
  129. pos = {2549.2858886719, 384.96740722656, 107.62294769287},
  130. reward = 4000 + math.random(1000,50000),
  131. name = "Mercadinho (MIGA)",
  132. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 100000, max = 200000
  133. },
  134. ["Clinton Ave"] = {
  135. pos = {372.36227416992, 325.90933227539, 102.56638336182},
  136. reward = 4000 + math.random(1000,50000),
  137. name = "Mercadinho e lanchonete (FaceFood)",
  138. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 100000, max = 200000
  139. },
  140. ["Grove St/Davis St"] = {
  141. pos = {-47.860702514648, -1759.3477783203, 28.421016693115},
  142. reward = 4000 + math.random(1000,50000),
  143. name = "Mercadinho (Bolando)",
  144. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 100000, max = 200000
  145. },
  146. ["Innocence Blvd"] = {
  147. pos = {24.360492706299, -1347.8098144531, 28.497026443481},
  148. reward = 4000 + math.random(1000,50000),
  149. name = "Lanchonete (Pobr'S)",
  150. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 100000, max = 200000
  151. },
  152. ["San Andreas Ave"] = {
  153. pos = {-1220.7747802734, -915.93646240234, 10.326335906982},
  154. reward = 4000 + math.random(1000,50000),
  155. name = "Lanchonete (Habob's)",
  156. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 100000, max = 200000
  157. },
  158. ["Route 68 Outside Sandy"] = {
  159. pos = {1169.2320556641, 2717.8083496094, 36.157665252686},
  160. reward = 4000 + math.random(1000,50000),
  161. name = "Mercadinho (Muffato)",
  162. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 100000, max = 200000
  163. },
  164. ["Great Ocean Hway"] = {
  165. pos = {-2959.6359863281, 387.15356445313, 13.043292999268},
  166. reward = 4000 + math.random(1000,50000),
  167. name = "Mercadinho (Zaffari)",
  168. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 100000, max = 200000
  169. },
  170. ["Inseno Rd Great Ocean"] = {
  171. pos = {-3038.9475097656, 584.53924560547, 6.9089307785034},
  172. reward = 4000 + math.random(1000,50000),
  173. name = "Mercadinho (Sonda)",
  174. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 100000, max = 200000
  175. },
  176. ["Grapeseed Main St"] = {
  177. pos = {1707.8717041016, 4920.2475585938, 41.063678741455},
  178. reward = 4000 + math.random(1000,50000),
  179. name = "Mercadinho (Angeloni)",
  180. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 100000, max = 200000
  181. },
  182. ["Algonquin Blvd"] = {
  183. pos = {1392.9791259766, 3606.5573730469, 33.980918884277},
  184. reward = 4000 + math.random(1000,50000),
  185. name = "Mercadinho (Coop)",
  186. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 100000, max = 200000
  187. },
  188. ["Panorama Dr"] = {
  189. pos = {1982.5057373047, 3053.4697265625, 46.215065002441},
  190. reward = 4000 + math.random(1000,50000),
  191. name = "Mercadinho (Savegnago)",
  192. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 100000, max = 200000
  193. },
  194. ["Senora Fwy Sandy"] = {
  195. pos = {2678.1394042969, 3279.3344726563, 54.241130828857},
  196. reward = 4000 + math.random(1000,50000),
  197. name = "Mercadinho (Zaragoza)",
  198. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 100000, max = 200000
  199. },
  200. ["Mirror Park Blvd"] = {
  201. pos = {1159.5697021484, -314.11761474609, 68.205139160156},
  202. reward = 4000 + math.random(1000,50000),
  203. name = "Mercadinho (Yamada)",
  204. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 100000, max = 200000
  205. },
  206. ["joia"] = {
  207. pos = {-630.33868408204, -228.85620117188, 38.057033538818},
  208. reward = 4000 + math.random(100000,300000),
  209. name = "Joalheria (Soberana)",
  210. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 100000, max = 200000
  211. },
  212. ["El Rancho Blvd"] = {
  213. pos = {1134.2387695313, -982.76049804688, 45.415843963623},
  214. reward = 4000 + math.random(1000,50000),
  215. name = "Mercadinho (Zina)",
  216. dist = 15.0, rob = 600, wait = 900, cops = 4, stars = 0, min = 100000, max = 200000
  217. }
  218. }
  219. return cfg
Advertisement
Add Comment
Please, Sign In to add comment