[standalone] nvg script | esx and eup compatibility

Fivem NVG ( NIGHT VISION SCRIPT )

Français

Ce script est fait pour les serveurs fivem afin de rendre la vsion nocturne facile d’accès via une touche configurable ( N par défaut ):

  • Côté serveur ( Dans le config.lua )
  • Pour chaque personne ( Dans Paramètres du jeu > Configuration des touches)

Ce script à entierement été créé par moi si vous avez des question vous pouvez les posez directement ici

S’il vous plaît soyez indulgent c’est mon premier script

Aperçu: Soon

Téléchargement: GitHub


Hello today I’m indtroducing you my first script, this is a script to have night vision directly with one key editable ( N by default ):

  • Serverside for default value ( in config.lua )
  • And ClientSide ( in Game Settings > keys configuration )

This script was fully made by me and thinked by me so if you have any questions you can ask them here in this post or on GitHub

This script is fully editable and compatible with EUP and ESX ( if you don’t want to useany of them use the non esx version and in the config.lua change the

useeup = true

by

useeup = false

and this will solve the problem,
you can also change the component for the helmet with the nvgs in the config.lua it’s

on = 117
off = 116

You can of course reuse this script for your own server but please don’t edit it or publishing it everywhere else w/out mentionning me. Have fun :slight_smile:

Don’t worry the preview is incoming

Download: GitHub


DEPENDECIES

  1. EUP (Optionnal)
  2. ESX (Optionnal)
  3. Fun :slight_smile:
4 Likes

Sorry i messed up, I inverted the nesx and esx version

hey there, nice ideea but on the nonesx one i get this


?

Oh this is strange because I’ve put the closing bracket you don’t have touched the script ?

no, but to be sure i got the client with copy paste and got it into a lua compiler u know and ya, error there too

How tf this is strange the closing bracket is here I may have forgotten one before let me check

Okay I found my mistake remove line 66 there’s an extra end that shouldn’t be here

Thanks a lot for your feedback I removed the error in the GitHub repo too