Jump to content

طلب


Recommended Posts

Posted

شباب معي كود

و ابي يكون فيه اللاعبين ؟؟

ذا كودي حق اللوحة

انا مسوي

النافذاة و القريد لست وحدههم

و الازرار وحدههم المهم

ذا الكود

ابي تصحيح الكود لا هنتم

wnd = guiCreateWindow(218,93,360,422,"player list",false) 
  
grid = guiCreateGridList(9,25,183,375,false,wnd) 
guiGridListSetSelectionMode(grid,1) 
guiGridListAddColumn(grid,"الاعبين",0.-- s8) -->
  
function putAllPlayersInList() 
    guiGridListClear(grid) 
    for i,v in ipairs(getElementsByType("player")) do 
        local row = guiGridListAddRow(grid) 
        guiGridListSetItemText(grid,row,1,getPlayerName(v),false,false) 
        guiGridListSetItemColor(grid,row,1,0,255,0) 
    end 
end 
  
  
  
  
------------------------------------------------------------------------- 
function kbcha() 
if guiGetVisible(wnd) == false then 
guiSetVisible(wnd,true) 
showCursor(true) 
else 
guiSetVisible(wnd,false) 
showCursor(false) 
    end 
end 
bindKey("F5", "down", kbcha) 
------------------------------------------------------------------------- 
  

Posted

جرب ذاا الكود

و تعلم منه

wnd = guiCreateWindow(218,93,360,422,"player list",false) 
  
grid = guiCreateGridList(9,25,183,375,false,wnd) 
guiGridListSetSelectionMode(grid,1) 
guiGridListAddColumn(grid,"Players",0.-- s8) -->
  
function putAllPlayersInList() 
    guiGridListClear(grid) 
    for i,v in ipairs(getElementsByType("player")) do 
        local row = guiGridListAddRow(grid) 
        guiGridListSetItemText(grid,row,1,getPlayerName(v),false,false) 
        guiGridListSetItemColor(grid,row,1,0,255,0) 
    end 
end 
  
bindKey("f5","down", 
    function () 
        if guiGetVisible(wnd) then 
            guiSetVisible(wnd,false) 
            showCursor(false) 
        else 
            guiSetVisible(wnd,true) 
            showCursor(true) 
            putAllPlayersInList() 
        end 
    end 
) 
  

Posted

جرب كذا :

wnd = guiCreateWindow(218,93,360,422,"player list",false) 
  
grid = guiCreateGridList(9,25,183,375,false,wnd) 
guiGridListSetSelectionMode(grid,1) 
guiGridListAddColumn(grid,"Players",0.6) 
  
function putAllPlayersInList() 
    guiGridListClear(grid) 
    for i,v in ipairs(getElementsByType("player")) do 
        local row = guiGridListAddRow(grid) 
        guiGridListSetItemText(grid,row,1,getPlayerName(v),false,false) 
        guiGridListSetItemColor(grid,row,1,0,255,0) 
    end 
end 
  
bindKey("f5","down", 
    function () 
        if guiGetVisible(wnd) then 
            guiSetVisible(wnd,false) 
            showCursor(false) 
        else 
            guiSetVisible(wnd,true) 
            showCursor(true) 
            putAllPlayersInList() 
        end 
    end 
) 
  
Posted

اها يعني كل ما اعمل مود

فيه قريد لست حق اللاعبين

احط في كود البيند كاي

            putAllPlayersInList() 

؟؟

شكرا لك اخوي

Posted

ااسمع طيب ممكن تعطيني الكود كامل

جربت انسخ ما صلح

؟؟؟

تقدر تمدني الكود الي عطيطني اياه ؟؟

Posted

ذا لما انخسه ما يصلح في لوحة ثانيه

function putAllPlayersInList() 
    guiGridListClear(grid) 
    for i,v in ipairs(getElementsByType("player")) do 
        local row = guiGridListAddRow(grid) 
        guiGridListSetItemText(grid,row,1,getPlayerName(v),false,false) 
        guiGridListSetItemColor(grid,row,1,0,255,0) 
    end 
end 

Posted

شوف يعني هل

في مكان

grid

احط اسم القريد لست حقي ؟؟

اسم القريد لست حقي

player

يعني اغير صحيح ؟؟

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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