Setting up weapons

To ensure Weapon Lanyard works with all your chosen weapons you'll need to configure it. Don't worry though, it's simple!

To begin, open the config.lua file and navigate to the supportedWeapons = { section.

supportedWeapons = {
    `WEAPON_PISTOL`,
    `WEAPON_COMBATPISTOL`,
    `WEAPON_STUNGUN`,
}

Adding weapons is as simple as putting them onto a new line. You should ensure all weapon names are wrapped in the following symbol: ` All lines should also be separated with a comma: ,

For a list of base game weapons and their ID/name, view an information page found here. Weapon Lanyard will work with any type of weapon however it is most commonly used with pistols by law enforcement.

It will also work with custom/addon weapons, simply ensure you have added it to the config to begin!

Last updated