Extra

Extra options you may need to know

Edit default profile avatar

In order to edit the default profile avatar you need to add a new .png image to nui/assets/avatars/ named default.png

Edit post no-image

In order to edit the post no-image photo you need to add a new image to nui/assets/ named no-image.png

Add custom post categories

Add custom post categories by editing config/config.lua file for Config.postCategories Default code:

Config.postCategories = {                                 -- add whatever categories you need
    'Job Provider',
    'Vehicles',
    'Electronics',
    'Personal Driver',
    'Food & Drinks',
}

Add blacklisted items

Add blacklisted items that can not be posted on octastore. Default template: [item_code] = true,

Config.blacklistedItems = {
    ['WEAPON_PISTOL50'] = true,
}

Add custom postal stations

Add custom postal station by editing config/config.lua file for Config.postalStation Default code:

Config.postalStations = {
    {
        id = 'locker_1',                                                   -- primary key
        coords = vector3(63.661609649658, 129.1326751709, 79.20539855957), -- vector3(x,y,z) coords
        heading = 250.0,                                                   -- prop heading
        model = GetHashKey('bzzz_prop_shop_locker'),                       -- postal station prop
        blip = {                                                           -- blip data, set blip = nil if you don't want to show it
            id = 615,
            color = 5,
            scale = 0.8,
            name = 'Locker Post'
        }
    },
    {
        id = 'locker_2',
        coords = vector3(-29.576179504395, -998.05902099609, 29.22594833374),
        heading = 160.0,
        model = GetHashKey('bzzz_prop_shop_locker'),
        blip = {
            id = 615,
            color = 5,
            scale = 0.8,
            name = 'Locker Post'
        }
    },
    {
        id = 'locker_3',
        coords = vector3(73.624076843262, -1563.5637207031, 29.597797393799),
        heading = 140.0,
        model = GetHashKey('bzzz_prop_shop_locker'),
        blip = {
            id = 615,
            color = 5,
            scale = 0.8,
            name = 'Locker Post'
        }
    },
    {
        id = 'locker_4',
        coords = vector3(-1240.5567626953, -1177.9323730469, 7.5281229019165),
        heading = 120.0,
        model = GetHashKey('bzzz_prop_shop_locker'),
        blip = {
            id = 615,
            color = 5,
            scale = 0.8,
            name = 'Locker Post'
        }
    },
    {
        id = 'locker_5',
        coords = vector3(1127.6633300781, -478.69390869141, 66.004035949707),
        heading = 256.0,
        model = GetHashKey('bzzz_prop_shop_locker'),
        blip = {
            id = 615,
            color = 5,
            scale = 0.8,
            name = 'Locker Post'
        }
    },
    {
        id = 'locker_6',
        coords = vector3(-798.48669433594, -140.06036376953, 37.801273345947),
        heading = 120.0,
        model = GetHashKey('bzzz_prop_shop_locker'),
        blip = {
            id = 615,
            color = 5,
            scale = 0.8,
            name = 'Locker Post'
        }
    },
    {
        id = 'locker_7',
        coords = vector3(385.08535766602, -908.08349609375, 29.444719314575),
        heading = 90.0,
        model = GetHashKey('bzzz_prop_shop_locker'),
        blip = {
            id = 615,
            color = 5,
            scale = 0.8,
            name = 'Locker Post'
        }
    },
    {
        id = 'locker_8',
        coords = vector3(-176.0657043457, 6340.6079101562, 31.499492645264),
        heading = 136.0,
        model = GetHashKey('bzzz_prop_shop_locker'),
        blip = {
            id = 615,
            color = 5,
            scale = 0.8,
            name = 'Locker Post'
        }
    },
    {
        id = 'locker_9',
        coords = vector3(1204.65234375, 2714.3310546875, 38.004440307617),
        heading = -2.0,
        model = GetHashKey('bzzz_prop_shop_locker'),
        blip = {
            id = 615,
            color = 5,
            scale = 0.8,
            name = 'Locker Post'
        }
    },
    {
        id = 'locker_10',
        coords = vector3(1684.6668701172, 4886.7036132812, 42.029556274414),
        heading = 100.0,
        model = GetHashKey('bzzz_prop_shop_locker'),
        blip = {
            id = 615,
            color = 5,
            scale = 0.8,
            name = 'Locker Post'
        }
    },
    {
        id = 'locker_11',
        coords = vector3(-846.03564453125, -1121.8375244141, 7.0615525245667),
        heading = 30.0,
        model = GetHashKey('bzzz_prop_shop_locker'),
        blip = {
            id = 615,
            color = 5,
            scale = 0.8,
            name = 'Locker Post'
        }
    },
}

Last updated