πŸŒ™ug-NightVision

How to edit configuration file to ug-NightVision.

Config File

Config.Key = 172

The key you need to press to turn on the NightVision. https://docs.fivem.net/docs/game-references/controls/arrow-up-right

Config.onkey = true

If you want to have a NightVision turned by a key set it to true .

Config.Helmets = {
    Male = {
        ON = {
            Helmet = 116,
            Helmet2 = 118,
            Helmet3 = 147,
        },
        OFF = {
            Helmet = 117,
            Helmet2 = 119,
            Helmet3 = 148,
        }
    },
    Female = {
        ON = {
            Helmet = 115,
            Helmet2 = 117,
            Helmet3 = 146,
        },
        OFF = {
            Helmet = 116,
            Helmet2 = 118,
            Helmet3 = 147,
        }
    }
}

The table with default hats with NightVision possible to turn on.

Under the txt an example how to add a new hat.

Same for the Female in their part of table.

Use it to trigger event that checks the hat you have on your had and turns on the NightVision.

Use it to trigger event that turns off the NightVision.

Last updated

Was this helpful?