first commit

This commit is contained in:
Colin-Joel Scupin
2026-08-05 01:29:39 +02:00
commit 86d4bcdc37
85 changed files with 7706 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
local radarEnabled = false
local playerLoaded = false
AddEventHandler('devx_core:client:playerLoaded', function()
playerLoaded = true
radarEnabled = true
end)
RegisterNetEvent('devx_hud:client:setVisible', function(state)
radarEnabled = state == true
end)
RegisterCommand('hud', function()
radarEnabled = not radarEnabled
end, false)
CreateThread(function()
while true do
Wait(0)
DisplayRadar(playerLoaded and radarEnabled)
end
end)