Og?asza? w San Fierro mo?na teraz w nowym interiorze Radia K69. Gdzie jest siedziba Radia? Co nowego w interiorze i w Radiu K69? Dowiesz si? w tym odcinku!
elo mam problem gdy? zrobi?em sobie pomieszczenie na INT 4 , wchodzi si? normalnie ale , ja chcia?em te? aby wje?d?a?o si? tam autem , wi?c zrobi?em 2 markery 1 arrow czyli wchodzenie tylko player bez pojazdu , i 2 marker tylko z pojazdem i senk w tym ,?e to 2 nie dzia?a , pojazd , postac znika , i cale otoczenie .
pomo?ecie ?
[lua]
marker1 = createMarker (733.39838, -1339.48169, 13.529-1, "cylinder", 2, 255,255,100, 100)
marker2 = createMarker (505.65826, -112.02780, 1005.8181-1, "cylinder", 2, 255,255,100, 100)
setElementInterior(marker2,4)
function warpto1( hitElement, matchingDimension )
if getElementType(hitElement) == "player" then
if isPedInVehicle ( hitElement ) then
setElementPosition ( hitElement, 485.18036, -117.06596, 1005.81818)
setElementInterior ( hitElement, 4 ,485.18036, -117.06596, 1005.81818 )
end
end
end
addEventHandler( "onMarkerHit", marker1, warpto1)
function warpto2(source)
if getElementType( source ) == "player" then
fadeCamera(source, false, 0.5)
setTimer ( function(plr)
fadeCamera(plr, true, 6.0)
end, 100, 1 ,source)
setElementPosition (source,738.70020, -1336.81812, 13.53531)
setElementInterior ( source,0 , 738.70020, -1336.81812, 13.53531 )
end
end
addEventHandler( "onMarkerHit", marker2, warpto2)
[/lua]
Od razu zaznaczam ,?e wychodzi si? normalnie
[size=9][ [i][b]Dodano[/b]: 2017-04-21, 12:28[/i] ][/size]
ta funckja...