ALL SCRIPTS ESCROWED USING FIVEM ESCROW SYSTEM
Trap Phone system for your hood servers. Tired of stnding around making plays in 1 spot. Trap Phone puts players in the driver seat with this IRL based way of selling. Players get calls to make drops at custos front door. If you are looking for something different and to get your players to move around this is the script for you..
https://www.youtube.com/watch?v=M1QX7ik_ihQ
Trap phone
Trap Phone iNy-2-LA is set us to work in any server whether if running La or Ny map. Just pick which locations in config and you and your players are off to moving work all across the city.
Config:
Drug Categories
Trap Phone offers 3 drug categories that servers can use however they want. By default the set up is as listed below .
Categories:
Assests Included In Package For Keymaster
SteetCode UltimateTrapPhone
Dialoguge
Resource Integration
Script already has AI Cop and the Street System already integrated in.
Discord Support
All scripts come with support via discord. I prefer voice chat to help people out faster and more efficient
Config
Config = {}
Config.NewESX = true
Config.Locale = 'en'
----------------
--Settings---------------
----------------
Config.UseAICOPSINSTEADOFROBBERY = true --if you want police to show up true/ if you want thug robbery false
Config.StreetSystem = true -- true for ai streesystem robbery- false for regular robbery
Config.RobberyChance = 25 --(0-100)
Config.LADeliveryPriceMultiplier = 1.0
Config.LADeliveryTipMin = 0
Config.LADeliveryTipMax = 150
Config.NotifyPercent = 6 -- Higher number = less chance of cops being notified
Config.Title = 'STREETCODE TRAPPY'
Config.NotySystem = 'GKS' ---(options) ESX, GKS,NEWGKS, QS, NEWQS, CUSTOM (ESX< GKS< QUASAR< LB PHONE< CUSTOM)
----------------
--Locations---------------
----------------
---LOS SANTOS---
Config.LADelivery = {
[1] = {["x"] = 8.91, ["y"] = -242.82, ["z"] = 51.8},
[2] = {["x"] = 113.74, ["y"] = -277.95, ["z"] = 54.51},
[3] = {["x"] = 201.56, ["y"] = -148.76, ["z"] = 61.47},
[4] = {["x"] = -206.84, ["y"] = 159.49, ["z"] = 74.08},
[5] = {["x"] = 38.83, ["y"] = -71.64, ["z"] = 63.83},
[6] = {["x"] = 47.84, ["y"] = -29.16, ["z"] = 73.71},
[7] = {["x"] = -264.41, ["y"] = 98.82, ["z"] = 69.27},
[8] = {["x"] = -419.34, ["y"] = 221.12, ["z"] = 83.6},
[9] = {["x"] = -998.43, ["y"] = 158.42, ["z"] = 62.31},
[10] = {["x"] = -1026.57, ["y"] = 360.64, ["z"] = 71.36},
[11] = {["x"] = -967.06, ["y"] = 510.76, ["z"] = 82.07},
[12] = {["x"] = -1009.64, ["y"] = 478.93, ["z"] = 79.41},
[13] = {["x"] = -1308.05, ["y"] = 448.59, ["z"] = 100.86},
[14] = {["x"] = 557.39, ["y"] = -1759.57, ["z"] = 29.31},
[15] = {["x"] = 325.1, ["y"] = -229.59, ["z"] = 54.22},
[16] = {["x"] = 414.82, ["y"] = -217.57, ["z"] = 59.91},
[17] = {["x"] = 430.85, ["y"] = -941.91, ["z"] = 29.19},
[18] = {["x"] = -587.79, ["y"] = -783.53, ["z"] = 25.4},
[19] = {["x"] = -741.54, ["y"] = -982.28, ["z"] = 17.44},
[20] = {["x"] = -668.23, ["y"] = -971.58, ["z"] = 22.34},
[21] = {["x"] = -664.21, ["y"] = -1218.25, ["z"] = 11.81},
[22] = {["x"] = 249.99, ["y"] = -1730.79, ["z"] = 29.67},
[23] = {["x"] = 405.77, ["y"] = -1751.18, ["z"] = 29.71 },
[24] = {["x"] = 454.96, ["y"] = -1580.25, ["z"] = 32.82},
[25] = {["x"] = 278.81, ["y"] = -1117.96, ["z"] = 29.42},
[26] = {["x"] = 101.82, ["y"] = -819.49, ["z"] = 31.31},
[27] = {["x"] = -416.72, ["y"] = -186.79, ["z"] = 37.45},
[28] = {["x"] = -60.95, ["y"] = 360.26, ["z"] = 113.06},
}
---LIBERTY CITY---
--[[ ---remove this line abd add it to Los Santos Coords to use NY coords---
Config.LADelivery = {
[1] = {["x"] = 1936.44, ["y"] = 1136.82, ["z"] = 27.4},
[2] = {["x"] = 1866.67, ["y"] = 1015.54, ["z"] = 29.77},
[3] = {["x"] = 1295.76, ["y"] = 1271.66, ["z"] = 32.76},
[4] = {["x"] = 1244.7, ["y"] = 1309.21, ["z"] = 29.54},
[5] = {["x"] = 1454.63, ["y"] = 841.37, ["z"] = 21.2},
[6] = {["x"] = 1571.75, ["y"] = 688.13, ["z"] = 30.15},
[7] = {["x"] = 1540.65, ["y"] = 656.22, ["z"] = 33.31},
[8] = {["x"] = 1461.43, ["y"] = 307.59, ["z"] = 29.04},
[9] = {["x"] = 1468.91, ["y"] = 385.63, ["z"] = 27.97},
[10] = {["x"] = 1521.78, ["y"] = 478.49, ["z"] = 34.57},
[11] = {["x"] = 1523.77, ["y"] = 517.37, ["z"] = 35.98},
[12] = {["x"] = 1670.99, ["y"] = 513.52, ["z"] = 26.08},
[13] = {["x"] = 926.82, ["y"] = 2095.73, ["z"] = 26.59},
[14] = {["x"] = 872.45, ["y"] = 2093.37, ["z"] = 24.6},
[15] = {["x"] = 635.9, ["y"] = 1929.55, ["z"] = 11.67},
[16] = {["x"] = 1564.65, ["y"] = 2249.58, ["z"] = 11.05},
[17] = {["x"] = -52.62, ["y"] = 2106.84, ["z"] = 21.23},
[18] = {["x"] = -143.66, ["y"] = 1638.14, ["z"] = 15.2},
[19] = {["x"] = 348.95, ["y"] = 1358.47, ["z"] = 14.71},
[20] = {["x"] = 314.11, ["y"] = 1214.72, ["z"] = 14.67},
[21] = {["x"] = -939.09, ["y"] = 1794.39, ["z"] = 23.1},
[22] = {["x"] = -1037.26, ["y"] = 1723.42, ["z"] = 22.94},
[23] = {["x"] = -1034.53, ["y"] = 1835.34, ["z"] = 22.57 },
[24] = {["x"] = -978.17, ["y"] = 1890.83, ["z"] = 22.81},
[25] = {["x"] = -1843.65, ["y"] = 536.69, ["z"] = 7.09},
[26] = {["x"] = -1272.11, ["y"] = 533.83, ["z"] = 9.08},
}
]] ---remove this line abd add it to Los Santos Coords to use NY coords---
-----Add Drugs in weed, soft drugs and hard drugs categories to your server liking
Config.account = 'black_money'
Config.weed = {
['sczaza35g'] = 45,
['scgelato35g'] = 60,
['scruntz35g'] = 55,
['sccandy35g'] = 50,
['sccereal35g'] = 30,
['sccookie35g'] = 70,
['scgirl35g'] = 70,
['scglue35g'] = 60,
['scgrape35g'] = 50,
['scorangec35g'] = 60,
['scplatog35g'] = 60,
['sctropi35g'] = 60,
['scvenom35g'] = 60,
['scwhite35g'] = 60,
--add as much as you want
}
Config.soft = {
['sccokesmall'] = 100,
['scfentsmall'] = 160,
['schersmall'] = 80,
['scleancup'] = 50,
['sccrack'] = 50,
-- ['additem'] = 150,
-- ['additem'] = 70,
-- ['additem'] = 60,
-- ['additem'] = 50,
-- ['additem'] = 120,
--add as much as you want
}
Config.hard = {
['scdahlia'] = 500,
['scflakka'] = 50,
['scecstasy'] = 20,
--- ['additem'] = 50,
---['additem'] = 30,
-- ['additem'] = 150,
--- ['additem'] = 70,
-- ['additem'] = 60,
--['additem'] = 50,
--- ['additem'] = 120,
--add as much as you want
}
----------------
--Delivery Notification:---------------
----------------
--Edit Notificantion system ---check Config.NotySystem to choose option dont edit unless adding custom phone
function ShowNotifyESX(msg)
if Config.NotySystem == 'ESX' then
ESX.ShowNotification(msg)
--------------------------------
---OLD GKS Phone
elseif Config.NotySystem == 'GKS' then
TriggerEvent('gksphone:notifi', {title = 'Hotbox', message = msg , img= '/html/static/img/icons/vale.png' })
--------------------------------
--------------------------------
---NEW GKS Phone
elseif Config.NotySystem == 'NEWGKS' then
local NotifData = {
title = Config.Title,
message = msg,
img= '/html/static/img/icons/messages.png',
duration = 5000}
exports["gksphone"]:SendNotification(NotifData)
--------------------------------
---Quasar
elseif Config.NotySystem == 'QS' then
TriggerEvent('qs-smartphone:client:notify', {
title = Config.Title,
text = msg,
icon = "./img/apps/whatsapp.png",
timeout = 1500
})
-------------------------------
---New Quasar
elseif Config.NotySystem == 'NEWQS' then
exports['qs-smartphone-pro']:SendTempNotification({
title = Config.Title,
text = msg,
app = 'settings',
timeout = 5000,
disableBadge = true, -- Disables the badge on the app icon.
})
------------------------------------------
---lb phone--
elseif Config.NotySystem == 'LB' then
exports["lb-phone"]:SendNotification({
app = "Birdy", -- the app to send the notification to (optional)
title = "Hotbox", -- 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
elseif Config.NotySystem == 'CUSTOM' then
end
end