Kartik Scripts

Corners

Street drug selling.

Settings marked 🛠️ can also be changed live in Admin → Corners. Once changed there, the admin panel value is used instead of this file until you press Reset to config (or use config under a single value).

Which drugs sell in each turf (zones) is only set in Admin → Corners → Zones, not in this file. See Corner Selling.


General

SettingDefaultWhat it does
🛠️ GangOnlytrueOnly gang members can sell. If off, civilians can sell too, but their sales don't affect turfs, wars or rivalries
🛠️ AllowPolicefalseLet police jobs sell
🛠️ MinPolice0On-duty police needed online before anyone can sell
🛠️ Account'dirty'Player is paid in 'dirty' money or 'cash'
AllowedBuckets{ 0 }Worlds where selling works
Distance3.0Maximum distance to the buyer
🛠️ PedMemoryMinutes10Before the same person can be asked again
🛠️ MaxPitchesPerMinute8Most sale attempts per player per minute
DealWindow.Min / Max2 / 90Seconds allowed between the offer and the hand-off
🛠️ OfferSeconds25Offer menu closes (declined) after this long

Drugs

🛠️ Drugs: items buyers accept.

Drugs = {
    weed = { min = 45, max = 70, qty = { 1, 3 } },
    meth = { min = 90, max = 130, qty = { 1, 2 } },
    coke_brick = { min = 120, max = 170, qty = { 1, 2 } },
},
FieldMeaning
key (weed)Inventory item name
min / maxRandom price per unit
qtyHow many units a buyer takes

🌡️ Heat

SettingDefaultWhat it does
🛠️ Heat.PerSale10Heat from each sale
🛠️ Heat.PerRefusal3Heat when refused, reported or a haggle fails
🛠️ Heat.DrainPerMinute5Heat lost per minute
🛠️ Heat.Max100Highest heat

🎲 Buyer odds

SettingDefaultWhat it does
🛠️ Odds.Refuse8Base % a buyer refuses
🛠️ Odds.RefusePerHeat0.4Extra refuse % per heat point
🛠️ Odds.MaxRefuse60Refuse cap. Corner mode buyers never refuse
🛠️ Odds.Report2Base % a buyer calls the police
🛠️ Odds.ReportPerHeat0.3Extra report % per heat point
🛠️ Odds.MaxReport40Report cap

📉 Street demand

Each turf has its own demand (0–100). Everywhere outside turfs shares one.

SettingDefaultWhat it does
🛠️ Demand.PerSale6Demand used by each sale
🛠️ Demand.RegenPerMinute3Demand recovered per minute
🛠️ Demand.MinPriceFactor0.4Price multiplier at zero demand

🏳️ Turf modifiers

SettingDefaultWhat it does
🛠️ Turf.OwnPriceBonus0.15+15% price in your gang's turf
🛠️ Turf.EnemyPriceBonus0.25+25% price in turfs owned by another gang. 0 = off
🛠️ Turf.OwnReportFactor0.5Report chance ×0.5 in your turf
🛠️ Turf.EnemyReportFactor1.5Report chance ×1.5 in another gang's turf

🔥 Hot product

SettingDefaultWhat it does
🛠️ HotProduct.EnabledtrueEach turf picks a random drug that sells for more
🛠️ HotProduct.RotateHours6How often it changes
🛠️ HotProduct.Bonus0.35+35% price

🤝 Haggling

SettingDefaultWhat it does
🛠️ Haggle.EnabledtrueShow the Haggle button
🛠️ Haggle.MaxTries1Haggles per deal
🛠️ Haggle.Chance55Base success % (always between 5 and 95)
🛠️ Haggle.ChancePerHeat-0.3Change per heat point
🛠️ Haggle.OwnTurfBonus10Extra % in your own turf
🛠️ Haggle.Raise{ 10, 25 }Price increase % on success
🛠️ Haggle.ReportOnFail20% of failed haggles where the buyer calls police

🧍 Corner mode

SettingDefaultWhat it does
🛠️ CornerMode.EnabledtrueAllow corner mode
CornerMode.Command'corner'Command to start and stop
CornerMode.KeybindfalseOptional key, e.g. 'F7'
🛠️ CornerMode.Radius3.0Move further than this and corner mode ends
🛠️ CornerMode.SearchRadius30.0How far away buyers come from
🛠️ CornerMode.Interval{ 20, 45 }Seconds between buyers
🛠️ CornerMode.HeatFactor1.25Heat multiplier in corner mode

📱 Burner phone

SettingDefaultWhat it does
🛠️ BurnerPhone.RequiredfalseCorner mode needs the item below. Walk-up selling never needs it
BurnerPhone.Item'burner_phone'Item name. Add it to your inventory's item list if you turn Required on
🛠️ BurnerPhone.AnimtruePhone in hand with a call animation when corner mode starts and a text animation when a buyer is on the way
BurnerPhone.Prop'prop_npc_phone_02'Phone prop
BurnerPhone = {
    Required = true,
    Item = 'burner_phone',
    Anim = true,
    Prop = 'prop_npc_phone_02',
},

Other

SettingDefaultWhat it does
IgnoredModelspolice, security, medic and similarNPCs that never buy
InteractMode'target'How players pitch to a ped: 'target' (third eye), 'textui' (E prompt on the closest buyer) or 'both'. The prompt is always used when no target script runs. Restart the resource after changing it
Target.icon / distancecannabis / 2.0Target option icon and range (also the prompt range)
FallbackKey38 (E)Key for the text prompt
Animhand-off animationAnimation and props for the deal
Dispatchon, 10-31Police alert when a buyer reports you (code, title, message, blip, jobs)

On this page