Remix110, je?eli kod dzia?a (tj. tepa ci?) to spr?buj zmieni? koordynaty.
Bo z tego co widz? to po wej?ciu w marker tepa ci? w te same miejsce, co jest marker wi?c musisz zmieni? koordynaty tutaj:
! Koniecznie zapoznaj się z regulaminem forum.
Pamiętaj, aby zawsze go przestrzegać, nie mniej ważne są również regulaminy działów, w których się wypowiadasz!
Zamiast zakładać temat po kilka razy, bo jest usuwany przez Administrację, przejrzyj regulamin i napisz poprawnie temat!
Sprawy z administracją możesz załatwiać anonimowo w tym dziale.
Najważniejsze informacje od Administracji możesz przeczytać tutaj oraz tutaj.
[ Dodano: 2017-01-25, 22:35 ]
Zrobi?em to innym skryptem
local wejscie=createMarker(2594.64722,2790.85791,10.82031, "corona", 1.5, 23,214,255,140)
local wyjscie=createMarker(2899.03662,2891.55518,542.57031, "corona", 1.5, 23,214,255,140)
setElementInterior(wyjscie, 0)
addEventHandler("onMarkerHit", wejscie, function(el,md)
if getElementType(el) == "player" then
if isPedInVehicle(el) then return end
setElementInterior(el, 0)
setElementPosition(el, 2899.03662,2891.55518,542.57031)
end
end)
addEventHandler("onMarkerHit", wyjscie, function(el,md)
if getElementType(el) == "player" then
if isPedInVehicle(el) then return end
setElementInterior(el, 0)
setElementPosition(el, 2899.03662,2891.55518,542.57031)
end
end)
Ale w tym to jak wejd? w marker teleportuje mnie do miejsca gdzie chc? ale gdy cc? wr?ci? to mnie tepnie na chwil? ale tak szybko, ?e nic si? nieda zrobi? no i teleportuje mnie zn?w do "miejsca" gdzie chcia?em by? ;-;
[ Dodano: 2017-01-25, 22:37 ]
yy przepraszam nie to zle kordy wpisa?em ;-;
local wejscie=createMarker(2594.64722,2790.85791,10.82031, "corona", 1.5, 23,214,255,140)
local wyjscie=createMarker(2899.03662,2891.55518,542.57031, "corona", 1.5, 23,214,255,140)
setElementInterior(wyjscie, 0)
addEventHandler("onMarkerHit", wejscie, function(el,md)
if getElementType(el) == "player" then
if isPedInVehicle(el) then return end
setElementInterior(el, 0)
setElementPosition(el, 2899.03662,2891.55518,542.57031)
end
end)
addEventHandler("onMarkerHit", wyjscie, function(el,md)
if getElementType(el) == "player" then
if isPedInVehicle(el) then return end
setElementInterior(el, 0)
setElementPosition(el, 2594.64722,2790.85791,10.82031)
end
end)
Ale to to samo ale nie mog? si? tepn?? do miejsca gdzie budowa?em map? ;-;
[ Dodano: 2017-01-26, 11:59 ]
tak wygl?da m?j kod:
local wejscie=createMarker(2594.64722,2790.85791,10.82031, "corona", 1.5, 23,214,255,140)
local wyjscie=createMarker(2899.03662,2891.55518,542.57031, "corona", 1.5, 23,214,255,140)
setElementInterior(wyjscie, 0)
addEventHandler("onMarkerHit", wejscie, function(el,md)
if getElementType(el) == "player" then
if isPedInVehicle(el) then return end
setElementInterior(el, 0)
setElementPosition(el, 2899.03662,2891.55518,542.57031)
end
end)
addEventHandler("onMarkerHit", wyjscie, function(el,md)
if getElementType(el) == "player" then
if isPedInVehicle(el) then return end
setElementInterior(el, 0)
setElementPosition(el, 2594.64722,2790.85791,10.82031)
end
end)
Dzia?a niby tepie si? z miejsca gdzie zbudowa?em co?, ale gdy chc? wr?ci? to tepie mnie i znowu w to samo miejsce gdzie by?em wcze?niej ;-;
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach