Wysłany: 2019-03-05, 20:39
ADISEQ
Uczeń Lua
Wiek: 21 Na forum: 2811 dni Posty: 130
Nick w MP: ADISEQ
Piwa : 18
Siemano mam ma?y problem.
Nie pojawiaj? si? markery do teleportu. Oto kod:
InteriorEnter = createMarker ( 1172.3 , - 1325.4 , 14.39 , "arrow" , 1 , 0 , 153 , 255 , 90 )
InteriorExit = createMarker ( 1169.09 , - 1325.4 , 14.5 , "arrow" , 1 , 0 , 153 , 255 , 90 )
setElementDimension ( InteriorExit , 1 )
addEventHandler ( "onMarkerHit" , InteriorEnter , function( plr )
if isPedInVehicle ( plr ) then return end
setElementDimension ( plr , 1 )
setElementPosition ( plr , 1167.14 , - 1325.05 , 15.47 )
exports . notifications : showBox ( plr , "info" , "Wszed?e? do szapitalu." )
outputChatBox ( "Wszed?e? do szapitalu." , plr , 255 , 255 , 255 , true )
end )
addEventHandler ( "onMarkerHit" , InteriorExit , function( plr )
if isPedInVehicle ( plr ) then return end
setElementInterior ( plr , 0 )
setElementDimension ( plr , 0 )
setElementPosition ( plr , 1174.44 , - 1325.59 , 14.78 )
exports . notifications : showBox ( plr , "info" , "Wyszed?e? ze szpitalu." )
outputChatBox ( "Wyszed?e? ze szapitalu." , plr , 255 , 255 , 255 , true )
end )
Wysłany: 2019-03-05, 21:29
Kuks*
Wiek: 15 Na forum: 3030 dni Posty: 246
Nick w MP: Kuks*
Piwa : 2208
ADISEQ , Daj wy?ej te markery, bo mo?liwe, ?e s? za nisko.
Więcej szczegółów
Wystawiono 1 piw(a):ADISEQ
Wysłany: 2019-03-05, 21:31
ADISEQ
Uczeń Lua
Wiek: 21 Na forum: 2811 dni Posty: 130
Nick w MP: ADISEQ
Piwa : 18
Kuks* , Spoko. Sprawdz?.
[ Dodano : 2019-03-05, 21:34 ]
Dzia?a. Sry za niepotrzebny temat
Wysłany: 2019-03-05, 23:08
THEGizmo
Modeler/Uczeń Lua
Wiek: 27 Na forum: 4141 dni Posty: 255
Nick w MP: THEGizmo
Piwa : 3072
Sprawd? czy dzia?a licz? na
local wejscie = createMarker ( 1172.3 , - 1325.4 , 15.40 + 0.6 , "arrow" , 1.2 , 255 , 255 , 0 )
setElementDimension ( wejscie , 0 )
setElementInterior ( wejscie , 0 )
local wyjscie = createMarker ( 1169.09 , - 1325.4 , 14.5 + 0.6 , "arrow" , 1.2 , 255 , 255 , 0 )
setElementDimension ( wyjscie , 1 )
setElementInterior ( wyjscie , 0 )
addEventHandler ( "onMarkerHit" , wejscie , function( el , md )
if getElementType ( el ) == "player" then
if isPedInVehicle ( el ) then return end
setElementDimension ( el , 1 )
setElementInterior ( el , 0 )
setElementPosition ( el , 1167.14 , - 1325.05 , 15.47 )
exports . notifications : showBox ( el , "info" , "Wszed?e? do szapitalu." )
outputChatBox ( "Wszed?e? do szapitalu." , el , 255 , 255 , 255 , true )
end
end )
addEventHandler ( "onMarkerHit" , wyjscie , function( el , md )
if getElementType ( el ) == "player" then
if isPedInVehicle ( el ) then return end
setElementDimension ( el , 0 )
setElementInterior ( el , 0 )
setElementPosition ( el , 1174.44 , - 1325.59 , 14.78 )
exports . notifications : showBox ( el , "info" , "Wyszed?e? ze szpitalu." )
outputChatBox ( "Wyszed?e? ze szapitalu." , el , 255 , 255 , 255 , true )
end
end )
je?li chcesz zeby marker by? widoczny zostaw (+0.6) i daj pozycje Z taka jaka u g?ry
Więcej szczegółów
Wystawiono 1 piw(a):ADISEQ
Wysłany: 2019-03-06, 09:57
ADISEQ
Uczeń Lua
Wiek: 21 Na forum: 2811 dni Posty: 130
Nick w MP: ADISEQ
Piwa : 18
THEGizmo , Ju? wszystko dzia?a?o dzi?ki pomocy Kuksa, ale za ch?? pomocy daje wam obydw?m piwko i repk?. Do zamkni?cia.
Tagi: jest :: źle :: skryptem :: teleport?
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: