Prueba esto.
local Marker = createMarker ( 1294.7626953125, -1379.625, 13.486034584045, "corona",1.5,90,253,70,163)
function comprar (thePlayer)
funcion = setElementHealth ( thePlayer, getElementHealth(thePlayer) + 20 )
outputChatBox ("Presiona Z para comprar Armor!", getRootElement(), 8, 224, 13 )
end
addEventHandler ( "onMarkerHit", Marker, comprar )
bindKey("z","down","comprar")
¿Funciona ahora?