يعني هذا كذا يظهر الاعبين انا ابي البيوت
GUIEditor_Window = {}
GUIEditor_Button = {}
GUIEditor_Gridlist = {}
GUIEditor_Window[1] = guiCreateWindow(89, 46, 592, 497, "مود العقارات الحصري من قبل ماستر", false)
guiSetVisible(GUIEditor_Window[1],false)
guiSetAlpha(GUIEditor_Window[1], 0.81)
master = guiCreateButton(259, 39, 307, 67, "انتقل", false, GUIEditor_Window[1])
master12 = guiCreateButton(259, 183, 307, 67, "اغلق النافذه", false, GUIEditor_Window[1])
function clientsideResourceStart ()
local playerList = guiCreateGridList(9, 27, 244, 454, false, GUIEditor_Window[1]) -- Create the grid list
local column = guiGridListAddColumn( playerList, "Player", 0.85 ) -- Create a 'players' column in the list
if ( column ) then -- If the column was successfully created
for id, playeritem in ipairs(getElementsByType("player")) do
--Loop through all the players, adding them to the table
local row = guiGridListAddRow ( playerList )
guiGridListSetItemText ( playerList, row, column, getPlayerName ( playeritem ), false, false )
end
end
end
addEventHandler ( "onClientResourceStart", getRootElement(), clientsideResourceStart )
function showGUI2()
guiSetVisible (GUIEditor_Window[1],true)
showCursor(true)
end
addEvent("showGUI2",true)
addEventHandler("showGUI2",getRootElement(),showGUI2)
addEvent("hideGUI2",true)
addEventHandler("hideGUI2",getRootElement(),
function ()
guiSetVisible(GUIEditor_Window[1],false)
showCursor (false)
end)
addEventHandler("onClientGUIClick",root,function ()
if ( source == master12 ) then
guiSetVisible(GUIEditor_Window[1], false)
showCursor(false)
guiSetInputEnabled(false)
end
end)