Marler for Rppause system

hi
I used this code for draw marker when I use rppause command.
how can I remove this marker with crpause command??

this is my marker code I past it in AdminArea / client recourse

how can I remove marker with command?

CreateThread(function()

    while true do

        -- draw every frame

        Wait(0)



        local coords = GetEntityCoords(GetPlayerPed(GetPlayerFromServerId(src)))

        marker = DrawMarker(1, coords.x, coords.y, coords.z + 2, 0.0, 0.0, 0.0, 0.0, 360.0, 0.0, 30.0, 30.0, 5000.0, 255, 0, 0, 50, true, false, 2, nil, nil, true)

    end

end)

end)