while GetResourceState('qs-smartphone-pro') ~= 'started' do Wait(500) end local ui = 'https://cfx-nui-' .. GetCurrentResourceName() .. '/html/' local function addApp() local added = exports['qs-smartphone-pro']:addCustomApp({ app = 'radio', image = ui .. 'icon.png', ui = ui .. 'index.html', -- ui = ui .. 'index.html', label = 'Radio', job = false, blockedJobs = {}, timeout = 5500, creator = 'Quasar Store', category = 'social', isGame = false, description = 'Contact other people through frequencies', age = '16+', extraDescription = { { header = 'Radio', head = 'Frequencies at your fingertips', image = 'https://i.ibb.co/K5VyGxm/radio.webp', footer = 'Contact other people through frequencies' } } }) if not added then return print('Failed to add app') end print('App added') end CreateThread(addApp) AddEventHandler('onResourceStart', function(resource) if resource == 'qs-smartphone-pro' then addApp() end end)