Trap Phone
A beat-up flip burner (trap_phone item) for drug dealing RP.
Framework: Qbox. Requires: oxmysql, ox_lib, ox_inventory, GR1M_Syndicate. Optional: GR1M_Skills (dealing perks).
- Corner selling: advertise in the neighbourhood you're in, roam it, and locals ping you. Each neighbourhood has its own rep (saved on the phone) and a server-wide demand that recovers over a few hours.
- Haggling: every local shows how bad they need it. 86%+ usually pays more, 60-85% is a coin flip and walks on a no, under 60% always walks. A walk costs hood rep (and contact rep). Corner buyers also ask for 8-balls, halves and ounces now and then (
TPConfig.CornerExtras). - Contacts: a new phone starts with 3 gram buyers. Rep with a contact unlocks an introduction to the next tier (8-ball, ounce, pound, kilo). Some ounce-and-up contacts are undercover and give themselves away in their texts.
- Drop-offs (8-balls, halves, ounces): the buyer waits in a car at a curb spot. Robbery chance grows with size.
- Meets (pounds, kilos): staff-placed spots, a time window, the exact spot texted 3 minutes before. Need 1 (pound) or 2 (kilo) officers on duty. Rip-off crews: hand it over, or fight.
- Stings: an undercover buy seizes the product, sends police a 50 m lead and maxes your heat.
- Police on duty: locals buy 2x / 3x / 4x with 1 / 2 / 3+ officers on (
/trapadmin› Police ladder). Pay bonus is GR1M_Syndicate's. - Texts with contacts and other trap phone numbers (player-to-player). Scales split product inside the phone, one baggie per piece (large baggies for ounces).
- Evidence: police opening a seized phone get a read-only view (undercover contacts flagged). Dealers can wipe the phone first.
- Burner seller: NPC who moves between spots hourly, $1,500 dirty.
- Dealing skill tree (GR1M_Skills,
config/trees/dealing.lua): XP from corner sales, drop-offs and meets. Perks are read inserver/skills.lua: faster buyers, haggle odds, contact rep, less heat, bigger buys, then Corner Boss (hood rep, demand, Busy Corner = two buyers at once) or Runner (fewer robberies, delivery runs of 2-4 stops with a bonus), Read the Room, Network, Clean Hands, and The Plug (one fewer officer for meets, pounds/kilos pay more). Without GR1M_Skills every perk is 0. - Delivery runs: DEALS › START A RUN picks free drop-off contacts and product they buy; one stop opens at a time, finishing all pays
TPConfig.Runs.bonus.
Heat, neighbourhoods and police leads all come from GR1M_Syndicate (start it first). GR1M_Syndicate RecordSale(src, heatMult) takes an optional heat scale (Light Step).
#Setup
ensure GR1M_Syndicatethenensure GR1M_TrapPhone. Don't run another trap phone script on the sametrap_phoneitem.- Items:
trap_phone,scales,baggies,large_baggies,black_moneyand your drug items must exist in ox_inventory. - Drugs:
TPConfig.Drugsinconfig.lualists the items locals buy (the defaults are example weed strains). Change it to match your drug scripts' items. - Tables are created on start:
gr1m_trapphone_phones,gr1m_trapphone_settings,gr1m_trapphone_log. /trapadmin(admin/god): meet, drop and seller spots, prices, police ladder, phone lookup, change log.- Settings:
config.lua.
Support: https://discord.gg/m38m33G6jK
GR1M