Configuration

Framework

We require you to decide the Framework you are using. We support Standalone, ESX, ESX Legacy & QB Core. Please ensure the text is correct and inline with the commented options.

Config.Framework = 'Standalone' -- Standalone / ESX / ESX Legacy / QB 

Command Name

If you are using Standalone or just don't want to use an inventory item, you can chance the command to spawn the tape roll in your hand.

Config.CommandName = 'tape' -- If Config.Framework is Standalone & not using inventory framework.

Inventory Item

If you are not using Standalone and are using an inventory item then this is where you place the value of your the inventory item name.

Config.InventoryItem = "tape" -- If using ESX / ESX Legacy / QBCore Inventory, this is the inventory item name.

Tape Menu Command

To open the tape menu, the default command is tapemenu, but you can change this here.

Config.TapeMenuCommand = 'tapemenu' -- Command to open the Tape Menu

Wind Speed

Wind speed will effect the speed and way that the tape sways. When the tape is longer, it will move more.

Config.WindSpeed = 15.0 -- Increase this for the tape to move quicker. Decrease for tape to move slower.

Equipment

We have added an option for the player to spawn equipment that you generate in the menu. You can also disable this submenu here.

Config.DisplayEquipmentSpawnerInMenu = true
Config.Equipment = {
    {
        name = "prop_roadcone01a",
        height = 0.7 -- Height of tape when attatching to the object
    },
    {
        name = "prop_barrier_work05",
        height = 0.7 -- Height of tape when attatching to the object
    }
}

Translations

Translations have been added for all the text on the menus & hud notifications. You can easily edit these in the Configuration.

The example below demonstrates the key as a description for what it is and the value as the text to change to your translated value.

['Tape Menu Title']                 = 'Tape Menu',

Last updated