Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: wchodzą
1. Jak dodać więcej markerów które wchodzą do interioru?
Ot?? mam kod

wejscie1 = createMarker (  1727.00061, -1636.77026, 20.21726 , "arrow", 1.2, 255, 255, 0, 255 )
wyjscie1 = createMarker (2412.38965, -1685.49182, 54.14884 , "arrow", 1.2, 255, 255, 0, 255 ) 

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

function 
warptopoli( hitElement, matchingDimension ) 





if 
getElementType(hitElement) == "player" then 
if not isPedInVehicle ( hitElement ) then 
setElementPosition 
( hitElement, 2412.19116, -1689.25647, 54.14884) 
setElementInterior ( hitElement, 1 )
end 
end 
end 
addEventHandler
( "onMarkerHit", wejscie1, warptopoli) 

function 
warptokgp(source) 
setElementInterior ( source, 0 )
setElementPosition ( source,1727.21838, -1634.17554, 20.21600)
end 
addEventHandler
( "onMarkerHit", wyjscie1, warptokgp)


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