Configuration
Learn how to configure the resource.
Learn how to configure the resource.
To add a new store type, follow these steps:
config.lua file in the resource folder.Config.Stores table.name – Unique identifier for the store.title – The displayed store name.logo – URL of the store’s logo.colors – Customize the UI colors.categories – Add store categories and products.blip – Set the map blip properties.ped – Define the store NPC and animation.locations – Specify where the store appears.After making changes, save the file and restart the resource.
To add a new location to an existing store type:
config.lua.Config.Stores.locations array:x, y, z, heading with the store’s coordinates.To change the store system language:
config.lua.Config.lang.| Prop | Type | Default |
|---|---|---|
name | string | - |
title | string | - |
logo | string | - |
colors | Color Table | - |
categories | Category Table | - |
blip | Blip Table | - |
ped | Ped Table | - |
locations | vector4[] | - |
| Prop | Type | Default |
|---|---|---|
bg | string | - |
bgGradient | string | - |
primary | string | - |
text | string | - |
colorCode | string | - |
| Prop | Type | Default |
|---|---|---|
title | string | - |
products | Product Table[] | - |
| Prop | Type | Default |
|---|---|---|
label | string | - |
name | string | - |
price | number | - |
image | string | - |
| Prop | Type | Default |
|---|---|---|
sprite | number | - |
scale | number | - |
color | number | - |