Wysłany: 2015-12-20, 19:52
teusz11
Wiek: 29 Na forum: 4652 dni Posty: 191
Nick w MP: Matevsz
Piwa : 4
Witam, czy da si? w jaki? spos?b zrobi? aby samolot (592) lata? dooko?a miasta z pr?dko?ci? 10km/h? w ?rodku bez gracza, mo?e by? np. ped
Wysłany: 2015-12-20, 21:48
zabijaka2000
Wiek: 26 Na forum: 4983 dni Posty: 147
Nick w MP: aleks556
Piwa : 13
Mo?esz stworzy? obiekt takiego samolotu, a potem za pomoc? funkcji moveObject() porusza? nim.
Podpis
San Fierro Stories Roleplay
Wysłany: 2015-12-20, 22:28
teusz11
Wiek: 29 Na forum: 4652 dni Posty: 191
Nick w MP: Matevsz
Piwa : 4
Wiem ?e przez MoveObject, tylko chodzi mi o to jak zrobi? jakie? punkty czy co? aby lata? on dooko?a miasta, i nie l?dowa?, po przez ustawianie jaki? marker?w? Tylko ?e marker?w nie ma by? wida?
Wysłany: 2015-12-20, 23:22
zabijaka2000
Wiek: 26 Na forum: 4983 dni Posty: 147
Nick w MP: aleks556
Piwa : 13
Mo?esz zrobi? poprzez markery tak jak piszesz lub poprzez timer, kt?ry by odmierza? czas do zako?czenia ruchu obiektem(my?l?, ?e wiesz o co chodzi) i np. z tablicy wczytywa? nast?pn? koordynacje i tak w k??ko.
Podpis
San Fierro Stories Roleplay
Wysłany: 2015-12-21, 15:13
teusz11
Wiek: 29 Na forum: 4652 dni Posty: 191
Nick w MP: Matevsz
Piwa : 4
Zrobi?em wersj? z markerami, tylko za bardzo nie ogarniam p?tli wi?c powt?rzy?em czynno?ci moveObject lecz samolot nie pojawia si? i nie leci za pomoc
local samolot = createVehicle ( 592 , 1921.3000488281 , - 1735.1999511719 , 158 * 272 )
markeryLS {
a = createMarker ( 2185.8000488281 , - 1723.1999511719 , 170 , "ring" , 1.5 , 0 , 0 , 0 , 0 )
b = createMarker ( 2620 , - 1764.8000488281 , 170 , "ring" , 1.5 , 0 , 0 , 0 , 0 )
c = createMarker ( 2649.6999511719 , - 1188.1999511719 , 170 , "ring" , 1.5 , 0 , 0 , 0 , 0 )
d = createMarker ( 1378.1999511719 , - 911.59997558594 , 170 , "ring" , 1.5 , 0 , 0 , 0 , 0 )
e = createMarker ( 740 , - 1061.1999511719 , 170 , "ring" , 1.5 , 0 , 0 , 0 , 0 )
f = createMarker ( 443.89999389648 , - 1608.4000244141 , 170 , "ring" , 1.5 , 0 , 0 , 0 , 0 )
g = createMarker ( 1893 , - 1736.5 , 170 , "ring" , 1.5 , 0 , 0 , 0 , 0 )
}
addEventHandler ( "onMarkerHit" , markeryLS ,
function( vehicle )
if getElementType ( vehicle )== "vehicle" then
if source == markeryLS then
moveObject ( samolot , 600000 , 2185.8000488281 , - 1723.1999511719 , 170 )
attachElements ( samolot , a )
end
end
end
)
addEventHandler ( "onMarkerHit" , markeryLS ,
function( vehicle )
if getElementType ( vehicle )== "vehicle" then
if source == markeryLS then
moveObject ( samolot , 600000 , 2620 , - 1764.8000488281 , 170 )
attachElements ( samolot , b )
end
end
end
)
addEventHandler ( "onMarkerHit" , markeryLS ,
function( vehicle )
if getElementType ( vehicle )== "vehicle" then
if source == markeryLS then
moveObject ( samolot , 600000 , 2649.6999511719 , - 1188.1999511719 , 170 )
attachElements ( samolot , c )
end
end
end
)
addEventHandler ( "onMarkerHit" , markeryLS ,
function( vehicle )
if getElementType ( vehicle )== "vehicle" then
if source == markeryLS then
moveObject ( samolot , 600000 , 1378.1999511719 , - 911.59997558594 , 170 )
attachElements ( samolot , d )
end
end
end
)
addEventHandler ( "onMarkerHit" , markeryLS ,
function( vehicle )
if getElementType ( vehicle )== "vehicle" then
if source == markeryLS then
moveObject ( samolot , 600000 , 740 , - 1061.1999511719 , 170 )
attachElements ( samolot , e )
end
end
end
)
addEventHandler ( "onMarkerHit" , markeryLS ,
function( vehicle )
if getElementType ( vehicle )== "vehicle" then
if source == markeryLS then
moveObject ( samolot , 600000 , 443.89999389648 , - 1608.4000244141 , 170 )
attachElements ( samolot , f )
end
end
end
)
addEventHandler ( "onMarkerHit" , markeryLS ,
function( vehicle )
if getElementType ( vehicle )== "vehicle" then
if source == markeryLS then
moveObject ( samolot , 600000 , 1893 , - 1736.5 , 170 )
attachElements ( samolot , g )
end
end
end
)
Wysłany: 2015-12-21, 18:29
AteX
Wiek: 26 Na forum: 4015 dni Posty: 927
Nick w MP: #AteX
Piwa : 8360
local samolot = createVehicle ( 592 , 1921.3000488281 , - 1735.1999511719 , 158 * 272 )
mo?liwe ?e to przez to Tak poza tym to chyba nie da si? u?y? funkcji moveObject na pojazd. Musisz stworzy? obiekt i do niego podczepi? samolot, a nast?pnie porusza? obiekt.
Wysłany: 2015-12-21, 19:20
teusz11
Wiek: 29 Na forum: 4652 dni Posty: 191
Nick w MP: Matevsz
Piwa : 4
Usun??em *272 a za obiekt poda?em model (1683) Jest to jaki? du?y samolot, lecz po dojechaniu na miejsce obiektu nie ma
Tagi: latający :: samolot
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: