Adham Posted June 14, 2016 Share Posted June 14, 2016 سلام عليكم انا عامل لين يكتب في ال3 ايديت يجي الكلام الجا في القريد لست طلعت ودخلت ما لقتها محفوظه .. محاولتي م ظبت= كلنت : addEventHandler("onClientGUIClick",root, function () if ( source == GUIEditor.button[1]) then if ( guiGetText ( editname ) and guiGetText ( GUIEditor.edit[2] ) and guiGetText ( GUIEditor.edit[1] ) ~= '' ) then local row = guiGridListAddRow ( gridlist) guiGridListSetItemText (gridlist,row,Column1,guiGetText(editname),false,false) guiGridListSetItemText (gridlist,row,Column2,guiGetText(edit),false,false) guiGridListSetItemText (gridlist,row,Column3,guiGetText(GUIEditor.edit[1]),false,false) triggerServerEvent("save",localPlayer,Column1,Column2,Column3) end end end ) addEvent("save",true) addEventHandler("save",root,function (Column1,Column2,Column3) local result = executeSQLQuery ( "SELECT * FROM `Save_Columns` WHERE `serial` = ?", getPlayerSerial (source) ) executeSQLQuery("INSERT INTO Save_Columns(serial,Column1,Column2,Column3) VALUES(?,?,?,?)",getPlayerSerial(source),Column1,Column2,Column3) triggerClientEvent (source, "Get:Columns",source,result) end) Link to comment
Mr.CoR Posted June 14, 2016 Share Posted June 14, 2016 خش هنا اعلمك https://titanpad.com/vMEB9aPoMP?skipIphoneCheck=1 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