1
0
Fork 0
forked from Simnation/Main
This commit is contained in:
Nordi98 2025-06-29 23:58:18 +02:00
parent c7c701b4ff
commit e06091e577
7 changed files with 752 additions and 0 deletions

View file

@ -0,0 +1,8 @@
local QBCore = exports[Config.CoreName]:GetCoreObject()
QBCore.Functions.CreateUseableItem(Config.NVItem, function(source, item)
local Player = QBCore.Functions.GetPlayer(source)
if Player.Functions.GetItemByName(item.name) then
TriggerClientEvent('nightvision:toggleHelmet', source)
end
end)