ALL SCRIPTS ESCROWED USING FIVEM ESCROW SYSTEM
Now works with ESX, QB and Qbox
Inventories Supported( Ox, QB, and Quasar)
StreetCode Trap Godz(This Is V Trap on STEROIDS!!!!!) (youtube.com)
Config:
-add more items
-set min-max price per individual drugs
Config = {}
Config.NewESX = true
Config.OnFootAttack = 10 ---Chance of gang showing up while trapping out of car
Config.AttackChance = 10 ---Chance of gang showing up while trapping in car
Config.MaxSell = 5 ----Max number of items to be sold at a time
Config.BlackMoney = true---Regular Selling pay type(Not The Gang area selling)
Config.MaxSlowWaitTime = 340000 ---- 5 minutes
Config.MaxHotWaitTime = 120000 ---- 2 minutes
Config.VTrap = {
[1] = {
coord = vector3(-624.28, 191.85, 69.43), ----Coords not working decided to go with the wheere ever player wants to sell route instead of location
items = {"sccokesmall", "scfentsmall", "schersmall"}, ---Only add drugs that sell for in this price range that way players dont spam sell cheap drugs for high prices..This way some custos will give players a little more and some teims offer less so players have to pay attention to the prices instead of spamming E from the other room lol..
radius = 30.0, ---leave as is
--- (add upi item name infront of min and max like the others above copt this for more items) minMoney = 65, ---Min money a player can make off each item (lowest drug in list sells for 80 so left min at 65 for chance of players under selling on price)
--- maxMoney = 170, ---MAx money a player can make off each item (highest drug in list sells for 150 so left max at 170 for chance of players over selling on price)
spawnpoints = { ---doesnt work idea for next update
vector3(-680.97, 192.19, 74.32), ---doesnt work idea for next update
vector3(-660.47, 140.5, 57.07), ---doesnt work idea for next update
}
},
}
Config.maxCap = 200 ---Cap on foot trapping per restart
Config.CrackName = { --- add any drugs you add here also for label of drug when trapping...
["sccokesmall"] = "Coke",
["scfentsmall"] = "Fentanyl",
["schersmall"] = "Heroin",
}
Config.DrugPriceLow = { --- add any drugs you add here also for label of drug when trapping...
["sccokesmall"] = 75,
["scfentsmall"] = 100,
["schersmall"] = 70,
}
Config.DrugPriceHigh = { --- add any drugs you add here also for label of drug when trapping...
["sccokesmall"] = 100,
["scfentsmall"] = 170,
["schersmall"] = 90,
}
Config.PaintJob = 'mechanic' ---job hat can access quick menu still will have to pay
Config.NeedJob = false -- if only want players with job to buy paint
Config.NPCCord = vector3(-40.22, -1088.44, 25.42)
Config.NPCHeading = 72.76
Config.NPCHash = 0x5AA42C21
Config.NPCModel = 's_m_y_armymech_01'
Config.StartText = '[E] - To Talk with Rodriguez'
Config.PaintShop = { ----dont touch
{name = 'anod_red', price = {min = 300, max = 500} },
{name = 'anod_wine', price = {min = 300, max = 500}},
{name = 'anod_purple', price = {min = 300, max = 500} },
{name = 'anod_blue', price = {min = 300, max = 500} },
{name = 'anod_green', price = {min = 300, max = 500}},
{name = 'anod_copper', price = {min = 300, max = 500} },
{name = 'anod_bronze', price = {min = 300, max = 500}},
{name = 'anod_champagne', price = {min = 300, max = 500} },
{name = 'anod_gold', price = {min = 300, max = 500} },
{name = 'green_blue_flip', price = {min = 300, max = 500}},
{name = 'green_red_flip', price = {min = 300, max = 500} },
{name = 'green_brow_flip', price = {min = 300, max = 500} },
{name = 'green_turq_flip', price = {min = 300, max = 500}},
{name = 'green_purp_flip', price = {min = 300, max = 500} },
{name = 'teal_purp_flip', price = {min = 300, max = 500} },
{name = 'turq_red_flip', price = {min = 300, max = 500}},
{name = 'turq_purp_flip', price = {min = 300, max = 500} },
{name = 'cyan_purp_flip', price = {min = 300, max = 500} },
{name = 'blue_pink_flip', price = {min = 300, max = 500}},
{name = 'blue_green_flip', price = {min = 300, max = 500} },
{name = 'purp_red_flip', price = {min = 300, max = 500} },
{name = 'purp_green_flip', price = {min = 300, max = 500}},
{name = 'magen_gree_flip', price = {min = 300, max = 500} },
{name = 'magen_yell_flip', price = {min = 300, max = 500} },
{name = 'burg_green_flip', price = {min = 300, max = 500}},
{name = 'magen_cyan_flip', price = {min = 300, max = 500} },
{name = 'coppe_purp_flip', price = {min = 300, max = 500} },
{name = 'magen_oran_flip', price = {min = 300, max = 500}},
{name = 'red_orangeflip', price = {min = 300, max = 500} },
{name = 'orang_purp_flip', price = {min = 300, max = 500} },
{name = 'orang_blue_flip', price = {min = 300, max = 500}},
{name = 'white_purp_flip', price = {min = 300, max = 500} },
{name = 'red_rainbo_flip', price = {min = 300, max = 500} },
{name = 'blu_rainbo_flip', price = {min = 300, max = 500}},
{name = 'darkgreenpearl', price = {min = 300, max = 500} },
{name = 'darktealpearl', price = {min = 300, max = 500} },
{name = 'darkbluepearl', price = {min = 300, max = 500}},
{name = 'darkpurplepearl', price = {min = 300, max = 500} },
{name = 'oil_slick_pearl', price = {min = 300, max = 500} },
{name = 'lit_green_pearl', price = {min = 300, max = 500}},
{name = 'lit_blue_pearl', price = {min = 300, max = 500} },
{name = 'lit_purp_pearl', price = {min = 300, max = 500} },
{name = 'lit_pink_pearl', price = {min = 300, max = 500}},
{name = 'pink_pearl', price = {min = 300, max = 500} },
{name = 'yellow_pearl', price = {min = 300, max = 500} },
{name = 'green_pearl', price = {min = 300, max = 500}},
{name = 'blue_pearl', price = {min = 300, max = 500} },
{name = 'cream_pearl', price = {min = 300, max = 500} },
{name = 'white_prisma', price = {min = 300, max = 500}},
{name = 'graphite_prisma', price = {min = 300, max = 500} },
{name = 'darkblueprisma', price = {min = 300, max = 500} },
{name = 'darkpurpprisma', price = {min = 300, max = 500}},
{name = 'hot_pink_prisma', price = {min = 300, max = 500} },
{name = 'red_prisma', price = {min = 300, max = 500} },
{name = 'green_prisma', price = {min = 300, max = 500}},
{name = 'black_prisma', price = {min = 300, max = 500} },
{name = 'oil_slic_prisma', price = {min = 300, max = 500} },
{name = 'rainbow_prisma', price = {min = 300, max = 500}},
{name = 'black_holo', price = {min = 300, max = 500} },
{name = 'white_holo', price = {min = 300, max = 500} },
{name = 'ykta_monochrome', price = {min = 300, max = 500}},
{name = 'ykta_nite_day', price = {min = 300, max = 500} },
{name = 'ykta_verlierer2', price = {min = 300, max = 500} },
{name = 'ykta_sprunk_ex', price = {min = 300, max = 500}},
{name = 'ykta_vice_city', price = {min = 300, max = 500} },
{name = 'ykta_synthwave', price = {min = 300, max = 500} },
{name = 'ykta_four_seaso', price = {min = 300, max = 500}},
{name = 'ykta_m9_throwba', price = {min = 300, max = 500} },
{name = 'ykta_bubblegum', price = {min = 300, max = 500} },
{name = 'ykta_full_rbow', price = {min = 300, max = 500}},
{name = 'ykta_sunsets', price = {min = 300, max = 500} },
{name = 'ykta_the_seven', price = {min = 300, max = 500} },
{name = 'ykta_kamenrider', price = {min = 300, max = 500}},
{name = 'ykta_chromabera', price = {min = 300, max = 500} },
{name = 'ykta_christmas', price = {min = 300, max = 500} },
{name = 'ykta_temperatur', price = {min = 300, max = 500}},
{name = 'ykta_hsw', price = {min = 300, max = 500} },
{name = 'ykta_electro', price = {min = 300, max = 500} },
{name = 'ykta_monika', price = {min = 300, max = 500}},
{name = 'ykta_fubuki', price = {min = 300, max = 500} },
}
----------------
--Delivery Notification:---------------
----------------
function ShowNotifyESX(msg)
---ESX.ShowNotification(msg)
--------------------------------
---GKS Phone
TriggerEvent('gksphone:notifi', {title = 'Trap', message = msg , img= '/html/static/img/icons/vale.png' })
--------------------------------
---Quasar
--TriggerEvent('qs-smartphone:client:notify', {
-- title = 'Trap',
-- text = msg,
-- icon = "./img/apps/whatsapp.png",
-- timeout = 1500
---})
-------------------------------
---lb phone--
--exports["lb-phone"]:SendNotification({
-- app = "Twitter", -- the app to send the notification to (optional)
-- title = "Trap", -- the title of the notification
-- content = msg, -- the description of the notification
--})
--------------------------------
---Add your own phone message function or uncomment esx.shownoti and commeent phone functon instead
end
*Works with Our AI Cop Pro System and StreetSystem for robberies Out the box...