1REDBULL Posted June 23, 2014 Posted June 23, 2014 السلام عليكم GUIEditor = { gridlist = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(821, 343, 219, 410, "VEHICLE", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.gridlist[1] = guiCreateGridList(10, 28, 198, 367, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "3.D", 0.9) for i = 1, 2 do guiGridListAddRow(GUIEditor.gridlist[1]) end guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "PO1", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 1, 1, "PO2", false, false) if guiGridListSetSelectedItem ( GUIEditor.gridlist[1], 0, 1) then outputChatBox("hiii") end end ) addEventHandler ("onClientGUIDoubleClick", GUIEditor.gridlist[1]) كل شي تمام بس المشكله اني لا ظغطت على الرو الي محدده ما يطلع الكلام يطلع اول ما يشتغل السكربت انلحس مخي وانا احاول اظبطه بكل الطرق Level in Scripting : 10% Level in MTA : 100%
Max+ Posted June 23, 2014 Posted June 23, 2014 GUIEditor = { gridlist = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(821, 343, 219, 410, "VEHICLE", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.gridlist[1] = guiCreateGridList(10, 28, 198, 367, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "3.D", 0.9) for i = 1, 2 do guiGridListAddRow(GUIEditor.gridlist[1]) end guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "PO1", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 1, 1, "PO2", false, false) end ) addEventHandler ("onClientGUIDoubleClick", root, function ( ) if ( source == GUIEditor.gridlist[1] ) then local row, col = guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ) if ( row == -1 ) then return end local text = guiGridListGetItemText ( GUIEditor.gridlist[1], row, col ) if ( text == 'PO1' ) then outputChatBox('IAM , PO1', source, 255, 0, 0 ) elseif ( text == 'PO2' ) then outputChatBox('IAM , PO2', source, 255, 0, 0 ) end end end ) - New , Kill System - New, GameMode Intro - Leve / Exp System - New nametag showing style - New , Hud For Players - Skin Selection from SA-MP - Money System / Buy Weapons - Drop Weapons - New, Flood System - New , Group Assign - Gun license For Weapons - Random Rule System For Money
1REDBULL Posted June 24, 2014 Author Posted June 24, 2014 GUIEditor = { gridlist = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(821, 343, 219, 410, "VEHICLE", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.gridlist[1] = guiCreateGridList(10, 28, 198, 367, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "3.D", 0.9) for i = 1, 2 do guiGridListAddRow(GUIEditor.gridlist[1]) end guiGridListSetItemText(GUIEditor.gridlist[1], 0, 1, "PO1", false, false) guiGridListSetItemText(GUIEditor.gridlist[1], 1, 1, "PO2", false, false) end ) addEventHandler ("onClientGUIDoubleClick", root, function ( ) if ( source == GUIEditor.gridlist[1] ) then local row, col = guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ) if ( row == -1 ) then return end local text = guiGridListGetItemText ( GUIEditor.gridlist[1], row, col ) if ( text == 'PO1' ) then outputChatBox('IAM , PO1', source, 255, 0, 0 ) elseif ( text == 'PO2' ) then outputChatBox('IAM , PO2', source, 255, 0, 0 ) end end end ) مشكور فكيتلي عقده Level in Scripting : 10% Level in MTA : 100%
Max+ Posted June 24, 2014 Posted June 24, 2014 حياك الله , - New , Kill System - New, GameMode Intro - Leve / Exp System - New nametag showing style - New , Hud For Players - Skin Selection from SA-MP - Money System / Buy Weapons - Drop Weapons - New, Flood System - New , Group Assign - Gun license For Weapons - Random Rule System For Money
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