Wysłany: 2012-05-04, 17:09
luki123luki123
Place Game
Wiek: 28 Na forum: 5275 dni Posty: 1948
Nick w MP: LuKiO
Piwa : 6101
Mam Okno i chce ?eby przenosi?o mnie do 2 okna w 1 skrypcie
Wysłany: 2012-05-04, 17:11
Piorun
Wiek: 32 Na forum: 6712 dni Posty: 1837
Nick w MP: Piorun
Piwa : 516
Zaraz, zaraz. Masz skrypt, kt?ry posiada dwa lub wi?cej zasob?w, tak? I chcesz, by okno button klikni?ty w pierwszym zasobie przenosi? do okna z drugiego zasobu, tak?
Wysłany: 2012-05-04, 17:11
Jacob
Głupiomądry
Wiek: 28 Na forum: 5502 dni Posty: 967
Nick w MP: Jacob
Piwa : 786
luki123luki123 , tworzysz nowe okno a to stare dajesz do ty?u za pomoc?
Kod:
Wysłany: 2012-05-04, 17:29
luki123luki123
Place Game
Wiek: 28 Na forum: 5275 dni Posty: 1948
Nick w MP: LuKiO
Piwa : 6101
Jacob , takie co?
Kod:
function nazwa_funkcji ()
if (source == button) then
if (guiGridListGetItemText(Listra) then
guiSetAlpha(okno, 0.4)
guiMoveToBack(okno)
guiSetVisible(okno, true)
end
end
addEventHandler("onClientGUIClick", Butoon, Nazwa_funkcji)
Wysłany: 2012-05-04, 17:52
Piorun
Wiek: 32 Na forum: 6712 dni Posty: 1837
Nick w MP: Piorun
Piwa : 516
Ka?da linijka kodu jest ?le, chyba, ?e ju? podefiniowa?e? zmienne typu
okno
button
Button
Listra
Wysłany: 2012-05-04, 21:35
luki123luki123
Place Game
Wiek: 28 Na forum: 5275 dni Posty: 1948
Nick w MP: LuKiO
Piwa : 6101
Witam zrobi?em teraz okno itp Kod client
Kod: info_Window[5] = guiCreateWindow(457,99,311,617,"Info Gracza",false)
playerNameLabel = guiCreateLabel(10,25,80,23,"Name:",false,GUIEditor_Window[1])
playerNameEdit = guiCreateEdit(10,46,292,33,"",false,GUIEditor_Window[1])
playerAccountLabel = guiCreateLabel(10,86,91,21,"Nazwa konta:",false,GUIEditor_Window[1])
playerAccountLabel2 = guiCreateLabel(104,87,149,20,"",false,GUIEditor_Window[1])
playerIPLabel = guiCreateLabel(8,112,21,17,"Ip:",false,GUIEditor_Window[1])
playerIPLabel2 = guiCreateLabel(36,111,208,21,"",false,GUIEditor_Window[1])
playerSerialLabel = guiCreateLabel(8,137,57,19,"Serial:",false,GUIEditor_Window[1])
playerSerialLabel2 = guiCreateLabel(67,135,241,19,"",false,GUIEditor_Window[1])
playerPingLabel = guiCreateLabel(8,160,46,17,"Ping:",false,GUIEditor_Window[1])
playerPingLabel2 = guiCreateLabel(55,161,181,19,"",false,GUIEditor_Window[1])
playerMoneyLabel = guiCreateLabel(58,315,5,5,"",false,GUIEditor_Window[1])
playerMoneyLabel2 = guiCreateLabel(8,185,56,22,"Kasa",false,GUIEditor_Window[1])
GUIEditor_Label = guiCreateLabel(65,187,198,21,"",false,GUIEditor_Window[1])
playerSkinLabel = guiCreateLabel(8,211,58,19,"Skin:",false,GUIEditor_Window[1])
playerSkinLabel2 = guiCreateLabel(64,209,205,20,"",false,GUIEditor_Window[1])
playerTeamLabel = guiCreateLabel(8,235,82,19,"Team:",false,GUIEditor_Window[1])
playerTeamLabel2 = guiCreateLabel(45,233,188,21,"",false,GUIEditor_Window[1])
playerPosXLabel = guiCreateLabel(8,261,25,26,"X",false,GUIEditor_Window[1])
guiLabelSetVerticalAlign(GUIEditor_Label[17],"center")
guiLabelSetHorizontalAlign(GUIEditor_Label[17],"center",false)
guiSetFont(GUIEditor_Label[17],"clear-normal")
playerPosXEdit = guiCreateEdit(35,264,267,23,"",false,GUIEditor_Window[1])
playerPosYLabel = guiCreateLabel(10,292,22,21,"Y",false,GUIEditor_Window[1])
guiLabelSetVerticalAlign(GUIEditor_Label[18],"center")
guiLabelSetHorizontalAlign(GUIEditor_Label[18],"center",false)
playerPosYEdit = guiCreateEdit(34,293,268,21,"",false,GUIEditor_Window[1])
playerPosZLabel = guiCreateLabel(4,320,28,24,"Z",false,GUIEditor_Window[1])
guiSetAlpha(GUIEditor_Label[19],1)
guiLabelSetVerticalAlign(GUIEditor_Label[19],"center")
guiLabelSetHorizontalAlign(GUIEditor_Label[19],"center",false)
playerPosZEdit = guiCreateEdit(33,322,269,23,"",false,GUIEditor_Window[1])
GUIEditor_Label = guiCreateLabel(16,566,290,36,"By luki123",false,GUIEditor_Window[1])
guiLabelSetColor(GUIEditor_Label[20],0,0,100)
przeniesienie
Kod: function info ()
if (source == mand_Button[12]) then
if (guiGridListGetItemText(mand_Grid[1], guiGridListGetSelectedItem(mand_Grid[1]), kolumna) ~= "") then
guiSetAlpha(mand_Window[2], 0.4)
guiMoveToBack(mand_Window[2])
guiSetVisible(info_Window[5], true)
else
outputChatBox("Najpierw wybierz gracza!", 255, 0, 0, true)
end
end
end
addEventHandler("onClientGUIClick", mand_Button[12], info)
i mam b??d
Wysłany: 2012-05-04, 21:42
Jacob
Głupiomądry
Wiek: 28 Na forum: 5502 dni Posty: 967
Nick w MP: Jacob
Piwa : 786
Kod:
info_Window[5] = guiCreateWindow(457,99,311,617,"Info Gracza",false)
playerNameLabel = guiCreateLabel(10,25,80,23,"Name:",false,GUIEditor_Window[1])
playerNameEdit = guiCreateEdit(10,46,292,33,"",false,GUIEditor_Window[1])
playerAccountLabel = guiCreateLabel(10,86,91,21,"Nazwa konta:",false,GUIEditor_Window[1])
playerAccountLabel2 = guiCreateLabel(104,87,149,20,"",false,GUIEditor_Window[1])
playerIPLabel = guiCreateLabel(8,112,21,17,"Ip:",false,GUIEditor_Window[1])
playerIPLabel2 = guiCreateLabel(36,111,208,21,"",false,GUIEditor_Window[1])
playerSerialLabel = guiCreateLabel(8,137,57,19,"Serial:",false,GUIEditor_Window[1])
playerSerialLabel2 = guiCreateLabel(67,135,241,19,"",false,GUIEditor_Window[1])
playerPingLabel = guiCreateLabel(8,160,46,17,"Ping:",false,GUIEditor_Window[1])
playerPingLabel2 = guiCreateLabel(55,161,181,19,"",false,GUIEditor_Window[1])
playerMoneyLabel = guiCreateLabel(58,315,5,5,"",false,GUIEditor_Window[1])
playerMoneyLabel2 = guiCreateLabel(8,185,56,22,"Kasa",false,GUIEditor_Window[1])
GUIEditor_Label = guiCreateLabel(65,187,198,21,"",false,GUIEditor_Window[1])
playerSkinLabel = guiCreateLabel(8,211,58,19,"Skin:",false,GUIEditor_Window[1])
playerSkinLabel2 = guiCreateLabel(64,209,205,20,"",false,GUIEditor_Window[1])
playerTeamLabel = guiCreateLabel(8,235,82,19,"Team:",false,GUIEditor_Window[1])
playerTeamLabel2 = guiCreateLabel(45,233,188,21,"",false,GUIEditor_Window[1])
playerPosXLabel = guiCreateLabel(8,261,25,26,"X",false,GUIEditor_Window[1])
guiLabelSetVerticalAlign(GUIEditor_Label[17],"center")
guiLabelSetHorizontalAlign(GUIEditor_Label[17],"center",false)
guiSetFont(GUIEditor_Label[17],"clear-normal")
playerPosXEdit = guiCreateEdit(35,264,267,23,"",false,GUIEditor_Window[1])
playerPosYLabel = guiCreateLabel(10,292,22,21,"Y",false,GUIEditor_Window[1])
guiLabelSetVerticalAlign(GUIEditor_Label[18],"center")
guiLabelSetHorizontalAlign(GUIEditor_Label[18],"center",false)
playerPosYEdit = guiCreateEdit(34,293,268,21,"",false,GUIEditor_Window[1])
playerPosZLabel = guiCreateLabel(4,320,28,24,"Z",false,GUIEditor_Window[1])
guiSetAlpha(GUIEditor_Label[19],1)
guiLabelSetVerticalAlign(GUIEditor_Label[19],"center")
guiLabelSetHorizontalAlign(GUIEditor_Label[19],"center",false)
playerPosZEdit = guiCreateEdit(33,322,269,23,"",false,GUIEditor_Window[1])
GUIEditor_Label = guiCreateLabel(16,566,290,36,"By luki123",false,GUIEditor_Window[1])
guiLabelSetColor(GUIEditor_Label[20],0,0,100)
To si? kupy w og?le nie trzyma! Pewnie skopiowa?e? i nawet nazw nie zmienia?e?.
Wysłany: 2012-05-04, 22:52
Adrian1545
Wiek: 30 Na forum: 5646 dni Posty: 78
Nick w MP: [sXc]Lexon
Piwa : 125
Jak to nazw nie zmieni? ? Patrz na autora
Kod: GUIEditor_Label = guiCreateLabel(16,566,290,36,"By luki123",false,GUIEditor_Window[1])
Gui Editor juz sam robi wszystko po kolei trzymaj?ce sie dupy, wiec nie wiem po co takie co? wyci?gni?te psu z gard?a
Wysłany: 2012-05-04, 22:54
Jacob
Głupiomądry
Wiek: 28 Na forum: 5502 dni Posty: 967
Nick w MP: Jacob
Piwa : 786
Adrian1545 , Kod: playerNameLabel = guiCreateLabel(10,25,80,23,"Name:",false,GUIEditor_Window[1])
Kod: info_Window[5] = guiCreateWindow(457,99,311,617,"Info Gracza",false)
?
Wysłany: 2012-05-05, 14:06
Brzysiek
Skrypter pralek
Wiek: 27 Na forum: 5198 dni Posty: 488
Nick w MP: Brzysiek
Piwa : 1034
Cytat:
info_Window[5] = guiCreateWindow(457,99,311,617,"Info Gracza",false)
To jest ca?y skrypt?
Bo dziwi? si? ,?e numeracja indeksu zaczyna si? od 5..
sklejanka skrypt?w , za?o?? si?.
Cytat:
GUIEditor_Label = guiCreateLabel(65,187,198,21,"",false,GUIEditor_Window[1])
GUIEditor_Label = guiCreateLabel(16,566,290,36,"By luki123",false,GUIEditor_Window[1])
luki123luki123 , wiesz co to indeksy?
Nast?pnym razem mo?e zr?b w?asny panel , zamiast kopiowa? kogo? i jeszcze zmienia? autora.
Wysłany: 2012-05-05, 21:16
luki123luki123
Place Game
Wiek: 28 Na forum: 5275 dni Posty: 1948
Nick w MP: LuKiO
Piwa : 6101
Brzysiek , Jacob , to m?j skrypt tylko to Idzie do panelu
Wysłany: 2012-05-05, 21:19
Jacob
Głupiomądry
Wiek: 28 Na forum: 5502 dni Posty: 967
Nick w MP: Jacob
Piwa : 786
luki123luki123 , a zdajesz sobie spraw?, ?e to w og?le nie przys?uguje do drugiego i tak w k??ko, nazwy w og?le do siebie nie pasuj?.
Wysłany: 2012-05-05, 21:24
luki123luki123
Place Game
Wiek: 28 Na forum: 5275 dni Posty: 1948
Nick w MP: LuKiO
Piwa : 6101
bo jeszcze nie zrobi?em clineta i serwera
Wysłany: 2012-05-05, 21:25
Jacob
Głupiomądry
Wiek: 28 Na forum: 5502 dni Posty: 967
Nick w MP: Jacob
Piwa : 786
luki123luki123 , to zr?b i podaj jak b?dziesz mia? problemy/b??dy.
Wysłany: 2012-05-05, 21:26
luki123luki123
Place Game
Wiek: 28 Na forum: 5275 dni Posty: 1948
Nick w MP: LuKiO
Piwa : 6101
b??d
Tagi: panel :: policji
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: