Decal V: Graffiti & Vehicle Sticker

Instructions on how to download and install the basics of **Decal V**.

Download

After you bought Decal V, you will see thi on your Keymaster page. Download this.

Configure

  • Open shared/cfg.lua and change framework with your server framework. You can use Decal V without framework. (standalone) You can also change the settings for the default decal options and delay times.

cfg = {
    ['framework'] = 'esx', -- qb / esx / standalone
    ['items'] = { -- If you set framework to qb or esx, you need add this items to database or shared/items.lua
        ['spray_item'] = 'paint_spray',
        ['clear_graffiti_item'] = 'white_spray',
        ['clear_sticker_item'] = 'scraper',
    },
    ['standaloneCommands'] = { -- If you set framework to standalone, this commands will be active
        ['spray_command'] = 'decal',
        ['clear_graffiti_command'] = 'removegraffiti',
        ['clear_sticker_command'] = 'removesticker',
    },
    ['minSize'] = 0.25, -- Minimum decal size
    ['maxSize'] = 5.0, -- Maximum decal size
    ['paint_delay'] = 5, -- Delay for graffiti spray to wall
    ['remove_graffiti_delay'] = 5, -- Delay for remove graffiti spray from wall
  • If you're using ESX or QBCore framework, open fxmanifest.lua and which mysql script you are using, remove it from the comment line.

server_scripts {
    -- '@mysql-async/lib/MySQL.lua',
    -- '@oxmysql/lib/MySQL.lua',
    'server/*.lua',
}
  • If you're using ESX or QBCore framework, you can set item names. Default item names paint_spray, white_spray, scraper and you need add this item to database or shared/items.

INSERT INTO `items` (`name`, `label`, `weight`, `rare`, `can_remove`) VALUES
('paint_spray', 'Paint Spray', 1, 0, 1),
('white_spray', 'White Spray', 1, 0, 1),
('scraper', 'Scraper', 1, 0, 1);
['paint_spray'] = {['name'] = 'paint_spray', ['label'] = 'Paint Spray', ['weight'] = 0, ['type'] = 'item', ['image'] = 'paint_spray.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '0x0x0x0x0x0x0x0x0x'},
['white_spray'] = {['name'] = 'white_spray', ['label'] = 'White Spray', ['weight'] = 0, ['type'] = 'item', ['image'] = 'white_spray.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '0x0x0x0x0x0x0x0x0x'},
['scraper'] = {['name'] = 'scraper', ['label'] = 'Scraper', ['weight'] = 0, ['type'] = 'item', ['image'] = 'paint_spray.png', ['unique'] = false, ['useable'] = true, ['shouldClose'] = true, ['combinable'] = nil, ['description'] = '0x0x0x0x0x0x0x0x0x'},
  • For discord logs, you can edit webhook link in server.lua bottom.

discord = {
    ['webhook'] = 'https://discord.com/api/webhooks/879717545597337610/fN1sTgBA8FRHu4JdEjZ6wIHdYRkqkOWgbPgw3LmvsMBgt1TZOoxo1ixBeuA0y9YMIqEX',
    ['name'] = 'rm_decalv',
    ['image'] = 'https://cdn.discordapp.com/avatars/869260464775921675/dff6a13a5361bc520ef126991405caae.png?size=1024'
}

Install

  • After basic configures, add these line to your server.cfg upper.

ensure rm_decalv
  • Ignore these errors, you will not experience excessive fps drops as the textures do not have any high poly models.

Last updated