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:
| id | Store | Type |
|---|---|---|
innocence | 24/7 Innocence Blvd | 24/7 |
clinton | 24/7 Clinton Ave | 24/7 |
palomino | 24/7 Palomino Fwy | 24/7 |
ineseno | 24/7 Ineseno Road | 24/7 |
barbareno | 24/7 Barbareno Road | 24/7 |
route68 | 24/7 Route 68 | 24/7 |
sandyshores | 24/7 Sandy Shores | 24/7 |
senora | 24/7 Senora Fwy | 24/7 |
chiliad | 24/7 Mount Chiliad | 24/7 |
grove | LTD Grove Street | LTD |
mirrorpark | LTD Mirror Park | LTD |
littleseoul | LTD Little Seoul | LTD |
richman | LTD Richman Glen | LTD |
grapeseed | LTD Grapeseed | LTD |
vespucci | Rob's Liquor Vespucci | Liquor |
morningwood | Rob's Liquor Morningwood | Liquor |
banham | Rob's Liquor Banham Canyon | Liquor |
murrieta | Rob's Liquor Murrieta Heights | Liquor |
harmony | Scoops Liquor Barn | Liquor |
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),
},
}| Field | What it does |
|---|---|
id | Unique name, used by the exports and the admin command |
label | Name in the police call and the logs |
type | '247', 'ltd' or 'liquor': picks the shelf loot list |
clerk | Where the clerk stands and which way they face |
registers | One point per register |
safe | The safe, leave it out for a store without one |
shelves | Points you can search, or false to make every shelf model in the store searchable |
Optional fields:
| Field | What it does |
|---|---|
safeProp | vec4(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 |
radius | How far the store reaches from its centre, in metres. Worked out from the points by default |
blip | true shows a blip for this store even when R.Blips.enabled = false |
disabled | true switches the store off |
Adding a store
- Copy a store of the same type and give it a new
id. - Stand where the clerk should stand, and use the coordinates and heading for
clerk. - Add a point at every register and at the safe.
- Add a few shelf points, or set
shelves = false. - 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.