[HELP] Add Police job to RadialMenu

Im trying to add to the RadialMenu resource, if the player is a cop and on foot then pressing ‘G’ will open a menu specific to cops. I cant get this to work for the life of me

 ['police'] = {
        enableMenu = function()
        local player = PlayerPedId()
            if ESX.PlayerData.job.name == 'police' and IsPedOnFoot(player) then return true end
        end,
        data = {                                    -- Data that is passed to Javascript
            keybind = "g",                       -- Wheel keybind to use (case sensitive, must match entry in keybindControls table)
            style = {                               -- Wheel style settings
                sizePx = 600,                       -- Wheel size in pixels
                slices = {                          -- Slice style settings
                    default = { ['fill'] = '#000000', ['stroke'] = '#000000', ['stroke-width'] = 2, ['opacity'] = 0.60 },
                    hover = { ['fill'] = '#ff8000', ['stroke'] = '#000000', ['stroke-width'] = 2, ['opacity'] = 0.80 },
                    selected = { ['fill'] = '#ff8000', ['stroke'] = '#000000', ['stroke-width'] = 2, ['opacity'] = 0.80 }
                },
                titles = {                          -- Text style settings
                    default = { ['fill'] = '#ffffff', ['stroke'] = 'none', ['font'] = 'Helvetica', ['font-size'] = 16, ['font-weight'] = 'bold' },
                    hover = { ['fill'] = '#ffffff', ['stroke'] = 'none', ['font'] = 'Helvetica', ['font-size'] = 16, ['font-weight'] = 'bold' },
                    selected = { ['fill'] = '#ffffff', ['stroke'] = 'none', ['font'] = 'Helvetica', ['font-size'] = 16, ['font-weight'] = 'bold' }
                },
                icons = {
                    width = 64,
                    height = 64
                }
            },
            wheels = {                              -- Array of wheels to display
                {
                    navAngle = 270,                 -- Oritentation of wheel
                    minRadiusPercent = 0.3,         -- Minimum radius of wheel in percentage
                    maxRadiusPercent = 0.6,         -- Maximum radius of wheel in percentage
                    labels = {"CANCEL", "SIT CHAIR", "CHEER", "imgsrc:key.png", "FOLDARMS", "LEAN"},
                    commands = {"e c", "e sitchair", "e cheer", "lock", "e foldarms", "e lean"}
                },
                {
                    navAngle = 285,                 -- Oritentation of wheel
                    minRadiusPercent = 0.6,         -- Minimum radius of wheel in percentage
                    maxRadiusPercent = 0.9,         -- Maximum radius of wheel in percentage
                    labels = {"", "", "", "", "", "", "", "", "", "", "", ""},
                    commands = {"e salute", "e finger", "e peace", "e think", "e clipboard", "e notepad", "e wave", "e surrender", "e leanbar", "e kneel", "e meditate", "e cop"}
                }
            }
        }
    },

Hi, if you could not fix it, check this new police job: Police Job [ESX/QBcore]