~Mr.Hassan Posted August 9, 2015 Share Posted August 9, 2015 السلام عليكم ابي شرح القريد ليست مثال اول ما شرطي يفتح لوحه يلاقي كل لاعبين السيرفر ابيه بس يضغط على لاعب ويضغط سلاب يعطي لاعب سلاب وشكرا Link to comment
~Mr.Hassan Posted August 9, 2015 Author Share Posted August 9, 2015 وكمان ابي شرح كيف احدد الكول شيبر كيف اجيب احداثياته وشكرا واسف عا كثره الطلبات عا اتعلم ذذ عا راجع عا الكل Link to comment
terreus Posted August 9, 2015 Share Posted August 9, 2015 لاعبين متواجدين وظيفة تغيير قيَم القريد لست إلى أسماء اللاعبين .. changeGridListItemToPlayersName = function ( GridList, Column ) if GridList and Column then -- Check Parematers if getElementType ( GridList ) == "gui-gridlist" then -- Check The Type of ' GridList ' if guiGridListClear ( GridList ) then -- Clear GridList for i, v in next, getElementsByType ( "player" ) do -- Get Everything by Type ' player ' local Row = guiGridListAddRow ( GridList ) -- Add Row guiGridListSetItemText ( GridList, Row, Column, getPlayerName ( v ), false, false ); -- Set New Values end; -- end of ' for ' end; -- end of ' clear gridlist ' end; -- end of ' check gridlist type ' end; -- end of ' check parematers end; -- end of ' function ' مثآل : wnd = guiCreateWindow ( 100, 100, 400, 400, "Test", false ); -- Create Window grid = guiCreateGridList ( 25, 30, 350, 350, false, wnd ); -- Create Gridlist col = guiGridListAddColumn ( grid, "Players", 0.9 ); -- Create Column changeGridListItemToPlayersName ( grid, col ); -- Set Gridlist Values فنكشات : guiGridListGetSelectedItem guiGridListGetItemText getPlayerFromName guiGridListClear killPed destroyElement aclGetGroup بروب Link to comment
iMr.SFA7 Posted August 9, 2015 Share Posted August 9, 2015 destroyElement aclGetGroup سلامات ؟؟ !! Link to comment
Simple. Posted August 10, 2015 Share Posted August 10, 2015 وكمان ابي شرح كيف احدد الكول شيبركيف اجيب احداثياته وشكرا واسف عا كثره الطلبات عا اتعلم ذذ عا راجع عا الكل https://community.multitheftauto.com/ind ... ls&id=3804 Link to comment
~Mr.Hassan Posted August 10, 2015 Author Share Posted August 10, 2015 وكمان ابي شرح كيف احدد الكول شيبركيف اجيب احداثياته وشكرا واسف عا كثره الطلبات عا اتعلم ذذ عا راجع عا الكل https://community.multitheftauto.com/ind ... ls&id=3804 مو كاتب كيف الاستعمال ؟ 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