AboFaisal Posted September 30, 2012 Share Posted September 30, 2012 السلآم عليكم روحمه الله وبركاته , الكـود لمـن أحطه نفس مشآكللي , لمن أضيفه الكـود وأخش المـود حقي , اللوحه مآتضضهر !! وكلآم الحقوق يضهـر مثآل This Panel By AboFaisal والأن الكـود , نخليكم مع التصحيح playerGridList = guiCreateGridList(3,12,137,173,false,tab3) playersColumn = guiGridListAddColumn(playerGridList,"Players",0.85) guiGridListSetSelectionMode(playerGridList,2) populateGridlist() for id, plaItem in ipairs(getElementsByType("player")) do row = guiGridListAddRow ( playerGridList ) guiGridListSetItemText ( playerGridList, row, playersColumn, getPlayerName ( plaItem ), false, false ) end addEventHandler( "onClientGUIClick", playerGridList, setGUI ) end end) function setGUI ( ) selectedRow, selectedCol = guiGridListGetSelectedItem( playerGridList ) gridPlayerName = guiGridListGetItemText( playerGridList, selectedRow, selectedCol ) guiSetText ( playerNameEdit, gridPlayerName ) end function onGuiClick (button, state, absoluteX, absoluteY) أرجو أن الكل فهم مششكلتي وإذا أحد مآفهم وجآهز يحللي المشكله جآهز لو أسوي صحيفه ع شآن الحل , الله يجزآكم خيـر أعرف أنكم دآيم مآتقصرون , Link to comment
./BlackBird# Posted September 30, 2012 Share Posted September 30, 2012 هذا المود كامل ولا بس جزء؟ Link to comment
AboFaisal Posted September 30, 2012 Author Share Posted September 30, 2012 خلآل سويت الكـود !! شكر لـمن مر على الموضوع ولا رد !! Link to comment
3NAD Posted September 30, 2012 Share Posted September 30, 2012 إيش اللي تبي تسويه ؟؟ مو نفس موضوعكـ السابق @@" Link to comment
===[PRO]=== Posted September 30, 2012 Share Posted September 30, 2012 السلآم عليكم روحمه الله وبركاته ,الكـود لمـن أحطه نفس مشآكللي , لمن أضيفه الكـود وأخش المـود حقي , اللوحه مآتضضهر !! وكلآم الحقوق يضهـر مثآل This Panel By AboFaisal والأن الكـود , نخليكم مع التصحيح playerGridList = guiCreateGridList(3,12,137,173,false,tab3) playersColumn = guiGridListAddColumn(playerGridList,"Players",0.85) guiGridListSetSelectionMode(playerGridList,2) populateGridlist() for id, plaItem in ipairs(getElementsByType("player")) do row = guiGridListAddRow ( playerGridList ) guiGridListSetItemText ( playerGridList, row, playersColumn, getPlayerName ( plaItem ), false, false ) end addEventHandler( "onClientGUIClick", playerGridList, setGUI ) end end) function setGUI ( ) selectedRow, selectedCol = guiGridListGetSelectedItem( playerGridList ) gridPlayerName = guiGridListGetItemText( playerGridList, selectedRow, selectedCol ) guiSetText ( playerNameEdit, gridPlayerName ) end function onGuiClick (button, state, absoluteX, absoluteY) أرجو أن الكل فهم مششكلتي وإذا أحد مآفهم وجآهز يحللي المشكله جآهز لو أسوي صحيفه ع شآن الحل , الله يجزآكم خيـر أعرف أنكم دآيم مآتقصرون , يا اخي لو كان دا الكود كامل هو كله اخطاء playerNameEditانت مو حاط بالكود و ضايف end end) زايده Link to comment
xTeacherx Posted September 30, 2012 Share Posted September 30, 2012 النافذة - userPanelWindow = guiCreateWindow(96,39,614,524,"Party ",false) guiSetVisible (userPanelWindow, false) function onresourceStart () bindKey ("F1", "down", xx) زر فتح النافذة end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onresourceStart) function xx () getVisible = guiGetVisible (userPanelWindow) playerName = getPlayerName ( getLocalPlayer() ) if (getVisible == true) then guiSetVisible (userPanelWindow, false) end if (getVisible == false) then guiSetVisible (userPanelWindow, true) showCursor (true) playerGridList = guiCreateGridList(10,28,106,487,false,userPanelWindow) playersColumn = guiGridListAddColumn(playerGridList,"Players",0.85) guiGridListSetSelectionMode(playerGridList,2) for id, plaItem in ipairs(getElementsByType("player")) do row = guiGridListAddRow ( playerGridList ) guiGridListSetItemText ( playerGridList, row, playersColumn, getPlayerName ( plaItem ), false, false ) end end end Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now