I made a small resource to use nightvision. The script checks for nightvision item in your inventory and you can choose to check for having the helmet on (as clothing) before you can use the nightvision. Code for the item is in the readme and the inventory image is included.
Other Resources
[PAID] [QBCore] Banktruck robbery
[QBCore] Money Laundering by Thommie
[FREE] [QBCore] Copper Cutting
[Free] [Standalone] Thommie Notify