Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2017-08-04, 09:59


Flash.

---






Wiek: 26
Na forum: 3255 dni
Posty: 93
Nick w MP: ------

Piwa: 2

Respekt: 50

Ot?? mam kod

wejscie1 createMarker (  1727.00061, -1636.7702620.21726 "arrow"1.22552550255 )
wyjscie1 createMarker (2412.38965, -1685.4918254.14884 "arrow"1.22552550255 ) 

function onstart() 
setElementInterior wyjscie1)
end 
addEventHandler "onResourceStart"getRootElement(), onstart ) 

function warptopolihitElementmatchingDimension ) 





if getElementType(hitElement) == "player" then 
if not isPedInVehicle hitElement then 
setElementPosition hitElement2412.19116, -1689.2564754.14884setElementInterior hitElement)
end 
end 
end 
addEventHandler"onMarkerHit"wejscie1warptopoli) 

function warptokgp(sourcesetElementInterior source)
setElementPosition source,1727.21838, -1634.1755420.21600)
end 
addEventHandler"onMarkerHit"wyjscie1warptokgp)


I doda?em sobie jeden interior ale chc? drugi, jak to zrobi??

Postaw piwo autorowi tego posta
 

 
Wysłany: 2017-08-04, 10:10


Kalizman







Wiek: 23
Na forum: 3651 dni
Posty: 1394

Piwa: 4619

Respekt: 358,8
Respekt: 358,8Respekt: 358,8Respekt: 358,8Respekt: 358,8

Skopiuj wszystko, zmie? locale i nazwe funkcji i kordy i juz, wystarcy pomyslec

Postaw piwo autorowi tego posta
 

 
Tagi: jak :: dodać :: więcej :: markerów :: które :: wchodzą :: interioru?
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA Odpowiedz do tematu

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
Dodaj temat do Ulubionych
Wersja do druku