function MarkerHit( hitElement, matchingDimension )
myMarker = createMarker(x,y,z, 'cylinder', size, r, g, b, alpha)
if getElementType(hitElement) == 'Vehicle' then
thePlayer = getVehicleController (hitElement)
givePlayerMoney(thePlayer,amount)
end
end
addEventHandler( "onMarkerHit", myMarker, MarkerHit )
addEventHandler( "onMarkerLeave", myMarker,
function ()
destroyElement(myMarker )
end
)
setTimer(MarkerHit,600000,0)