mam tu taki kod
[code]wejscie = createMarker (-1954.199,1345.199,7.7, "arrow", 1.0, 57, 197, 110)
wyjscie = createMarker (-1977.9,1359,26.5, "arrow", 1.0, 57, 197, 110)
setElementDimension(wyjscie, 0)
setElementInterior(wyjscie, 10)
addEventHandler("onMarkerHit", wejscie, function(el, md)
if isPedInVehicle(el) then return end
setElementDimension(el, 0)
setElementInterior(el, 10)
setElementPosition(el, -1980.69,1358.30, 26.5)
end)
addEventHandler("onMarkerHit", wyjscie, function(el, md)
if isPedInVehicle(el) then return end
setElementDimension(el, 0)
setElementInterior(el, 0)
setElementPosition(el, -1952.199,1342.599,7.199)
end)
-------------------------------
wejscie = createMarker (-2006.5,1358.7,26.6, "arrow", 1.0, 57, 197, 110)
wyjscie = createMarker (-3309,1280.3,6.7, "arrow", 1.0, 57, 197, 110)
setElementDimension(wyjscie, 0)
setElementInterior(wyjscie, 10)
setElementDimension(wejscie, 0)
setElementInterior(wejscie, 10)
addEventHandler("onMarkerHit", wejscie, function(el, md)
if isPedInVehicle(el) then return end
setElementDimension(el, 0)
setElementInterior(el, 10)
setElementPosition(el, -3307.7,1278.7, 6.1)
end)
addEventHandler("onMarkerHit", wyjscie, function(el, md)
if isPedInVehicle(el) then return end
setElementDimension(el, 0)
setElementInterior(el, 10)
setElementPosition(el, ... |