function checkMarkerMode(hitElement, matchingDimension)
local markermode = getElementData(source, "mode")
if markermode == "gas station" then
local element = getElementType(hitElement)
if(element == "vehicle") then
local player = getVehicleOccupant(hitElement)
outputChatBox("Это заправка, епт!!!", player)
end
end
end
addEventHandler("onMarkerHit", getRootElement(), checkMarkerMode)