x = -710.83295 y = 960.81915 z = 11.35052 model_bramy = 1337 marker = createMarker(x, y, z, "cylinder", 1.3, 255, 0, 0, 255) brama = createObject( model_bramy, x - 5, y + 5, z, 90, 0, 0 ) function dupcia (player) if player == getLocalPlayer() then moveObject(brama,5000,x -5, y + 30, z) outputChatBox("Ruszam bramÄ…! beksa", thePlayer) end addEventHandler( "onServerMarkerHit", marker, dupcia )