Adham Posted July 24, 2016 Share Posted July 24, 2016 سلام عليكم انا عملت لما يحدد لاعب من القريد لست يجي اسم الاعب وسريال الاعب والكتبو في الايدت 1 و 2 و3 ونوع الكوم بوكس لاكن انا ظبت تمام ويجي الكتبته وجا صحبي وعمل يجي المعلومات النا كتبتها مب هوا الكتبها ونا عامل تريقر وكدا الكود addEventHandler("onClientGUIClick", resourceRoot, function() if (source == GUIEditor.gridlist[4]) then local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[4]) local text = guiGridListGetItemData(GUIEditor.gridlist[4],sel,1) local player = getPlayerFromName(text) if (player) then triggerServerEvent("getSerial", localPlayer, player ) guiSetAlpha(GUIEditor.memo[2], 0.77) else guiSetText ( GUIEditor.memo[2] , "" ) guiSetAlpha(GUIEditor.memo[2], 0.17) end end end) addEvent("setSerial",true) addEventHandler("setSerial", root, function(Name, Serial,email,edit,text,Get) local email = guiGetText ( editmail ) local edit = guiGetText ( editname ) local item = guiComboBoxGetSelected(com) local text = guiComboBoxGetItemText(com, item) local Get = guiGetText ( editcard ) if guiCheckBoxGetSelected ( GUIEditor.checkbox[1] ) then guiSetText(GUIEditor.memo[2],'Name: '..Name..'('..edit..')\nSerial: '..Serial..'\nEmail: '..email..'\nCard Type: '..text..'\nCard Code: '..Get..'\nSubscription Type: classic ') elseif guiCheckBoxGetSelected ( GUIEditor.checkbox[2] ) then guiSetText(GUIEditor.memo[2],'Name: '..Name..'('..edit..')\nSerial: '..Serial..'\nEmail: '..email..'\nCard Type: '..text..'\nCard Code: '..Get..'\nSubscription Type: special ') end end) addEvent("getSerial",true) addEventHandler("getSerial", root, function(player,email,edit,text,get,Chek) local playerName = getPlayerName(player) local playerSerial = getPlayerSerial(player) triggerClientEvent(source,"setSerial", source, playerName, playerSerial,email,edit,text,get,Chek) end) الاسم والسريال يجيو تمام Link to comment
Ahmed Ly Posted July 24, 2016 Share Posted July 24, 2016 من وين جيب email,edit,text,get,Chek ؟ Link to comment
Adham Posted July 24, 2016 Author Share Posted July 24, 2016 local email = guiGetText ( editmail ) local edit = guiGetText ( editname ) local item = guiComboBoxGetSelected(com) local text = guiComboBoxGetItemText(com, item) local Get = guiGetText ( editcard ) ونا وش اسوي الان Link to comment
Wleed1998 Posted July 24, 2016 Share Posted July 24, 2016 local email = guiGetText ( editmail ) local edit = guiGetText ( editname ) local item = guiComboBoxGetSelected(com) local text = guiComboBoxGetItemText(com, item) local Get = guiGetText ( editcard ) ونا وش اسوي الان انت بدك مود شراء يعني الي يكتبه بي الاديت بوكس يروح لك في الميمو؟ اذا كذا شوف الموضوع ذا https://forum.multitheftauto.com/viewtopic.php?f=160&t=101320 Link to comment
Wleed1998 Posted July 24, 2016 Share Posted July 24, 2016 local email = guiGetText ( editmail ) local edit = guiGetText ( editname ) local item = guiComboBoxGetSelected(com) local text = guiComboBoxGetItemText(com, item) local Get = guiGetText ( editcard ) ونا وش اسوي الان addEvent("getSerial",true) addEventHandler("getSerial", root, function(player,email,edit,text,get,Chek) local playerName = getPlayerName(player) local playerSerial = getPlayerSerial(player) triggerClientEvent(root,"setSerial", root, playerName, playerSerial,email,edit,text,get,Chek) end) جرب عدل السيرفر كذا Link to comment
Adham Posted July 24, 2016 Author Share Posted July 24, 2016 شف , كل شي شغال معي 100 % لاكن .. لما يحدد تاني احدد اسمه .. يجي معلوماتي انا ماعدا السريال والاسم يجي معلوماته يعني مثلن انا كاتب بالايدت ادهم .. احدد علي نفسي الاقي مكتوب ادهم .. احدد ع الاخر القي مكتوب ادهم وهوا كانتب شي اخر ,. Link to comment
Wleed1998 Posted July 24, 2016 Share Posted July 24, 2016 شف , كل شي شغال معي 100 % لاكن .. لما يحدد تاني احدد اسمه .. يجي معلوماتي انا ماعدا السريال والاسم يجي معلوماته يعني مثلن انا كاتب بالايدت ادهم .. احدد علي نفسي الاقي مكتوب ادهم .. احدد ع الاخر القي مكتوب ادهم وهوا كانتب شي اخر ,. طيب جرب حط ا بدل كود استقبال التقريت ب ذا addEvent("getSerial",true) addEventHandler("getSerial", root, function(player,email,edit,text,get,Chek) local playerName = getPlayerName(player) local playerSerial = getPlayerSerial(player) triggerClientEvent(root,"setSerial", root, playerName, playerSerial,email,edit,text,get,Chek) end) Link to comment
Wleed1998 Posted July 24, 2016 Share Posted July 24, 2016 م ظبت .. الان انت مسوي قريد لست لما يحدد يجي بي الميمو مثال اسمه و كذا ولا وش ض2 انا شايف فيه ايدت حسبته لما تكتب بي الاديت تروح ل الميمو Link to comment
Adham Posted July 24, 2016 Author Share Posted July 24, 2016 شف انا وش ابي اسوي .. 1- ابي لما يحدد اسم من القريد لست يجي بالميمو - 2- اسم الاعب التحدد وجنبو الكتبو في الايدت 1 3- سريال الاعب 4- الاميل الكتبو في ايدت اسمه editmail 5- الحدده من الكوم بوكس 6- الكتبو في ايدت اسمه editcard بس كدا Link to comment
Wleed1998 Posted July 24, 2016 Share Posted July 24, 2016 شف انا وش ابي اسوي .. 1- ابي لما يحدد اسم من القريد لست يجي بالميمو - 2- اسم الاعب التحدد وجنبو الكتبو في الايدت 1 3- سريال الاعب 4- الاميل الكتبو في ايدت اسمه editmail 5- الحدده من الكوم بوكس 6- الكتبو في ايدت اسمه editcard بس كدا الدي بوق يقولك شيء لما حطيت بدل سورس root Link to comment
N3xT Posted July 24, 2016 Share Posted July 24, 2016 Client : addEventHandler("onClientGUIClick", resourceRoot, function() if (source == GUIEditor.gridlist[4]) then local Row = guiGridListGetSelectedItem (GUIEditor.gridlist[4]) local select = guiGridListGetItemText (GUIEditor.gridlist[4], Row, 1) local player = getPlayerFromName(select) if (select and select ~= "") then if ( player ) then triggerServerEvent("getSerial", localPlayer, player ) guiSetAlpha(GUIEditor.memo[2], 0.77) else guiSetText ( GUIEditor.memo[2] , "" ) guiSetAlpha(GUIEditor.memo[2], 0.17) end end end end) Server : addEvent("getSerial",true) addEventHandler("getSerial", root, function(player) local playerName = getPlayerName(player) local playerSerial = getPlayerSerial(player) triggerClientEvent(source,"setSerial", source, playerName, playerSerial) end) Link to comment
Adham Posted July 24, 2016 Author Share Posted July 24, 2016 -_-" انا ابي الكتبو بالايدت كمان شوف كودي كويس فوق اول رد Link to comment
N3xT Posted July 24, 2016 Share Posted July 24, 2016 -_-"انا ابي الكتبو بالايدت كمان شوف كودي كويس فوق اول رد والله إذا صرت تعرف تشرح زين وتتكلم بساعدك لكن بالشرح حقك ذا واللي فوق فـ والله مدري وش قاعد تقول Link to comment
Adham Posted July 24, 2016 Author Share Posted July 24, 2016 بص يالذيب .. انا عامل لما يحدد اسم من القريد لست .. يجي اسم الاعب وسرياله والكتبو في الايدت اسم الايدت editmail وبعدين الحدده في الكوم بوكس وبعدين الكتبو في ايدت اسمه editcard بس كذا كل ذا يجي في الميمو Link to comment
Kara Posted July 24, 2016 Share Posted July 24, 2016 ارسل الكلام الي كتبته لي السيرفر الاول وبعدين رجعه كلينت جررب هكي addEventHandler("onClientGUIClick", resourceRoot, function() if (source == GUIEditor.gridlist[4]) then local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[4]) local text = guiGridListGetItemData(GUIEditor.gridlist[4],sel,1) local player = getPlayerFromName(text) local email = guiGetText ( editmail ) local edit = guiGetText ( editname ) local item = guiComboBoxGetSelected(com) local textTwo = guiComboBoxGetItemText(com, item) local Get = guiGetText ( editcard ) if (player) then triggerServerEvent("getSerial", localPlayer, player,email,edit,item,textTwo,Get ) guiSetAlpha(GUIEditor.memo[2], 0.77) else guiSetText ( GUIEditor.memo[2] , "" ) guiSetAlpha(GUIEditor.memo[2], 0.17) end end end) addEvent("setSerial",true) addEventHandler("setSerial", root, function(playerName, playerSerial,email,edit,textTwo,Get,Chek) if guiCheckBoxGetSelected ( GUIEditor.checkbox[1] ) then guiSetText(GUIEditor.memo[2],'Name: '..Name..'('..edit..')\nSerial: '..Serial..'\nEmail: '..email..'\nCard Type: '..textTwo..'\nCard Code: '..Get..'\nSubscription Type: classic ') elseif guiCheckBoxGetSelected ( GUIEditor.checkbox[2] ) then guiSetText(GUIEditor.memo[2],'Name: '..Name..'('..edit..')\nSerial: '..Serial..'\nEmail: '..email..'\nCard Type: '..textTwo..'\nCard Code: '..Get..'\nSubscription Type: special ') end end) سيرفر addEvent("getSerial",true) addEventHandler("getSerial", root, function(player,email,edit,item,textTwo,Get) local playerName = getPlayerName(player) local playerSerial = getPlayerSerial(player) triggerClientEvent(source,"setSerial", source, playerName, playerSerial,email,edit,textTwo,Get,Chek) end) Link to comment
Wleed1998 Posted July 24, 2016 Share Posted July 24, 2016 ارسل الكلام الي كتبته لي السيرفر الاول وبعدين رجعه كلينت جررب هكي addEventHandler("onClientGUIClick", resourceRoot, function() if (source == GUIEditor.gridlist[4]) then local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[4]) local text = guiGridListGetItemData(GUIEditor.gridlist[4],sel,1) local player = getPlayerFromName(text) local email = guiGetText ( editmail ) local edit = guiGetText ( editname ) local item = guiComboBoxGetSelected(com) local textTwo = guiComboBoxGetItemText(com, item) local Get = guiGetText ( editcard ) if (player) then triggerServerEvent("getSerial", localPlayer, player,email,edit,item,textTwo,Get ) guiSetAlpha(GUIEditor.memo[2], 0.77) else guiSetText ( GUIEditor.memo[2] , "" ) guiSetAlpha(GUIEditor.memo[2], 0.17) end end end) addEvent("setSerial",true) addEventHandler("setSerial", root, function(playerName, playerSerial,email,edit,textTwo,Get,Chek) if guiCheckBoxGetSelected ( GUIEditor.checkbox[1] ) then guiSetText(GUIEditor.memo[2],'Name: '..Name..'('..edit..')\nSerial: '..Serial..'\nEmail: '..email..'\nCard Type: '..textTwo..'\nCard Code: '..Get..'\nSubscription Type: classic ') elseif guiCheckBoxGetSelected ( GUIEditor.checkbox[2] ) then guiSetText(GUIEditor.memo[2],'Name: '..Name..'('..edit..')\nSerial: '..Serial..'\nEmail: '..email..'\nCard Type: '..textTwo..'\nCard Code: '..Get..'\nSubscription Type: special ') end end) سيرفر addEvent("getSerial",true) addEventHandler("getSerial", root, function(player,email,edit,item,textTwo,Get) local playerName = getPlayerName(player) local playerSerial = getPlayerSerial(player) triggerClientEvent(source,"setSerial", source, playerName, playerSerial,email,edit,textTwo,Get,Chek) end) كنت قآعد بسوي زيك ههه لانه رسال تقريت و مستقبله ببيانات مو معرفه ثمن ارسله كمان بيانات و عرفه بي لوكل المفروض يعرفه من البدايه من يوم حدد ع القريد local email = guiGetText ( editmail ) local edit = guiGetText ( editname ) local item = guiComboBoxGetSelected(com) local textTwo = guiComboBoxGetItemText(com, item) local Get = guiGetText ( editcard ) Link to comment
Adham Posted July 24, 2016 Author Share Posted July 24, 2016 الكود تبع Kara بيشتغل معي تمام؟ Link to comment
Wleed1998 Posted July 24, 2016 Share Posted July 24, 2016 الكود تبع Kara بيشتغل معي تمام؟ يب جرب شوف Link to comment
Kara Posted July 25, 2016 Share Posted July 25, 2016 م ظبت ي شباب برده @ نسيت شي انا جرب هذا addEventHandler("onClientGUIClick", resourceRoot, function() if (source == GUIEditor.gridlist[4]) then local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[4]) local text = guiGridListGetItemData(GUIEditor.gridlist[4],sel,1) local player = getPlayerFromName(text) local email = guiGetText ( editmail ) local edit = guiGetText ( editname ) local item = guiComboBoxGetSelected(com) local textTwo = guiComboBoxGetItemText(com, item) local Get = guiGetText ( editcard ) if (player) then triggerServerEvent("getSerial", localPlayer, player,email,edit,item,textTwo,Get ) guiSetAlpha(GUIEditor.memo[2], 0.77) else guiSetText ( GUIEditor.memo[2] , "" ) guiSetAlpha(GUIEditor.memo[2], 0.17) end end end) addEvent("setSerial",true) addEventHandler("setSerial", root, function(playerName, playerSerial,email,edit,textTwo,Get,Chek) if guiCheckBoxGetSelected ( GUIEditor.checkbox[1] ) then guiSetText(GUIEditor.memo[2],'Name: '..playerName..'('..edit..')\nSerial: '..playerSerial..'\nEmail: '..email..'\nCard Type: '..textTwo..'\nCard Code: '..Get..'\nSubscription Type: classic ') elseif guiCheckBoxGetSelected ( GUIEditor.checkbox[2] ) then guiSetText(GUIEditor.memo[2],'Name: '..playerName..'('..edit..')\nSerial: '..playerSerial..'\nEmail: '..email..'\nCard Type: '..textTwo..'\nCard Code: '..Get..'\nSubscription Type: special ') 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