When markers are inside cause problems, the server side event doesn't always fire.
I suggest you work on it in the client, you won't have this problem there.
gate = createObject(980, 364.82147, 186.89452, 1019.98438)
setElementInterior(gate, 3)
bombMarker = createMarker(364.70267, 186.29311, 1019.98438 -0.5, "cylinder", 1, 255, 0, 0)
setElementInterior(bombMarker, 3)
addEventHandler("onClientMarkerHit", bombMarker, function(player)
outputChatBox("ugh!")
end)