addEventHandler("onMarkerHit", haracz, function(hitElement, md)
setTimer(function ()
if not md then return end
if getElementType(hitElement) == "player" then
local podatek = cena * 0.01
local cena = math.random(1000,300000) - podatek
givePlayerMoney (hitElement, podatek )
outputChatBox(" Zebrano Haracz!",hitElement, 255, 255, 255, true )
end,70000,0)