Wysłany: 2018-06-24, 14:32
PauzaTM
Skrypter/Maper
Wiek: 22 Na forum: 3041 dni Posty: 13
Nick w MP: ReSlay
Piwa : 367
Witam, stworzy?em m?j 2 autorski skrypt ale tym razem na Przewodnika kt?ry
znajduje si? pod F1 ale jest problem taki ?e on si? nie wy?wietla i nie wiem jak to naprawi? prosz? o pomoc wynagrodze piwem!.
Kod: local Aktualizacje = fileRead(P_Aktualizacje, 50000)
txt = guiCreateMemo(0.22, 0.31, 0.59, 0.46, "", true)
guiMemoSetReadOnly (txt, true)
guiSetVisible (txt, false)
Kolor = {}
PanelPomoc = false
function PanelF1()
Kolor[1] = tocolor(0, 90, 255, 99)
Kolor[2] = tocolor(0, 90, 255, 99)
Kolor[3] = tocolor(0, 90, 255, 99)
Kolor[4] = tocolor(0, 90, 255, 99)
Kolor[5] = tocolor(0, 90, 255, 99)
Kolor[6] = tocolor(0, 90, 255, 99)
if cursorPosition(screen * 0.2140, screen * 0.2617, screen * 0.0950, screen * 0.0395) then Kolor[1] = tocolor(0, 110, 255, 99) end
if cursorPosition(screen * 0.3140, screen * 0.2617, screen * 0.0950, screen * 0.0395) then Kolor[2] = tocolor(0, 110, 255, 99) end
if cursorPosition(screen * 0.4140, screen * 0.2617, screen * 0.0950, screen * 0.0395) then Kolor[3] = tocolor(0, 110, 255, 99) end
if cursorPosition(screen * 0.5140, screen * 0.2617, screen * 0.0950, screen * 0.0395) then Kolor[4] = tocolor(0, 110, 255, 99) end
if cursorPosition(screen * 0.6140, screen * 0.2617, screen * 0.0950, screen * 0.0395) then Kolor[5] = tocolor(0, 110, 255, 99) end
if cursorPosition(screen * 0.7140, screen * 0.2617, screen * 0.0950, screen * 0.0395) then Kolor[6] = tocolor(0, 110, 255, 99) end
dxDrawRectangle(screenW * 0.2140, screenH * 0.2617, screenW * 0.6000, screenH * 0.5208, tocolor(254, 254, 254, 32), false)
--dxDrawRectangle(screenW * 0.2140, screenH * 0.2617, screenW * 0.1463, screenH * 0.0299, tocolor(82, 82, 82, 254), false)
--dxDrawRectangle(screenW * 0.3765, screenH * 0.2617, screenW * 0.4294, screenH * 0.5208, tocolor(0, 0, 0, 208), false)
--dxDrawRectangle(screenW * 0.3765, screenH * 0.2318, screenW * 0.4294, screenH * 0.0299, tocolor(184, 234, 12, 254), false)
dxDrawRectangle(screenW * 0.2140, screenH * 0.2617, screenW * 0.0950, screenH * 0.0395, Kolor[1], false)
dxDrawRectangle(screenW * 0.3140, screenH * 0.2617, screenW * 0.0950, screenH * 0.0395, Kolor[2], false)
dxDrawRectangle(screenW * 0.4140, screenH * 0.2617, screenW * 0.0950, screenH * 0.0395, Kolor[3], false)
dxDrawRectangle(screenW * 0.5140, screenH * 0.2617, screenW * 0.0950, screenH * 0.0395, Kolor[4], false)
Wysłany: 2018-06-24, 14:44
Mezo.
Mod-Team
Wiek: 24 Na forum: 3211 dni Posty: 548
Nick w MP: Mezo
Piwa : 6070
A gdzie bindkey ?
Podpis
- Na forum pomagam na miarę swoich możliwości, oraz bezpłatnie.
- Jeżeli potrzebujesz pomocy, pisz do mnie w prywatnej wiadomości, pomoc uzyskasz szybciej.
Współpraca -
[email protected]
Użytkownik - 19.08.2017
GTAO MEMBER - 29.03.2019
Support-Team - 03.02.2019 - 07.05.2019
Moderator - 07.05.2019 - 02.08.2020
Mod-Team - 02.08.2020 - 25.03.2022
Wysłany: 2018-06-24, 14:48
VaXo
Wiek: 25 Na forum: 2906 dni Posty: 5
Nick w MP: VaX
Piwa : 88
uzupe?nij pod swoje elementdaty
bindKey("f1", "down", function()
if not getElementData(localPlayer,"player:logged") then return end
if wf1c == false then
wf1=true
wf1c=true
home=true
showCursor(true)
informacje=true
else
if home == true then
home=false
end
if informacje == true or pomocc == true or premiumm == true or aktualizacjee == true then
informacje=false
pomocc=false
premiumm=false
aktualizacjee=false
end
wf1=false
wf1c=false
guiSetVisible(tresc,false)
showCursor(false)
end
end)
Więcej szczegółów
Wystawiono 2 piw(a):Mezo. , PauzaTM
Wysłany: 2018-06-24, 14:58
PatryKK.
Emeryt LUA
Wiek: 26 Na forum: 3061 dni Posty: 1060
Nick w MP: PatryKK.
Piwa : 2322
local Aktualizacje = fileRead ( P_Aktualizacje , 50000 )
txt = guiCreateMemo ( 0.22 , 0.31 , 0.59 , 0.46 , "" , true )
guiMemoSetReadOnly ( txt , true )
guiSetVisible ( txt , false )
Kolor = {}
PanelPomoc = false
function PanelF1 ()
bindKey ( "f1" , "down" , function()
if not getElementData ( localPlayer , "player:logged" ) then return end
if wf1c == false then
wf1 = true
wf1c = true
home = true
showCursor ( true )
informacje = true
else
if home == true then
home = false
end
if informacje == true or pomocc == true or premiumm == true or aktualizacjee == true then
informacje = false
pomocc = false
premiumm = false
aktualizacjee = false
end
wf1 = false
wf1c = false
guiSetVisible ( tresc , false )
showCursor ( false )
end
end )
Kolor [ 1 ] = tocolor ( 0 , 90 , 255 , 99 )
Kolor [ 2 ] = tocolor ( 0 , 90 , 255 , 99 )
Kolor [ 3 ] = tocolor ( 0 , 90 , 255 , 99 )
Kolor [ 4 ] = tocolor ( 0 , 90 , 255 , 99 )
Kolor [ 5 ] = tocolor ( 0 , 90 , 255 , 99 )
Kolor [ 6 ] = tocolor ( 0 , 90 , 255 , 99 )
if cursorPosition ( screen * 0.2140 , screen * 0.2617 , screen * 0.0950 , screen * 0.0395 ) then Kolor [ 1 ] = tocolor ( 0 , 110 , 255 , 99 ) end
if cursorPosition ( screen * 0.3140 , screen * 0.2617 , screen * 0.0950 , screen * 0.0395 ) then Kolor [ 2 ] = tocolor ( 0 , 110 , 255 , 99 ) end
if cursorPosition ( screen * 0.4140 , screen * 0.2617 , screen * 0.0950 , screen * 0.0395 ) then Kolor [ 3 ] = tocolor ( 0 , 110 , 255 , 99 ) end
if cursorPosition ( screen * 0.5140 , screen * 0.2617 , screen * 0.0950 , screen * 0.0395 ) then Kolor [ 4 ] = tocolor ( 0 , 110 , 255 , 99 ) end
if cursorPosition ( screen * 0.6140 , screen * 0.2617 , screen * 0.0950 , screen * 0.0395 ) then Kolor [ 5 ] = tocolor ( 0 , 110 , 255 , 99 ) end
if cursorPosition ( screen * 0.7140 , screen * 0.2617 , screen * 0.0950 , screen * 0.0395 ) then Kolor [ 6 ] = tocolor ( 0 , 110 , 255 , 99 ) end
dxDrawRectangle ( screenW * 0.2140 , screenH * 0.2617 , screenW * 0.6000 , screenH * 0.5208 , tocolor ( 254 , 254 , 254 , 32 ), false )
-- dxDrawRectangle ( screenW * 0.2140 , screenH * 0.2617 , screenW * 0.1463 , screenH * 0.0299 , tocolor ( 82 , 82 , 82 , 254 ), false )
-- dxDrawRectangle ( screenW * 0.3765 , screenH * 0.2617 , screenW * 0.4294 , screenH * 0.5208 , tocolor ( 0 , 0 , 0 , 208 ), false )
-- dxDrawRectangle ( screenW * 0.3765 , screenH * 0.2318 , screenW * 0.4294 , screenH * 0.0299 , tocolor ( 184 , 234 , 12 , 254 ), false )
dxDrawRectangle ( screenW * 0.2140 , screenH * 0.2617 , screenW * 0.0950 , screenH * 0.0395 , Kolor [ 1 ], false )
dxDrawRectangle ( screenW * 0.3140 , screenH * 0.2617 , screenW * 0.0950 , screenH * 0.0395 , Kolor [ 2 ], false )
dxDrawRectangle ( screenW * 0.4140 , screenH * 0.2617 , screenW * 0.0950 , screenH * 0.0395 , Kolor [ 3 ], false )
dxDrawRectangle ( screenW * 0.5140 , screenH * 0.2617 , screenW * 0.0950 , screenH * 0.0395 , Kolor [ 4 ], false )
Wystarczy uzupe?ni? odpowiednie elementDaty i b?dzie git.
Podpis
GG:75080675
- ✔
- ✔
- ✔
- ✔
Aktualny projekt: BRAK
Więcej szczegółów
Wystawiono 1 piw(a):PauzaTM
Tagi: nie :: działa :: mój :: skrypt :: przewodnika :: pod
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: