SHARE
TWEET

mission.lua

mykels23 Jul 15th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. local cfg = {}
  3.                     -- SET YOUR LANGUAGE HERE - MAKE SURE IT'S INSIDE THE ""
  4. cfg.lang = "en"
  5.                     -- English/Français/Italiano/Deutsche/Português/Pусский/Lietuvių/Dansk/العربية/Polskie/Español/Svenska/Suomalainen/中文/Română
  6.  
  7. -- REPAIR
  8.  
  9. -- map of permission -> repair config
  10. -- (multiple repair permissions can work)
  11. --- chance: chance factor per minute (1 => everytime, 10 => 1/10)
  12. --- title
  13. --- positions
  14. --- reward: money reward
  15. --- steps: number of things to fix
  16. cfg.repair = {
  17.   ["mission.repair.satellite_dishes"] = {
  18.     chance = 5,
  19.     title = "satellite dishes",
  20.     steps = 3,
  21.     positions = {
  22.       {1985.55017089844,2929.42211914063,46.5480003356934},
  23.       {1965.38012695313,2917.47241210938,56.1684608459473},
  24.       {1963.78540039063,2923.09497070313,58.674430847168},
  25.       {2000.7314453125,2930.4404296875,56.9706687927246},
  26.       {2008.03125,2933.06591796875,59.4772453308105},
  27.       {2021.29052734375,2945.23486328125,47.3697547912598},
  28.       {2046.88366699219,2944.65673828125,51.0216827392578},
  29.       {2048.24487304688,2950.81567382813,57.5155029296875},
  30.       {2049.64965820313,2945.82641601563,57.5173225402832},
  31.       {2043.96203613281,2945.04541015625,60.0233764648438},
  32.       {2063.26318359375,2954.65551757813,47.1244201660156},
  33.       {2078.7734375,2945.44653320313,56.4166870117188},
  34.       {2084.89599609375,2949.8955078125,58.922477722168},
  35.       {2075.71948242188,2950.55688476563,58.9233741760254},
  36.       {2098.6142578125,2939.935546875,47.3400077819824},
  37.       {2106.00659179688,2926.54125976563,50.9320068359375},
  38.       {2106.63671875,2923.71069335938,57.4270858764648},
  39.       {2106.38110351563,2929.37817382813,59.9300575256348},
  40.       {2114.44677734375,2924.77514648438,59.933162689209},
  41.       {2127.35888671875,2918.94116210938,47.7327079772949},
  42.       {2137.28881835938,2900.53442382813,57.263298034668},
  43.       {2137.61767578125,2906.61645507813,59.770336151123},
  44.       {2144.6728515625,2900.85595703125,59.7593727111816}
  45.     },
  46.     reward = 15000
  47.   },
  48.   ["mission.repair.wind_turbines"] = {
  49.     chance = 5,
  50.     steps = 3,
  51.     title = "wind turbines",
  52.     positions = {
  53.       {2363.77880859375,2288.63891601563,94.252693176269},
  54.       {2347.873046875,2237.5771484375,99.3171691894531},
  55.       {2330.4150390625,2114.89965820313,108.288673400879},
  56.       {2331.23291015625,2054.52392578125,103.90625},
  57.       {2287.10668945313,2075.57153320313,122.888381958008},
  58.       {2271.43725585938,1996.4248046875,132.123352050781},
  59.       {2307.3681640625,1972.44323730469,131.318496704102},
  60.       {2267.27758789063,1917.859375,123.269912719727},
  61.       {2299.90209960938,1857.3779296875,106.976081848145},
  62.       {2356.48413085938,1836.69982910156,102.337211608887}
  63.     },
  64.     reward = 15000
  65.   }
  66. }
  67. -------bankdriver
  68. cfg.bankdriver = {
  69.   ["mission.bankdriver.moneybank"] = {
  70.     chance = 5,
  71.     title = "Bank Driver",
  72.     steps = 1,
  73.     positions = {
  74.       {-161.13385009766,-860.69409179688,29.488040924072},
  75.       {-1071.6049804688,-857.49749755859,4.8673276901245},
  76.       {-738.89025878906,-1502.5588378906,5.0005192756653},
  77.       {2008.03125,2933.06591796875,59.4772453308105},
  78.       {2021.29052734375,2945.23486328125,47.3697547912598},
  79.       {2046.88366699219,2944.65673828125,51.0216827392578},
  80.       {2048.24487304688,2950.81567382813,57.5155029296875},
  81.       {2049.64965820313,2945.82641601563,57.5173225402832},
  82.       {2043.96203613281,2945.04541015625,60.0233764648438},
  83.       {2063.26318359375,2954.65551757813,47.1244201660156},
  84.       {2078.7734375,2945.44653320313,56.4166870117188},
  85.       {2084.89599609375,2949.8955078125,58.922477722168},
  86.       {2075.71948242188,2950.55688476563,58.9233741760254},
  87.       {2098.6142578125,2939.935546875,47.3400077819824},
  88.       {2106.00659179688,2926.54125976563,50.9320068359375},
  89.       {2106.63671875,2923.71069335938,57.4270858764648},
  90.       {2106.38110351563,2929.37817382813,59.9300575256348},
  91.       {2114.44677734375,2924.77514648438,59.933162689209},
  92.       {2127.35888671875,2918.94116210938,47.7327079772949},
  93.       {2137.28881835938,2900.53442382813,57.263298034668},
  94.       {2137.61767578125,2906.61645507813,59.770336151123},
  95.       {2144.6728515625,2900.85595703125,59.7593727111816}
  96.     },
  97.     reward = 500
  98.   },
  99.   ["mission.bankdriver.moneybank2"] = {
  100.     chance = 5,
  101.     title = "Bank Driver",
  102.     steps = 1,
  103.     positions = {
  104.       {-161.13385009766,-860.69409179688,29.488040924072},
  105.       {-1071.6049804688,-857.49749755859,4.8673276901245},
  106.       {2363.77880859375,2288.63891601563,94.252693176269},
  107.       {2347.873046875,2237.5771484375,99.3171691894531},
  108.       {2330.4150390625,2114.89965820313,108.288673400879},
  109.       {2331.23291015625,2054.52392578125,103.90625},
  110.       {2287.10668945313,2075.57153320313,122.888381958008},
  111.       {2271.43725585938,1996.4248046875,132.123352050781},
  112.       {2307.3681640625,1972.44323730469,131.318496704102},
  113.       {2267.27758789063,1917.859375,123.269912719727},
  114.       {2299.90209960938,1857.3779296875,106.976081848145}
  115.     },
  116.     reward = 500
  117.   }
  118.  
  119. }
  120. -- DELIVERY
  121.  
  122. local common_delivery_positions = {
  123.   {-1087.20959472656,479.4970703125,81.5277786254883},
  124.   {-1215.48083496094,457.809478759766,91.9756546020508},
  125.   {-1277.36901855469,496.794769287109,97.8074340820313},
  126.   {-1380.82360839844,474.517272949219,105.052627563477},
  127.   {-1063.642578125,-1054.95007324219,2.15036153793335},
  128.   {-1113.640625,-1068.970703125,2.15036201477051},
  129.   {-1161.85144042969,-1099.05871582031,2.17665767669678}
  130. }
  131.  
  132. -- map of permission => delivery config
  133. --- items: map of idname => {min_amount,max_amount,reward_per_item}
  134. --- positions
  135. -- only one delivery permission can be used per player (no permission selection, only one will work)
  136.  
  137.  
  138. -- Delivery Driver
  139. cfg.delivery = {
  140.   ["mission.delivery.food"] = {
  141.     positions = common_delivery_positions,
  142.     items = {
  143.       ["tacos"] = {0,8,500},
  144.       ["water"] = {0,8,350}
  145.     }
  146.   }
  147. }
  148.  
  149. -- Drug Dealer
  150. local common_drugseller_positions = {
  151.   {-1087.20959472656,479.4970703125,81.5277786254883},
  152.   {-1215.48083496094,457.809478759766,91.9756546020508},
  153.   {-1277.36901855469,496.794769287109,97.8074340820313},
  154.   {-1380.82360839844,474.517272949219,105.052627563477},
  155.   {-1063.642578125,-1054.95007324219,2.15036153793335},
  156.   {-1113.640625,-1068.970703125,2.15036201477051},
  157.   {-1161.85144042969,-1099.05871582031,2.17665767669678}
  158. }
  159.  
  160. cfg.drugseller = {
  161.   ["mission.drugseller.weed"] = {
  162.     title = "Drug Dealer",
  163.     positions = common_drugseller_positions,
  164.     items = {
  165.       ["weed"] = {1,10,500},
  166.       ["cocaine"] = {1,7,600},
  167.       ["lsd"] = {1,5,700}
  168.     }
  169.   }
  170. }
  171.  
  172. -- Fisherman
  173. local common_fisher_positions = {
  174.   {1397.0802001953,3606.7141113281,34.980922698975},
  175.   {1966.0919189453,3746.009765625,32.343746185303},
  176.   {2678.9653320313,3288.4008789063,55.241153717041},
  177.   {1168.3609619141,2708.5288085938,38.157703399658}
  178. }
  179.  
  180. cfg.fisherman = {
  181.   ["mission.delivery.fish"] = {
  182.     title = "Fishing",
  183.     positions = common_fisher_positions,
  184.     items = {
  185.       ["bass"] = {1,8,200},
  186.       ["catfish"] = {1,8,200}
  187.     }
  188.   }
  189. }
  190.  
  191. -- Weapons Smuggler
  192. local common_smuggler_positions = {
  193.   {-569.02294921875,5253.2524414063,70.487228393555},
  194.   {-1144.0905761719,4938.1181640625,222.26870727539},
  195.   {-2612.7600097656,2949.5141601563,9.6540851593018}
  196. }
  197.  
  198. cfg.weapons_smuggler = {
  199.   ["mission.weapons.smuggler"] = {
  200.     title = "Weapons Smuggler",
  201.     positions = common_smuggler_positions,
  202.     items = {
  203.       ["AK47"] = {1,5,350},
  204.       ["M4A1"] = {1,5,350}
  205.     }
  206.   }
  207. }
  208.  
  209. -- Medical Weed
  210. local common_medical_positions = {
  211.   {326.83486938477,-1473.7293701172,29.795280456543}
  212. }
  213.  
  214. cfg.medical_driver = {
  215.   ["mission.delivery.medical"] = {
  216.     title = "Medical Delivery",
  217.     positions = common_medical_positions,
  218.     items = {
  219.       ["Medical Weed"] = {1,10,350}
  220.     }
  221.   }
  222. }
  223.  
  224. -- Santa (Disabled)
  225. -- local common_santa_positions = {
  226.   -- {2543.1989746094,-453.29135131836,93.009101867676}
  227. -- }
  228.  
  229. -- cfg.santa = {
  230.   -- ["mission.santa"] = {
  231.     -- title = "Santa",
  232.     -- positions = common_santa_positions,
  233.     -- items = {
  234.       -- ["Presents"] = {1,10,350}
  235.     -- }
  236.   -- }
  237. -- }
  238.  
  239. -- Cargo Pilot
  240. local common_pilot_positions = {
  241.   {2143.0698242188,4811.3764648438,41.179256439209},
  242.   {1702.8529052734,3251.9147949219,40.986331939697}
  243.  }
  244.  
  245. cfg.pilot = {
  246.   ["mission.pilot.cargo"] = {
  247.     title = "Airline Cargo",
  248.     positions = common_pilot_positions,
  249.     items = {
  250.       ["cargo"] = {1,10,350}
  251.     }
  252.   }
  253. }
  254.  
  255. -- Hacker
  256. local common_hacker_positions = {
  257.   {-1087.20959472656,479.4970703125,81.5277786254883},
  258.   {-1215.48083496094,457.809478759766,91.9756546020508},
  259.   {-1277.36901855469,496.794769287109,97.8074340820313},
  260.   {-1380.82360839844,474.517272949219,105.052627563477},
  261.   {-1063.642578125,-1054.95007324219,2.15036153793335},
  262.   {-1113.640625,-1068.970703125,2.15036201477051},
  263.   {-1161.85144042969,-1099.05871582031,2.17665767669678}
  264. }
  265. cfg.hacker = {
  266.   ["mission.hacker.information"] = {
  267.     positions = common_hacker_positions,
  268.     items = {
  269.       ["credit"] = {1,5,500}
  270.     }
  271.   }
  272. }
  273.  
  274. --ups
  275. local common_ups_positions = {
  276.   {-1087.20959472656,479.4970703125,81.5277786254883},
  277.   {-1215.48083496094,457.809478759766,91.9756546020508},
  278.   {-1277.36901855469,496.794769287109,97.8074340820313},
  279.   {-1380.82360839844,474.517272949219,105.052627563477},
  280.   {-1063.642578125,-1054.95007324219,2.15036153793335},
  281.   {-1113.640625,-1068.970703125,2.15036201477051},
  282.   {-1161.85144042969,-1099.05871582031,2.17665767669678}
  283. }
  284. cfg.ups = {
  285.   ["mission.delivery.parcels"] = {
  286.     positions = common_ups_positions,
  287.     items = {
  288.       ["parcels"] = {1,7,450}
  289.     }
  290.   }
  291. }
  292. -- Trash Collector
  293. local common_trash_positions = {
  294.   {711.07678222656,-1408.1213378906,26.35417175293} -- Add more positions
  295. }
  296.  
  297. cfg.trash = {
  298.   ["mission.collect.trash"] = {
  299.     positions = common_trash_positions,
  300.     items = {
  301.       ["trash"] = {1,10,400}
  302.     }
  303.   }
  304. }
  305.  
  306. -- Forger
  307. local common_forger_positions = {
  308.   {-1061.9360351563,-243.80813598633,44.021057128906}
  309. }
  310.  
  311. cfg.forger = {
  312.   ["forger.mission"] = {
  313.     positions = common_forger_positions,
  314.     items = {
  315.       ["fake_id"] = {1,10,600}
  316.     }
  317.   }
  318. }
  319.  
  320. -- Police
  321. local common_police_positions = {
  322.   {145.04643249512,-1044.4276123047,29.367944717407}, -- Vespucci
  323.   {-2957.4338378906,479.3232421875,15.696963310242}, -- Highway
  324.   {-104.5299987793,6470.8251953125,31.626712799072} -- Blaine County
  325. }
  326.  
  327. cfg.police = {
  328.   ["police.mission"] = {
  329.     positions = common_police_positions,
  330.     items = {
  331.       ["police_report"] = {1,1,600}
  332.     }
  333.   }
  334. }
  335.  
  336. -- EMS
  337. local common_ems_positions = {
  338.   {341.70108032227,-1396.8901367188,32.509250640869}, -- Central
  339.   {356.31234741211,-597.83703613281,28.779567718506}, -- Pillbox Hill
  340.   {1839.1788330078,3672.5698242188,34.276737213135}, -- Sandy Shores
  341.   {-244.23054504395,6328.3413085938,32.426177978516} -- Paleto
  342. }
  343.  
  344. cfg.ems = {
  345.   ["ems.mission"] = {
  346.     positions = common_ems_positions,
  347.     items = {
  348.       ["ems_report"] = {1,1,600}
  349.     }
  350.   }
  351. }
  352.  
  353. return cfg
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top