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

Wysłany: 2016-06-27, 10:33


Atroth







Wiek: 23
Na forum: 3677 dni
Posty: 1089
Nick w MP: Atroth

Piwa: 4808

Respekt: 540
Respekt: 540

Prosz? wszystko z dok?adno?ci? sprawdzi?. Dzi?kuje.


function guiGridListAddPlayersGridListColumnSectionNumber )
        if( getElementTypeGridList ) == "gui-gridlist" then
        asserttonumberColumn ), "Bad argument @ 'guiGridListAddPlayers' [Expected number at argument 2, got " .. tostring(Column) .. "]" )
                if( Section == false or Section == true then
                        if( Number == false or Number == true then
                                for _player in ipairsgetElementsByType('player') ) do
                                        guiGridListClearGridList )
                                                local Row guiGridListAddRowGridList )
                                                guiGridListSetItemTextGridListRowColumngetPlayerName(player), SectionNumber )
                                                end 
                                        else
                                        error("Bad argument @ 'guiGridListAddPlayers' [Expected boolean at argument 4, got " .. tostring(Number) .. "]")
                                end
                        else
                        error("Bad argument @ 'guiGridListAddPlayers' [Expected boolean at argument 3, got " .. tostring(Section) .. "]")
                end
        end
        end

function guiGridListGetSelectedItemText gridListcolumn )
    local item guiGridListGetSelectedItem gridList )
    if item then
        return guiGridListGetItemText gridListitemcolumn or )
    end
    return false
    end


function gui(plr,cmd)
GUIEditor = {
    gridlist = {},
    window = {},
    button = {}
}
addEventHandler("onClientResourceStart"resourceRoot,
    function()
        GUI guiCreateWindow(329141483549"Panel moderatora by @Endo"false)
        guiWindowSetSizable(GUIfalse)

        gridlista guiCreateGridList(1024192350falseGUI)
        kolumna guiGridListAddColumn(gridlista"Gracze"0.8)
        prz1 guiCreateButton(2624720365"Kopnij"falseGUI)
        prz2 guiCreateButton(26313420279"Mute"falseGUI)
        prz3 guiCreateButton(26124720481"Ostrze?enie"falseGUI)    
    end
)
addEventHandler("p_m"gui)


Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-06-27, 12:26


olo12345







Wiek: 30
Na forum: 3716 dni
Posty: 66
Nick w MP: olo1205

Piwa: 3

Respekt: 45,3

A w grze ci dzia?a?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-06-27, 12:56


Jacob

Głupiomądry






Wiek: 28
Na forum: 5502 dni
Posty: 967
Nick w MP: Jacob

Piwa: 786

Respekt: 212,3
Respekt: 212,3Respekt: 212,3

Sprawdzi?? To Ty masz to sprawdzi? i liczy? na ew. pomoc je?eli wyst?pi? b??dy. :)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2016-06-27, 16:08


Atroth







Wiek: 23
Na forum: 3677 dni
Posty: 1089
Nick w MP: Atroth

Piwa: 4808

Respekt: 540
Respekt: 540

Mo?na zamkn??.

Podpis

Użytkownik - 10-05-2016
Support Team - 17.06.2017
Moderator - 25.11.2017
Mod-Team - 02.07.2018

Postaw piwo autorowi tego posta
 

 
Tagi: czy :: będzie :: coś :: takiego :: działać?
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