Simple. Posted August 4, 2014 Share Posted August 4, 2014 هل آقدر آحط قريد لست دآخل guiAddInterpolateEffect مآعرف آسمها بآلضبط , لكن حاولت , إذآ حطيت قريد لست , مآتطلع النافذه ><" وإذآ آقدر آحط كيف ؟ Link to comment
Simple. Posted August 4, 2014 Author Share Posted August 4, 2014 local screen = { guiGetScreenSize( ) } local w, h = 173, 215 local x, y = ( screen[1] - w ) / 2, ( screen[2] - h ) / 2 window = guiCreateWindow( 307, 173, 173, 215, "Support Team", false) guiSetVisible( window, false ) guiSetProperty( window, "CaptionColour", "FF01B5B3") GUIEditor.gridlist[1] = guiCreateGridList(9, 21, 154, 184, false, window) guiGridListAddColumn(GUIEditor.gridlist[1], "Name", 0.9) for i = 1, 10 do guiGridListAddRow(GUIEditor.gridlist[1]) end guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 1, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 2, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 3, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 4, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 5, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 6, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 7, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 8, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 9, 1, "-", false, false) end ) function guiAddInterpolateEffect( ... ) return call( getResourceFromName( "GIE" ), "guiAddInterpolateEffect", unpack( { ... } ) ) end bindKey('F5','down', function( ) local isVisible = guiGetVisible( window ) if isVisible then local cx, cy = guiGetPosition( window, false ) local cw, ch = guiGetSize( window, false ) guiAddInterpolateEffect( window, cx, cy, cw, ch, 0, 0, 0, 0, 2, "Linear", "Linear", false ) else guiAddInterpolateEffect( window, 0, 0, 0, 0, x, y, w, h, 2, "Linear", "Linear", true ) end showCursor( not isVisible ) end ) Link to comment
Simple. Posted August 4, 2014 Author Share Posted August 4, 2014 كآمل , ويشتغل لكن لما آحط آلقريد لست مآيشتغل Link to comment
TAPL Posted August 4, 2014 Share Posted August 4, 2014 متأكد كامل؟ جرب ذا local screen = { guiGetScreenSize() } local w, h = 173, 215 local x, y = (screen[1] - w) / 2, ( screen[2] - h ) / 2 GUIEditor = { gridlist = {} } window = guiCreateWindow( 307, 173, 173, 215, "Support Team", false) guiSetVisible(window, false) guiSetProperty(window, "CaptionColour", "FF01B5B3") GUIEditor.gridlist[1] = guiCreateGridList(9, 21, 154, 184, false, window) guiGridListAddColumn(GUIEditor.gridlist[1], "Name", 0.9) for i = 1, 10 do guiGridListAddRow(GUIEditor.gridlist[1]) end guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 1, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 2, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 3, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 4, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 5, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 6, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 7, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 8, 1, "-", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 9, 1, "-", false, false) function guiAddInterpolateEffect(...) return call(getResourceFromName("GIE"), "guiAddInterpolateEffect", unpack({...})) end bindKey("F5", "down", function() local isVisible = guiGetVisible(window) if isVisible then local cx, cy = guiGetPosition(window, false) local cw, ch = guiGetSize( window, false) guiAddInterpolateEffect(window, cx, cy, cw, ch, 0, 0, 0, 0, 2, "Linear", "Linear", false) else guiAddInterpolateEffect(window, 0, 0, 0, 0, x, y, w, h, 2, "Linear", "Linear", true) end showCursor(not isVisible) end) Link to comment
Simple. Posted August 4, 2014 Author Share Posted August 4, 2014 يعطيك آلعافيه , بس ممكن آعرف آيش كانت آلمشكله ؟ , عششان آعرف وش آلغلط , عشان مآكرره ><" Link to comment
TAPL Posted August 4, 2014 Share Posted August 4, 2014 في سطر 22 و 23 عندك قوس و اند مدري ليه انت حاطهم لان مالهم داعي مو معرف gridlist و GUIEditor اضافة إلى ان التيبل Link to comment
Simple. Posted August 4, 2014 Author Share Posted August 4, 2014 آها يعطيك آلعافيه , يغلق 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