You're now binding key to a non-existing function/command "h". I just don't get you, what are you trying to do?
EDIT:
That maybe?
local marker = createMarker(-2596.625, 579.358, 14, 'cylinder', 2.0, 255, 0, 0, 150)
addEventHandler("onClientMarkerHit",root,
function(h)
if h == localPlayer and source == marker then
addEventHandler("onClientRender",root,drawText)
setElementFrozen ( h, true )
end
end
)
function drawText()
dxDrawText("Prees F To Exit!",423.0,601.0,623.0,637.0,tocolor(255,255,255,255),2.0,"clear","left","top",false,false,false)
end
function h()
removeEventHandler("onClientRender", root,drawText)
setElementFrozen ( localPlayer, false )
end
bindKey ( "f", "down", h )