Advertisement
PeppSess

Config of fnx-carthief

Apr 10th, 2022
648
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.17 KB | None | 0 0
  1. c = {
  2.     coords = {
  3.         start = { -- Spawn ped and start mission random coords
  4.             vector4(205.06228637695,-2855.1638183594,6.008873462677,280.81314086914),
  5.             --vector4(1037.3487548828,-2142.2563476563,32.725608825684,267.48687744141),
  6.                 -- vector4(x,y,z,h),
  7.         },
  8.  
  9.         carWithdraw = { -- Car spawn coords and pickup random coords
  10.             vector4(-1487.3647460938,527.65863037109,118.27221679688,208.9715423584),
  11.             vector4(-1022.9300537109,695.89587402344,161.42755126953,334.28610229492),
  12.                 -- vector4(x,y,z,h),
  13.         },
  14.  
  15.         carDelivery = { -- Car delivery random coords
  16.             vector4(769.97381591797,-3195.6643066406,5.9005393981934,236.15280151367),
  17.                 -- vector4(x,y,z,h),
  18.         }
  19.     },
  20.  
  21.     cars = {
  22.         {
  23.             model = "t20",
  24.                 -- Vehicle model, add on too
  25.             chance = 20,
  26.                 -- Chance from 0 to 100
  27.             reward = { -- Earning at delivery of the vehicle
  28.                 min = 20000,
  29.                 max = 50000,
  30.             }
  31.         },
  32.         {
  33.             model = "sugoi",
  34.                 -- Vehicle model, add on too
  35.             chance = 1,
  36.                 -- Chance from 0 to 100
  37.             reward = { -- Earning at delivery of the vehicle
  38.                 min = 20000,
  39.                 max = 50000,
  40.             }
  41.         },
  42.     },
  43.  
  44.     peds = {
  45.         {
  46.             name = "Gustav",
  47.             model = "cs_lazlow_2",
  48.         },
  49.         {
  50.             name = "Lester",
  51.             model = "cs_lestercrest",
  52.         },
  53.         {
  54.             name = "Laz",
  55.             model = "cs_lazlow",
  56.         },
  57.         {
  58.             name = "Davis",
  59.             model = "cs_lamardavis",
  60.         },
  61.         {
  62.             name = "Robin",
  63.             model = "cs_movpremmale",
  64.         },
  65.         {
  66.             name = "Siemon",
  67.             model = "cs_siemonyetarian",
  68.         }
  69.     },
  70.  
  71.     general = {
  72.         blip = { -- Map blips Config
  73.             active = true,
  74.  
  75.             sprite = 229,
  76.             color = 1,
  77.             size = 0.7,
  78.             text = "Car theft",
  79.         },
  80.  
  81.         police = { -- Police Config
  82.             call = {
  83.                 active = true,
  84.             },
  85.  
  86.             jobName = "police",
  87.         },
  88.  
  89.         payment = {
  90.             account = "black_money",
  91.                 -- ESX Base: money / black_money / bank
  92.             reductionPaymentDamages = 10,
  93.                 -- Percentage to be remove for vehicle damage
  94.             bonusPaymentDamages = 10,
  95.                 -- Percentage to be add for no vehicle damage
  96.         }
  97.     },
  98.  
  99.     timer = {
  100.         reactiveAfterSale = true,
  101.         afterMinutes = 10, -- minutes
  102.         spawnDeliveryPointTime = 1, -- minutes
  103.     }
  104. }
  105.  
  106. customize = {
  107.     ["progressBar"] = {
  108.         lockPicking = {
  109.             name = "lockPicking",
  110.             duration = 5000,
  111.             label = 'Breaking the car...',
  112.             useWhileDead = false,
  113.             canCancel = false,
  114.             controlDisables = {
  115.                 disableMovement = true,
  116.                 disableCarMovement = true,
  117.                 disableMouse = false,
  118.                 disableCombat = true
  119.             },
  120.             animation = {
  121.                 animDict = "anim@amb@clubhouse@tutorial@bkr_tut_ig3@",
  122.                 anim = "machinic_loop_mechandplayer",
  123.            
  124.             },
  125.         }
  126.     },
  127.  
  128.     ["rewardNotify"] = function(earn)
  129.         local a = true
  130.         local scaleform = RequestScaleformMovie("mp_big_message_freemode")
  131.         while not HasScaleformMovieLoaded(scaleform) do
  132.             Citizen.Wait(0)
  133.         end
  134.         PushScaleformMovieFunction(scaleform, "SHOW_SHARD_WASTED_MP_MESSAGE")
  135.         PushScaleformMovieFunctionParameterString("~y~Sale Completed!")
  136.         PushScaleformMovieFunctionParameterString("You have earned ~g~$"..earn)
  137.         PopScaleformMovieFunctionVoid()
  138.         PlaySoundFrontend(-1, "BASE_JUMP_PASSED", "HUD_AWARDS", 1)
  139.         Citizen.CreateThread(function()
  140.             while a do
  141.                 Citizen.Wait(1)
  142.                 DrawScaleformMovieFullscreen(scaleform, 255, 255, 255, 255, 0)
  143.             end
  144.         end)
  145.         Citizen.CreateThread(function()
  146.             Citizen.Wait(10000)
  147.             a = false
  148.         end)
  149.     end,
  150.  
  151.     ["randomTextCript"] = {"Должошибканость","благогоошибкавение","Маошибкашина","010010011101010","ошибка","e-rrorGppS\"$é°é"},
  152. }
  153.  
  154. traduzioni = {
  155.     ["message"] = {
  156.         start = {
  157.             a = "Message From:",
  158.             b = "Well, I sent you the location of the car on the ~y~GPS~w~, find it and crack it!",
  159.             avatar = "CHAR_LESTER"
  160.         },
  161.         gps = {
  162.             a = "Message From:",
  163.             b = "Shit, the car has a security system, the police know where you are, you should be able to code the signal with a simple hack, in the meantime I will disable it!",
  164.             avatar = "CHAR_LESTER"
  165.         },
  166.         damage = {
  167.             a = "Message From:",
  168.             b = "I recommend not to damage the car, otherwise you could have a reduction in earnings, bring it to me intact! We are almost in the GPS system, give us some more time and we turn everything off!",
  169.             avatar = "CHAR_LESTER"
  170.         },
  171.         gps2 = {
  172.             a = "Message From:",
  173.             b = "So, I managed to deactivate the security system of that car, the police no longer know where you are, bring me the car, no cops!",
  174.             avatar = "CHAR_LESTER"
  175.         }
  176.     },
  177.  
  178.     ["notify"] = {
  179.         lockPicking = "~INPUT_CONTEXT~ To break into the car",
  180.         gps = "The GPS will activate in: ~y~%s~w~ seconds", -- %s = Time
  181.         gps2 = "~r~The car's GPS is on, the cops know where you are!",
  182.         policeGps = "~b~The police will decode the GPS signal between: ~y~%s~b~ seconds!", -- %s = Time
  183.         criptGps = "~y~[E]~w~ To encrypt the GPS signal",
  184.  
  185.         dist = "Get closer",
  186.         dialog0 = "~g~%s:\n~y~[E]~w~ To interact", -- %s Dealer Name / ~x~ colors
  187.         dialog1 = "~g~%s:\n~w~Here, I was looking for you!\nSo, would you be willing to do a job for me?\n\n~y~[Y] ~g~Yes\n~y~[N] ~r~No", -- %s Dealer Name / ~x~ colors
  188.         dialog2 = "~g~%s:\n~w~So, I have the location of a car,and let's say borrow it, and take it to a garage that I'll tell you.\n\n~y~[Y] ~g~Yes\n~y~[N] ~r~No", -- %s Dealer Name / ~x~ colors
  189.         dialog3 = "~g~%s:\n~w~It was a pleasure doing business with her, if she's still alive she'll get her share of the income!\nSee you at the delivery point, no cops, please!", -- %s Dealer Name / ~x~ colors
  190.  
  191.         police = "Someone is stealing a car, GPS search in progress...\n~INPUT_INTERACTION_MENU~ Accept Call\n~INPUT_FRONTEND_RRIGHT~ Reject Call",
  192.  
  193.         gpsPolice2 = "~y~GPS search in progress",
  194.         gpsPoliceCript = "~r~GPS signal has been encrypted, remaining time for decoding: ~y~%s~r~ seconds!", -- %s = Time
  195.  
  196.         lastPosition = "Last Car Posizion",
  197.     },
  198.  
  199.     ["blips"] = {
  200.         carWithdraw = "Car Withdraw",
  201.         carDelivery = "Car Delivery",
  202.         stolenCarLocation = "Stolen Car Location"
  203.     },
  204. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement