Files
2021-12-03 01:05:09 +00:00

17 lines
371 B
Lua

Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
if IsControlJustPressed(1, 168) then
if true then
SetNuiFocus(true, true)
SendNUIMessage({type = 'openGuideHud'})
end
end
end
end)
RegisterNUICallback('closeGuideHud', function(data, cb)
SetNuiFocus(false, false)
end)