Syniq Documentation
Discord Server
  • Welcome
  • Scripts
    • Weed System
      • Inventory Setup
      • Guides
        • Adding Seeds
        • Adding Shops
Powered by GitBook
On this page
  1. Scripts
  2. Weed System
  3. Guides

Adding Shops

Shops are located in shared.lua

Shops Example


{
    coords = vec3(-943.0979, -1075.4811, 2.7453),
    name = 'Weed Shop',
    blip = {
        id = 496,
        color = 2,
        scale = 1.0,
        display = 4
    },
    items = {
        { label = 'Canister', name = 'canister', price = 40 },
        { label = 'Distilled water', name = 'distilledwater', price = 20 },
        { label = 'Fertilizer', name = 'fertilizer', price = 50 },
        { label = 'Herbicide', name = 'herbicide', price = 30 },
        { label = 'Pot', name = 'pot', price = 10 },
        { label = 'Shovel', name = 'shovel', price = 25 },
        { label = 'Weed Seed', name = 'weed_seed', price = 15 },
    },
}
  • coords: vector3

  • name: string

    • The label to display on map

  • blips?: table

    • Creates a blip with the given settings. Put {} for no blip

    • id: number

    • color: number

    • scale: number

    • display: number

  • items: table

    • label: string

    • name: string

    • price: number

PreviousAdding Seeds

Last updated 4 days ago