Jump to content

{مشكلة}


FAHD+18

Recommended Posts

p_348a1sr81.png

شباب فية مشكلة معرف شو هيا المفروض الان يظهر في الاسماء في players 

معرف لية ما ظهرت -.- كل شي صحيح واللوحه تفتح وما يقلي خطا ليش الاسماء ما تظهر 

Client :

local Key = "F1" 
GUIEditor = {
    edit = {},
    button = {},
    window = {},
    label = {},
    gridlist = {}
}

        GUIEditor.window[1] = guiCreateWindow(190, 166, 405, 305, "Admin x2", false)
        guiWindowSetSizable(GUIEditor.window[1], false)
        GUIEditor.gridlist[1] = guiCreateGridList(10, 62, 134, 233, false, GUIEditor.window[1])
        guiGridListAddColumn(GUIEditor.gridlist[1], "Players:", 0.9)
        GUIEditor.edit[1] = guiCreateEdit(18, 38, 116, 19, "", false, GUIEditor.window[1])
        GUIEditor.label[1] = guiCreateLabel(55, 23, 99, 15, "Search ", false, GUIEditor.window[1])
        guiSetFont(GUIEditor.label[1], "default-bold-small")
        GUIEditor.button[1] = guiCreateButton(172, 62, 184, 35, "Mute", false, GUIEditor.window[1])
        guiSetFont(GUIEditor.button[1], "default-bold-small")
        GUIEditor.edit[2] = guiCreateEdit(154, 118, 227, 30, "", false, GUIEditor.window[1])
        GUIEditor.label[2] = guiCreateLabel(47, -14, 170, 15, "What is Resson", false, GUIEditor.edit[2])
        GUIEditor.label[3] = guiCreateLabel(210, 97, 120, 15, "What is The Resson :", false, GUIEditor.window[1])
        guiSetFont(GUIEditor.label[3], "default-bold-small")
        GUIEditor.button[2] = guiCreateButton(164, 155, 94, 20, "Slap", false, GUIEditor.window[1])
        GUIEditor.button[3] = guiCreateButton(277, 155, 94, 20, "Kick", false, GUIEditor.window[1])
        GUIEditor.button[4] = guiCreateButton(163, 193, 208, 29, "Fly Car", false, GUIEditor.window[1])
        GUIEditor.button[5] = guiCreateButton(163, 232, 94, 20, "FIX", false, GUIEditor.window[1])
        GUIEditor.button[6] = guiCreateButton(277, 232, 94, 20, "Nitro", false, GUIEditor.window[1])
        GUIEditor.label[4] = guiCreateLabel(163, 170, 212, 15, "______________________________", false, GUIEditor.window[1])
        GUIEditor.label[5] = guiCreateLabel(297, 283, 148, 18, "Creat by FAHD v2", false, GUIEditor.window[1])
        guiLabelSetColor(GUIEditor.label[5], 254, 0, 0)   
        guiSetVisible ( GUIEditor.window[1], false )

bindKey ( Key, "down", 
    function ( )
        if guiGetVisible ( GUIEditor.window[1] ) then 
            guiSetVisible ( GUIEditor.window[1], false )
            showCursor ( false )
        else
            guiSetVisible ( GUIEditor.window[1], true )
            showCursor ( true )
        end
    end
)

function Players ( )

guiGridListClear ( GUIEditor.gridlist[1] )

local Row = guiGridListAddRow ( GUIEditor.gridlist[1] )

for id, players in ipairs(getElementsByType("player")) do 

guiGridListSetItemText ( GUIEditor.gridlist[1], Ros ,1, getPlayerName ( players ), false, false )

end
end

addEventHandler( "onClientPlayerJoin", root, Players )
addEventHandler( "onClientPlayerQuit", root, Players )
addEventHandler( "onClientPlayerChangeNick", root, Players )

 

Link to comment
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...