function main()
if not isSampfuncsLoaded() or not isSampLoaded() then return end
while not isSampAvailable() do wait(100) end
sampRegisterChatCommand("imgui",cmd_imgui)
while true do
wait(0)
if stats_state.v then
imgui.Process = true
end
local r, g, b, a = rainbow(3, 255)
changeRadarColor(join_argb(r, g, b, a))
end
end