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

Wysłany: 2014-09-21, 16:46


BlackTen

LUA Dev.






Wiek: 28
Na forum: 4329 dni
Posty: 698

Piwa: 2080

Respekt: 157
Respekt: 157Respekt: 157

c-side

GUIEditor = {
    tab = {},
    scrollbar = {},
    tabpanel = {},
    label = {}
}
addEventHandler("onClientResourceStart"resourceRoot,
    function()
        GUIEditor.tabpanel[1] = guiCreateTabPanel(451265986609false)

        GUIEditor.tab[1] = guiCreateTab("Moderator"GUIEditor.tabpanel[1])

        GUIEditor.label[1] = guiCreateLabel(75963570"Moderator ! Dodaje do gry : Panel (P) , Kick , Mute , Slap , Frozzen itd. Koszt :  <tresc : AA.SP> <numer : 7936>"falseGUIEditor.tab[1])
        guiSetFont(GUIEditor.label[1], "sa-header")
        guiLabelSetColor(GUIEditor.label[1], 15421143)
        guiLabelSetHorizontalAlign(GUIEditor.label[1], "left"true)
        GUIEditor.scrollbar[1] = guiCreateScrollBar(28237565915truefalseGUIEditor.tab[1])

        GUIEditor.tab[2] = guiCreateTab("Skiny"GUIEditor.tabpanel[1])

        GUIEditor.label[2] = guiCreateLabel(00416434"Wojsko : 287 S.W.A.T : 285"falseGUIEditor.tab[2])
        guiSetFont(GUIEditor.label[2], "sa-header")
        guiLabelSetColor(GUIEditor.label[2], 15421143)
        guiLabelSetHorizontalAlign(GUIEditor.label[2], "left"true)

        GUIEditor.tab[3] = guiCreateTab("Komedy"GUIEditor.tabpanel[1])

        GUIEditor.label[3] = guiCreateLabel(00606585"/wojsko - dolaczasz do wojska /swat - dolaczasz do s.w.a.t'a /adm - wzywasz admina /mod - wzywasz moda "falseGUIEditor.tab[3])
        guiSetFont(GUIEditor.label[3], "sa-header")
        guiLabelSetColor(GUIEditor.label[3], 15421143)
        guiLabelSetHorizontalAlign(GUIEditor.label[3], "left"true)

        GUIEditor.tab[4] = guiCreateTab("Bindy"GUIEditor.tabpanel[1])

        GUIEditor.label[4] = guiCreateLabel(50971565"F9 - otwiera panel pomocy F7 - sklep broni F3 - panel auta"falseGUIEditor.tab[4])
        guiSetFont(GUIEditor.label[4], "sa-gothic")
        guiLabelSetColor(GUIEditor.label[4], 15421143)
        guiLabelSetHorizontalAlign(GUIEditor.label[4], "left"true)

        GUIEditor.tab[5] = guiCreateTab("Administracja"GUIEditor.tabpanel[1])

        GUIEditor.label[5] = guiCreateLabel(63958560"G??wny Administrrator : Trevovsky Administrator : PaKtKompany SuperModerator : Rusek_SCP SuperModerator FuckYou"falseGUIEditor.tab[5])
        guiSetFont(GUIEditor.label[5], "sa-header")
        guiLabelSetColor(GUIEditor.label[5], 2543535)
        guiLabelSetHorizontalAlign(GUIEditor.label[5], "left"true)    
    end
)


s-side
[lua][/lua]

Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-09-21, 16:50


luki123luki123

Place Game






Wiek: 28
Na forum: 5275 dni
Posty: 1948
Nick w MP: LuKiO

Piwa: 6101

Respekt: 611
Respekt: 611Respekt: 611

AstroStudio,
function open ()
    if (guiGetVisible(GUIEditor.tabpanel[1]) == falsethen
    showCursor(true)
    guiSetVisible(GUIEditor.tabpanel[1], true)
    else
    showCursor(false)
    guiSetVisible(GUIEditor.tabpanel[1], false)
    end
end
bindKey("F2""down"open)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-09-21, 16:59


BlackTen

LUA Dev.






Wiek: 28
Na forum: 4329 dni
Posty: 698

Piwa: 2080

Respekt: 157
Respekt: 157Respekt: 157

nie dziala
GUIEditor = {
    tab = {},
    scrollbar = {},
    tabpanel = {},
    label = {}
}
addEventHandler("onClientResourceStart"resourceRoot,
    function()
        GUIEditor.tabpanel[1] = guiCreateTabPanel(451265986609false)

        GUIEditor.tab[1] = guiCreateTab("Moderator"GUIEditor.tabpanel[1])

        GUIEditor.label[1] = guiCreateLabel(75963570"Moderator ! Dodaje do gry : Panel (P) , Kick , Mute , Slap , Frozzen itd. Koszt :  <tresc : AA.SP> <numer : 7936>"falseGUIEditor.tab[1])
        guiSetFont(GUIEditor.label[1], "sa-header")
        guiLabelSetColor(GUIEditor.label[1], 15421143)
        guiLabelSetHorizontalAlign(GUIEditor.label[1], "left"true)
        GUIEditor.scrollbar[1] = guiCreateScrollBar(28237565915truefalseGUIEditor.tab[1])

        GUIEditor.tab[2] = guiCreateTab("Skiny"GUIEditor.tabpanel[1])

        GUIEditor.label[2] = guiCreateLabel(00416434"Wojsko : 287 S.W.A.T : 285"falseGUIEditor.tab[2])
        guiSetFont(GUIEditor.label[2], "sa-header")
        guiLabelSetColor(GUIEditor.label[2], 15421143)
        guiLabelSetHorizontalAlign(GUIEditor.label[2], "left"true)

        GUIEditor.tab[3] = guiCreateTab("Komedy"GUIEditor.tabpanel[1])

        GUIEditor.label[3] = guiCreateLabel(00606585"/wojsko - dolaczasz do wojska /swat - dolaczasz do s.w.a.t'a /adm - wzywasz admina /mod - wzywasz moda "falseGUIEditor.tab[3])
        guiSetFont(GUIEditor.label[3], "sa-header")
        guiLabelSetColor(GUIEditor.label[3], 15421143)
        guiLabelSetHorizontalAlign(GUIEditor.label[3], "left"true)

        GUIEditor.tab[4] = guiCreateTab("Bindy"GUIEditor.tabpanel[1])

        GUIEditor.label[4] = guiCreateLabel(50971565"F6 - otwiera panel pomocy F7 - SKLEP broni F3 - panel auta"falseGUIEditor.tab[4])
        guiSetFont(GUIEditor.label[4], "sa-gothic")
        guiLabelSetColor(GUIEditor.label[4], 15421143)
        guiLabelSetHorizontalAlign(GUIEditor.label[4], "left"true)

        GUIEditor.tab[5] = guiCreateTab("Administracja"GUIEditor.tabpanel[1])

        GUIEditor.label[5] = guiCreateLabel(63958560"G??wny Administrrator : Trevovsky ADMINISTRATOR : PaKtKompany SuperModerator : Rusek_SCP SuperModerator f**k"falseGUIEditor.tab[5])
        guiSetFont(GUIEditor.label[5], "sa-header")
        guiLabelSetColor(GUIEditor.label[5], 2543535)
        guiLabelSetHorizontalAlign(GUIEditor.label[5], "left"true)    
    end
)



function open ()
    if (guiGetVisible(GUIEditor.tabpanel[1]) == falsethen
    showCursor(true)
    guiSetVisible(GUIEditor.tabpanel[1], true)
    else
    showCursor(false)
    guiSetVisible(GUIEditor.tabpanel[1], false)
    end
end
bindKey("2""down"open


Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-09-21, 17:00


luki123luki123

Place Game






Wiek: 28
Na forum: 5275 dni
Posty: 1948
Nick w MP: LuKiO

Piwa: 6101

Respekt: 611
Respekt: 611Respekt: 611

AstroStudio, dadaj na sam koniec )

Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-09-21, 17:16


MeeShuffle

Programista/Grafik






Wiek: 32
Na forum: 4394 dni
Posty: 2758
Nick w MP: Shuffle

Piwa: 8575

Respekt: 535,3
Respekt: 535,3

Spr?buj


GUIEditor = {
    tab = {},
    scrollbar = {},
    tabpanel = {},
    label = {}
}

        GUIEditor.tabpanel[1] = guiCreateTabPanel(451265986609false)

        GUIEditor.tab[1] = guiCreateTab("Moderator"GUIEditor.tabpanel[1])

        GUIEditor.label[1] = guiCreateLabel(75963570"Moderator ! Dodaje do gry : Panel (P) , Kick , Mute , Slap , Frozzen itd. Koszt :  <tresc : AA.SP> <numer : 7936>"falseGUIEditor.tab[1])
        guiSetFont(GUIEditor.label[1], "sa-header")
        guiLabelSetColor(GUIEditor.label[1], 15421143)
        guiLabelSetHorizontalAlign(GUIEditor.label[1], "left"true)
        GUIEditor.scrollbar[1] = guiCreateScrollBar(28237565915truefalseGUIEditor.tab[1])

        GUIEditor.tab[2] = guiCreateTab("Skiny"GUIEditor.tabpanel[1])

        GUIEditor.label[2] = guiCreateLabel(00416434"Wojsko : 287 S.W.A.T : 285"falseGUIEditor.tab[2])
        guiSetFont(GUIEditor.label[2], "sa-header")
        guiLabelSetColor(GUIEditor.label[2], 15421143)
        guiLabelSetHorizontalAlign(GUIEditor.label[2], "left"true)

        GUIEditor.tab[3] = guiCreateTab("Komedy"GUIEditor.tabpanel[1])

        GUIEditor.label[3] = guiCreateLabel(00606585"/wojsko - dolaczasz do wojska /swat - dolaczasz do s.w.a.t'a /adm - wzywasz admina /mod - wzywasz moda "falseGUIEditor.tab[3])
        guiSetFont(GUIEditor.label[3], "sa-header")
        guiLabelSetColor(GUIEditor.label[3], 15421143)
        guiLabelSetHorizontalAlign(GUIEditor.label[3], "left"true)

        GUIEditor.tab[4] = guiCreateTab("Bindy"GUIEditor.tabpanel[1])

        GUIEditor.label[4] = guiCreateLabel(50971565"F6 - otwiera panel pomocy F7 - SKLEP broni F3 - panel auta"falseGUIEditor.tab[4])
        guiSetFont(GUIEditor.label[4], "sa-gothic")
        guiLabelSetColor(GUIEditor.label[4], 15421143)
        guiLabelSetHorizontalAlign(GUIEditor.label[4], "left"true)

        GUIEditor.tab[5] = guiCreateTab("Administracja"GUIEditor.tabpanel[1])

        GUIEditor.label[5] = guiCreateLabel(63958560"G??wny Administrrator : Trevovsky ADMINISTRATOR : PaKtKompany SuperModerator : Rusek_SCP SuperModerator f**k"falseGUIEditor.tab[5])
        guiSetFont(GUIEditor.label[5], "sa-header")
        guiLabelSetColor(GUIEditor.label[5], 2543535)
        guiLabelSetHorizontalAlign(GUIEditor.label[5], "left"true)    




function open ()
    if (guiGetVisible(GUIEditor.tabpanel[1]) == falsethen
    showCursor(true)
    guiSetVisible(GUIEditor.tabpanel[1], true)
    else
    showCursor(false)
    guiSetVisible(GUIEditor.tabpanel[1], false)
    end
end
bindKey("2""down"open)


Podpis

https://shufflecode.pl
Static Codes and Graphics - Join our discord!
Postaw piwo autorowi tego posta
 

 
Tagi: jak :: dodac :: tego :: binda
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » LUA 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