How To Setup

bbv-sings

1. Import SQL.

CREATE TABLE IF NOT EXISTS `bbv_signs` (
  `owner` varchar(255) DEFAULT NULL,
  `type` varchar(255) DEFAULT NULL,
  `coords` varchar(255) NOT NULL,
  `text` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`coords`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

2. Download & Install the custom prop.

Download the prop and drop it in your resources folder

3. Add to auto start.

After dropping the prop and the script in your resources folder add them to your server.cfg.

Make sure bbv-signprop is started before bbv-sings!

4. Setup Config.

Config = {}

-- QBCore = exports['qb-core']:GetCoreObject()  -- uncomment if you use QBCore
-- ESX = exports["es_extended"]:getSharedObject() -- uncomment if you use ESX

Config.Settings = {
    Framework = "ST", -- QB/ESX/ST (ST - Standalone).
    Target = "ST", -- OX/QB/BT/ST (ST - Standalone).
    Remove = "Owner", -- ( Remove = "All" - Everyone can pickup object ), (Remove = "Owner" - Only the owner and police can pickup.)
    PoliceJob = {"police","sheriff"},
    ItemName = "bbv_sign" -- if Framework is set to "ST" it will create a command with whats there.
}

Config.Zones = {
    RestrictedZones = false, -- if set to false players can place everywhere.
    Size = 15, -- Size of the zone
    Locations = { -- List of zones
        vector3(1340.48, 4387.7, 44.34),
    }
}

Set your Framework & Target, if you don't use any of the targets or frameworks set it to "ST"

If you use QBcore or ESX, make sure to uncomment your framework export.

6. Create Items.

qb_inventory

['bbv_sign'] = {['name'] = 'bbv_sign',['label'] = 'Wooden Sign',['weight'] = 500,['type'] = 'item',['image'] = 'bbv_sign.png',['unique'] = true,['useable'] = true,['shouldClose'] = true,['combinable'] = nil,['description'] = 'A Wooden Sign'},

ox_inventory

["bbv_sign"] = {label = "Wooden Sign", weight = 500,stack = false, close = true,description = "A Wooden Sign", client = {image = "bbv_sign.png",}},

All files are also provided in the script.

7. Restart your server.

after creating your items and setting up the script restart your server, make sure that the prop is started before the script

8. Support.

if you encounter any issues open a ticket in our discord : http://discord.bbv.world

Last updated