Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Config = {}
- Config.UsePSUI = true -- True to use PS-UI thermite, false to use memorygame_2
- Config.MinimumCops = 1 -- the amount of on duty cops needed to start the truck robbery
- Config.PoliceJobNames = {
- [1] = {
- job = 'police'
- },
- --[2] = {
- -- job = 'bcso' --If you have multiple police jobs, just uncomment this, and follow the same pattern,
- --},
- --[3] = {
- -- job = 'sasp' --If you have multiple police jobs, just uncomment this, and follow the same pattern,
- --},
- }
- --if using ps-ui
- Config.Time = 10 -- Time for hack to show before failing
- Config.Gridsize = 5 -- Grid size, only 5 - 10
- Config.IncorrectBlocks = 2 -- Amount of blocks you can get wrong before failing
- --else if using memorygame_2
- Config.CorrectBlocks_2 = 6 -- Amount of blocks that are correct
- Config.IncorrectBlocks_2 = 2 -- Amount of blocks you can get wrong before failing
- Config.TimeToShow_2 = 3 -- Time to show the correct answers
- Config.TimeToLose_2 = 10 -- Time for hack to show before failing
- ----------------------------
- Config.DirtyOrMoney = 1 -- 1 = Give dirty money / bands, 2 = Give cash instead
- Config.Money = math.random(15000, 25000) -- Min and Max amount of money you can recieve from the truck, or dirty / bands
- Config.DirtyMoneyItemName = 'dirty' --item name used for dirty if you have DirtyOrMoney set to 1
- Config.TruckModel = 'armoredtruck' -- stockade for default bank truck, armoredtruck if you using the one I have converted to a standalone https://github.com/phadedalive/FiveM-bobcat-truck-standalone
- Config.GuardPedModel = 'mp_s_m_armoured_01' --example: ig_casey
- Config.GuardPedWeapons = 'WEAPON_CARBINERIFLE'
- Config.SecondsToBlow = 10 -- seconds it takes for c4 to blow up after planting
- Config.BagModel = 'hei_p_m_bag_var22_arm_s' -- model of the bag you use for looting
- Config.GrabbingLootProgressBarText = 'Grabbing loot..' -- pretty self explanatory
- Config.GrabbingLootProgressBarTime = 20 -- in seconds it takes for the progressbar to complete
- Config.C4ItemName = 'c4' -- the item name of the c4 item needed to plant on the truck
- Config.RemoveC4ItemOnFail = true -- true removes the item on failure to hack, false wont remove it
- Config.CanRecieveCard = true -- True is yes, false is no
- Config.BobcatCardItem = 'bobcatkeycard' --item name for bobcat card
- Config.CanGetWeapons = true -- True is yes, false is no
- Config.CanGetSpecialWeapons = true -- True is yes, false is no
- Config.ChanceNeededForWeapon = 15 -- if chance rolls this number or higher you will recieve a random weapon
- Config.ChanceNeededForSpecialWeapon = 70 -- if chance rolls this number or higher you will recieve a random special weapon
- Config.ChanceNeededForCard_1 = 80 -- if chance rolls this number or higher & ChanceNeededForCard_2 rolls its number or higher, you will recieve a bobcat card
- Config.ChanceNeededForCard_2 = 80 -- if chance rolls this number or higher & ChanceNeededForCard_1 rolls its number or higher, you will recieve a bobcat card
- Config.GoldBars = true -- True = You can recieve gold bars, false = no gold bars
- Config.GoldBarItemName = 'goldbar'
- Config.GoldBarMin = 1 -- The minimum amount of gold bars you can recieve from the random pick
- Config.GoldBarMax = 3 -- The maximum amount of gold bars you can recieve from the random pick
- Config.GoldChains = true -- True = You can recieve gold chains, false = no gold chains
- Config.GoldChainItemName = 'goldchain'
- Config.GoldChainsMin = 1 -- The minimum amount of gold chains you can recieve from the random pick
- Config.GoldChainsMax = 3 -- The maximum amount of gold chains you can recieve from the random pick
- Config.Rolexs = true -- True = You can recieve rolexes, false = no rolexes
- Config.RolexItemName = 'rolex'
- Config.RolexMin = 1 -- The minimum amount of rolexes you can recieve from the random pick
- Config.RolexMax = 3 -- The maximum amount of rolexes you can recieve from the random pick
- ----IMPORTANT---- BELOW THE HOURS AND MINUTE ARE BASED OFF YOUR VPS TIME. FOR EXMAPLE I LIVE IN THE US, BUT MY VPS IS HOSTED IN GERMANY SO ITS ON GERMAN TIME
- Config.LetServerHandleSpawn = false -- True = let the server spawn the truck in traffic, false = let the cron handle spawning
- Config.OneOrTwoSpawns = 2 -- 1 = only spawn the bobcat once per day, 2 = twice per day (I put them an hour after my resets)
- Config.SpawnOneHour = 11 -- The hour for the first spawn time
- Config.SpawnOneMin = 59 -- The minute for the first spawn time
- Config.SpawnTwoHour = 23 -- The hours for the second spawn time
- Config.SpawnTwoMin = 59 -- The minute for the second spawn time
- Config.Weapons = {
- [1] = {
- weapon = 'weapon_combatpistol'
- },
- [2] = {
- weapon = 'weapon_microsmg'
- },
- [3] = {
- weapon = 'weapon_heavypistol'
- },
- }
- Config.SpecialWeapons = {
- [1] = {
- weapon = 'weapon_pumpshotgun'
- },
- [2] = {
- weapon = 'weapon_assaultrifle'
- },
- }
- Config.Truck = { --DO NOT TOUCH
- [1] = {
- ["blown"] = false, --DO NOT TOUCH
- ["looted"] = false --DO NOT TOUCH
- }
- }
- RegisterNetEvent('phade-truckrobbery:client:PoliceAlert', function()
- -- exports['ps-dispatch']:BankTruckRobbery() -- Project-SLoth
- -- TriggerServerEvent('police:server:policeAlert', 'Bobcat Truck Robbery') -- Regular qbcore
- -- These are just examples, you'll have to implement your own police alert system!
- end)
Advertisement
Add Comment
Please, Sign In to add comment