Skip to main content

Configuration

Everything is in config.lua. No other files need to be edited.

General settings

KeyDefaultDescription
Config.Locale'es'Language: 'en' or 'es'
Config.RobPedstrueEnable NPC robbery
Config.RobPlayerstrueEnable player robbery
Config.ScanDistance4.0Metres to detect targets
Config.RobDistance2.2Metres to show the E prompt
Config.PedCooldown300000Per-ped cooldown (ms) — 5 min default
Config.PlayerCooldown120000Per-player cooldown (ms) — 2 min default

Blocked models (Config.BlockedModels)

Array of NPC model names that are never valid targets. Defaults include all police, security and army models.

Loot table (Config.PedActions)

Config.PedActions = {
{
id = 'pockets',
label = { en = 'Search pockets', es = 'Buscar bolsillos' },
description = { en = '...', es = '...' },
icon = 'search',
color = 'yellow',
duration = 4000,
cash = { min = 40, max = 320 },
items = {
{ item = 'phone', label = { en = 'Phone', es = 'Teléfono' }, chance = 25 },
},
},
}
FieldDescription
idUnique action identifier
labelMenu label (EN/ES)
descriptionMenu description (EN/ES)
iconSVG icon name from fr_menu
colorfr_progressbar color theme: 'blue', 'red', 'green', 'yellow'
durationBar duration (ms)
cashCash range: { min, max }
itemsItems array with item, label and chance (0-100 %)

Player robbery (Config.PlayerActions)

Config.PlayerActions = {
{
id = 'cash',
cashPercent = { min = 20, max = 60 },
cashFlat = { min = 200, max = 800 },
},
}

Police alert

KeyDefaultDescription
Config.AlertOnRobberytrueAdd a flashing blip after robbery
Config.AlertCrimeName'STEALING'GTA crime name for dispatch
Config.AlertBlipFlashtrueFlash the blip
Config.AlertBlipDuration15Seconds the blip lasts