Skip to content
Documentation
Robberies5Shop Robbery

r_shoprobbery Stores

The 19 stores r_shoprobbery ships with, and how to add, move or switch off a store in shared/config_stores.lua.

Every store lives in shared/config_stores.lua. The script ships with 19 stores:

idStoreType
innocence24/7 Innocence Blvd24/7
clinton24/7 Clinton Ave24/7
palomino24/7 Palomino Fwy24/7
ineseno24/7 Ineseno Road24/7
barbareno24/7 Barbareno Road24/7
route6824/7 Route 6824/7
sandyshores24/7 Sandy Shores24/7
senora24/7 Senora Fwy24/7
chiliad24/7 Mount Chiliad24/7
groveLTD Grove StreetLTD
mirrorparkLTD Mirror ParkLTD
littleseoulLTD Little SeoulLTD
richmanLTD Richman GlenLTD
grapeseedLTD GrapeseedLTD
vespucciRob's Liquor VespucciLiquor
morningwoodRob's Liquor MorningwoodLiquor
banhamRob's Liquor Banham CanyonLiquor
murrietaRob's Liquor Murrieta HeightsLiquor
harmonyScoops Liquor BarnLiquor

A store

    {
        id = 'innocence',
        label = "24/7 Innocence Blvd",
        type = '247',
        clerk = vec4(24.47, -1346.62, 29.50, 271.66),
        registers = {
            vec3(25.46, -1347.86, 29.68),
            vec3(25.44, -1345.70, 29.68),
        },
        safe = vec3(31.18, -1339.33, 29.50),
        shelves = {
            vec3(28.15, -1345.02, 29.50),
            vec3(31.88, -1345.38, 29.50),
            vec3(29.68, -1345.31, 29.50),
            vec3(30.40, -1345.33, 29.50),
        },
    }
FieldWhat it does
idUnique name, used by the exports and the admin command
labelName in the police call and the logs
type'247', 'ltd' or 'liquor': picks the shelf loot list
clerkWhere the clerk stands and which way they face
registersOne point per register
safeThe safe, leave it out for a store without one
shelvesPoints you can search, or false to make every shelf model in the store searchable

Optional fields:

FieldWhat it does
safePropvec4(x, y, floor z, heading): places the R.Safe.prop safe here for a store with no safe of its own. Heading is the way its door faces. Keep it within 3 m of safe
radiusHow far the store reaches from its centre, in metres. Worked out from the points by default
bliptrue shows a blip for this store even when R.Blips.enabled = false
disabledtrue switches the store off

Adding a store

  1. Copy a store of the same type and give it a new id.
  2. Stand where the clerk should stand, and use the coordinates and heading for clerk.
  3. Add a point at every register and at the safe.
  4. Add a few shelf points, or set shelves = false.
  5. Restart the resource.

For a store in a custom map, the registers and the safe work on any model in R.Registers.models and R.Safe.models. Points without one of those models still get a prompt.