Wysłany: 2015-08-02, 16:25
Vxen
Wiek: 27 Na forum: 4087 dni Posty: 293
Piwa : 1299
Siemanko mam kod:
local m = createMarker ( 1481.0345 , - 1770.2731 , 18.7958 , "arrow" , 1.2 , 255 , 255 , 10 , 100 )-- markker wejdz
local b = createBlipAttachedTo ( m , 56 )-- ikonka na mapie ...
local m2 = createMarker ( 207.65 , - 111.27 , 1005.80 , "arrow" , 1.2 , 255 , 255 , 10 , 100 )-- marker wyjdz
setElementInterior ( m2 , 15 )
addEventHandler ( "onMarkerHit" , m , function( el , md )-- teleport do inkta
setElementInterior ( el , 15 )
setElementPosition ( el , 207.737991 ,- 109.019996 , 1005.132812 )
end )
addEventHandler ( "onMarkerHit" , m2 , function( el , md )-- teleport z intka
setElementInterior ( el , 0 )
setElementPosition ( el , 1481.0345 , - 1770.2731 , 18.7958 )
end )
No i zamiast wy?wietla? mi ikonke
56: Runway_light
To wy?wietla mi ikonke
54: Si?ownia
A jak zrobi? ?e jak odjad? to jej nie wida??
Wysłany: 2015-08-02, 16:57
THEGizmo
Modeler/Uczeń Lua
Wiek: 27 Na forum: 4141 dni Posty: 255
Nick w MP: THEGizmo
Piwa : 3072
Spr?buj teraz
local m = createMarker ( 1480.97473 , - 1771.73608 , 18.79576 , "arrow" , 1.2 , 255 , 255 , 10 , 100 )-- markker wejdz
setElementInterior ( m , 0 )
setElementDimension ( m , 0 )
local b = createBlipAttachedTo ( m , 56 )-- ikonka na mapie
local m2 = createMarker ( 207.65 , - 111.27 , 1005.80 , "arrow" , 1.2 , 255 , 255 , 10 , 100 )-- marker wyjdz
setElementInterior ( m2 , 15 )
setElementDimension ( m2 , 0 )
addEventHandler ( "onMarkerHit" , m , function( el , md )-- teleport do inkta
setElementInterior ( el , 15 )
setElementDimension ( el , 0 )
setElementPosition ( el , 207.737991 , - 109.019996 , 1005.132812 )
end )
addEventHandler ( "onMarkerHit" , m2 , function( el , md )-- teleport z intka
setElementInterior ( el , 0 )
setElementDimension ( el , 0 )
setElementPosition ( el , 1480.98718 , - 1768.20154 , 18.79576 )
end )
EDIT: a je?li chcesz z?by blip znika? od kilku metr?w to ?ap to
local b2 = createBlip ( 1480.97473 , - 1771.73608 , 18.79576 , 56 , 2 , 255 , 0 , 0 , 255 , 0 , 150 )
Podpis
Modeler Corporation Sp. Z.O.O
Wysłany: 2015-08-02, 17:29
Vxen
Wiek: 27 Na forum: 4087 dni Posty: 293
Piwa : 1299
Wysłany: 2015-08-02, 18:16
THEGizmo
Modeler/Uczeń Lua
Wiek: 27 Na forum: 4141 dni Posty: 255
Nick w MP: THEGizmo
Piwa : 3072
Vxen , u mnie wszystko pi?knie ?miga "dziwne"
Edit: da?e? po stronie servera ?
Podpis
Modeler Corporation Sp. Z.O.O
Wysłany: 2015-08-02, 19:15
Vxen
Wiek: 27 Na forum: 4087 dni Posty: 293
Piwa : 1299
No tak po stronie serwera wszystko jest...
Tagi: createblipattachedto
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: