Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2018-06-24, 14:32


PauzaTM

Skrypter/Maper






Wiek: 22
Na forum: 3041 dni
Posty: 13
Nick w MP: ReSlay

Piwa: 367

Respekt: 40

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)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2018-06-24, 14:44


Mezo.

Mod-Team






Wiek: 24
Na forum: 3211 dni
Posty: 548
Nick w MP: Mezo

Piwa: 6070

Respekt: 517
Respekt: 517

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

Postaw piwo autorowi tego posta
 

 
Wysłany: 2018-06-24, 14:48


VaXo







Wiek: 25
Na forum: 2906 dni
Posty: 5
Nick w MP: VaX

Piwa: 88

Respekt: 125,3
Respekt: 125,3

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)

Postaw piwo autorowi tego posta
 

 
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

Respekt: 331,5
Respekt: 331,5Respekt: 331,5Respekt: 331,5

local Aktualizacje fileRead(P_Aktualizacje50000txt guiCreateMemo(0.220.310.590.46""trueguiMemoSetReadOnly (txttrueguiSetVisible (txtfalseKolor = {} 

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(trueinformacje=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,falseshowCursor(falseend 
end)

Kolor[1] = tocolor(09025599Kolor[2] = tocolor(09025599Kolor[3] = tocolor(09025599Kolor[4] = tocolor(09025599Kolor[5] = tocolor(09025599Kolor[6] = tocolor(09025599) 

if cursorPosition(screen 0.2140screen 0.2617screen 0.0950screen 0.0395then Kolor[1] = tocolor(011025599end 
if cursorPosition(screen 0.3140screen 0.2617screen 0.0950screen 0.0395then Kolor[2] = tocolor(011025599end 
if cursorPosition(screen 0.4140screen 0.2617screen 0.0950screen 0.0395then Kolor[3] = tocolor(011025599end 
if cursorPosition(screen 0.5140screen 0.2617screen 0.0950screen 0.0395then Kolor[4] = tocolor(011025599end 
if cursorPosition(screen 0.6140screen 0.2617screen 0.0950screen 0.0395then Kolor[5] = tocolor(011025599end 
if cursorPosition(screen 0.7140screen 0.2617screen 0.0950screen 0.0395then Kolor[6] = tocolor(011025599end 

dxDrawRectangle(screenW 0.2140screenH 0.2617screenW 0.6000screenH 0.5208tocolor(25425425432), false) 

--dxDrawRectangle(screenW 0.2140screenH 0.2617screenW 0.1463screenH 0.0299tocolor(828282254), false) 

--dxDrawRectangle(screenW 0.3765screenH 0.2617screenW 0.4294screenH 0.5208tocolor(000208), false) 

--dxDrawRectangle(screenW 0.3765screenH 0.2318screenW 0.4294screenH 0.0299tocolor(18423412254), falsedxDrawRectangle(screenW 0.2140screenH 0.2617screenW 0.0950screenH 0.0395Kolor[1], falsedxDrawRectangle(screenW 0.3140screenH 0.2617screenW 0.0950screenH 0.0395Kolor[2], falsedxDrawRectangle(screenW 0.4140screenH 0.2617screenW 0.0950screenH 0.0395Kolor[3], falsedxDrawRectangle(screenW 0.5140screenH 0.2617screenW 0.0950screenH 0.0395Kolor[4], false)


Wystarczy uzupe?ni? odpowiednie elementDaty i b?dzie git.

Podpis
GG:75080675
- ✔
- ✔
- ✔
- ✔

Aktualny projekt: BRAK
Postaw piwo autorowi tego posta
 

 
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:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA » Nie działa mój skrypt na Przewodnika pod F1 Ten temat jest zablokowany bez możliwości zmiany postów lub pisania odpowiedzi

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku