Professional Posted January 30, 2015 Posted January 30, 2015 شباب شوفولي الكود شوفو الاخطاء key = "Z" GUIEditor = { tab = {}, staticimage = {}, tabpanel = {}, button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() local screenW, screenH = guiGetScreenSize() GUIEditor.window[1] = guiCreateWindow((screenW - 633) / 2, (screenH - 489) / 2, 633, 489, "لوحه التوزيعات السيرفر by Hassan", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.staticimage[1] = guiCreateStaticImage(9, 20, 614, 459, ":guieditor/images/examples/gift.png", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(23, 28, 194, 73, "توزيع خلاط", false, GUIEditor.staticimage[1]) addEventHandler("onClientGUIClick",root, function () takeWeapon ( thePlayer, 38 ) addEventHandler("onPlayerWasted", theRoot, getWeapon(thePlayer, 38) end end end end GUIEditor.button[2] = guiCreateButton(12, 171, 205, 71, "RBG", false, GUIEditor.staticimage[1]) addEventHandler("onClientGUIClick",root, function () takeWeapon ( thePlayer, 35 ) addEventHandler("onPlayerWasted", theRoot, getWeapon(thePlayer, 35) end end end end GUIEditor.button[3] = guiCreateButton(286, 24, 174, 77, "مليون", false, GUIEditor.staticimage[1]) addEventHandler("onClientGUIClick",root, function () for i, player in ipairs(getElementsByType('player')) do local moneys = getPlayerMoney(player) setPlayerMoney(player, 10000000) end end GUIEditor.button[4] = guiCreateButton(258, 171, 202, 71, "500 الف", false, GUIEditor.staticimage[1]) addEventHandler("onClientGUIClick",root, for i, player in ipairs(getElementsByType('player')) do local moneys = getPlayerMoney(player) setPlayerMoney(player, 500000) end end ) GUIEditor.button[5] = guiCreateButton(16, 331, 191, 82, "دبابات", false, GUIEditor.staticimage[1]) GUIEditor.button[6] = guiCreateButton(275, 327, 185, 69, "100 الف", false, GUIEditor.staticimage[1]) addEventHandler("onClientGUIClick",root, for i, player in ipairs(getElementsByType('player')) do local moneys = getPlayerMoney(player) setPlayerMoney(player, 100000) end end ) GUIEditor.tabpanel[1] = guiCreateTabPanel(465, 9, 163, 454, false, GUIEditor.staticimage[1]) GUIEditor.tab[1] = guiCreateTab("الاشخاص المراد توزيع لهم", GUIEditor.tabpanel[1]) addEventHandler("onClientGUIChanged", root, function() if source == SearchEdit then local sea = guiGetText(SearchEdit) if sea == "" then Players() end else guiGridListClear(List) for i,getAllPlayer in ipairs(getElementsByType("player")) do local PlayerName = getPlayerName(getAllPlayer) if string.find(PlayerName, sea) then local row = guiGridListAddRow(List) guiGridListSetItemText(List, row, 0, PlayerName, false, false) end end end end end ) ~ Soon - ~ قريبا
#MFGR7OM Posted January 30, 2015 Posted January 30, 2015 في سطر 22 ليش حاط theRoot عدنا من البدايه|Back
Professional Posted January 30, 2015 Author Posted January 30, 2015 المشكله عندي لما اشغل المود واضغظ حرف الي يطلع الوحه ما يطلعها ~ Soon - ~ قريبا
#DRAGON!FIRE Posted January 30, 2015 Posted January 30, 2015 كل اكوادكـ خطا ي عزيزي .. واللوحة راح تفتح للجميع لازم تسوي تحقق من الشخص وتسوي البيند كي بسيرفر او ترسل تريقر وتقول ما تفتح bindKey والمشكلة الاكبر انكـ مو مسوي To Contact Me at Skype : [email protected]
#MFGR7OM Posted January 30, 2015 Posted January 30, 2015 استخدم تحقق وبيند كي وسوي لوحة جديدة bindKey isObjectInACLGroup -- تحقق givePlayerMoney OnClientGuiClick عدنا من البدايه|Back
Professional Posted January 30, 2015 Author Posted January 30, 2015 bindKey ( "F1", "down", for _, aclGroups in ipairs ( { 'Admin', 'Moderator', 'SuperModerator' } ) do if isObjectInACLGroup ( ... , aclGetGroup ( aclGroups ) ) then elce لا تقدر ان تفتح هذه الوحه givePlayerMoney ( root, فلوس ) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) ~ Soon - ~ قريبا
#MFGR7OM Posted January 30, 2015 Posted January 30, 2015 لوووول يرجال لما تبي تستخدم تحقق للقروب حطها معها انت حاطها فوق حطها عند السطر 3+انت كاتب لا تستطيع ان تفتح اللوحة غير تستخدم اوتبوت شات بوكس عدنا من البدايه|Back
#MFGR7OM Posted January 30, 2015 Posted January 30, 2015 هذا التحقق if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then +لما تبي تقوله لا تستطيع فتح هذه اللوحة outputChatBox عدنا من البدايه|Back
Professional Posted January 30, 2015 Author Posted January 30, 2015 طيب الحين كودي فيه اي مشكله ولا لا واين في اي سطر احط التحقق حتى بس الادمن يفتحه؟ ~ Soon - ~ قريبا
#MFGR7OM Posted January 30, 2015 Posted January 30, 2015 شيل السطر الثالث وحط هذا بالسطر الثاني استبدله if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then عدنا من البدايه|Back
Professional Posted January 30, 2015 Author Posted January 30, 2015 شوف هذا كودي bindKey("o", "down", GUIEditor = { tab = {}, staticimage = {}, tabpanel = {}, button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(0, 0, 707, 574, "مود التوزيع بواسطه Hassan Meke", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.staticimage[1] = guiCreateStaticImage(9, 19, 688, 545, ":guieditor/images/examples/gift.png", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(-1, 1, 253, 98, "توزيع خلاط", false, GUIEditor.staticimage[1]) GUIEditor.button[2] = guiCreateButton(0, 192, 252, 94, "توزيع بازوكا", false, GUIEditor.staticimage[1]) GUIEditor.button[3] = guiCreateButton(1, 393, 251, 82, "اعطاء دبابة", false, GUIEditor.staticimage[1]) GUIEditor.button[4] = guiCreateButton(472, 2, 206, 107, "مليون", false, GUIEditor.staticimage[1]) GUIEditor.button[5] = guiCreateButton(469, 191, 219, 85, "مليونين", false, GUIEditor.staticimage[1]) GUIEditor.button[6] = guiCreateButton(464, 374, 220, 95, "3 مليون", false, GUIEditor.staticimage[1]) GUIEditor.tabpanel[1] = guiCreateTabPanel(252, 5, 212, 536, false, GUIEditor.staticimage[1]) GUIEditor.tab[1] = guiCreateTab("الاعبين الموجودين الان", GUIEditor.tabpanel[1]) end ) قلي وين احط الكودات او احطهم بملف ثاني وكيف بتعرف عليهم انه هذا للاخلاط... ~ Soon - ~ قريبا
#MFGR7OM Posted January 30, 2015 Posted January 30, 2015 تحت البيند كي علشان يسوي تحقق لما تفتح اللوحة انك ادمن عدنا من البدايه|Back
Professional Posted January 30, 2015 Author Posted January 30, 2015 bindKey("o", "down", if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then GUIEditor = { tab = {}, staticimage = {}, tabpanel = {}, button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(0, 0, 707, 574, "مود التوزيع بواسطه Hassan Meke", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) GUIEditor.staticimage[1] = guiCreateStaticImage(9, 19, 688, 545, ":guieditor/images/examples/gift.png", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(-1, 1, 253, 98, "توزيع خلاط", false, GUIEditor.staticimage[1]) GUIEditor.button[2] = guiCreateButton(0, 192, 252, 94, "توزيع بازوكا", false, GUIEditor.staticimage[1]) GUIEditor.button[3] = guiCreateButton(1, 393, 251, 82, "اعطاء دبابة", false, GUIEditor.staticimage[1]) GUIEditor.button[4] = guiCreateButton(472, 2, 206, 107, "مليون", false, GUIEditor.staticimage[1]) GUIEditor.button[5] = guiCreateButton(469, 191, 219, 85, "مليونين", false, GUIEditor.staticimage[1]) GUIEditor.button[6] = guiCreateButton(464, 374, 220, 95, "3 مليون", false, GUIEditor.staticimage[1]) GUIEditor.tabpanel[1] = guiCreateTabPanel(252, 5, 212, 536, false, GUIEditor.staticimage[1]) GUIEditor.tab[1] = guiCreateTab("الاعبين الموجودين الان", GUIEditor.tabpanel[1]) addEventHandler("onClientGUIChanged", root, function() if source == SearchEdit then local sea = guiGetText(SearchEdit) if sea == "" then Players() end else guiGridListClear(List) for i,getAllPlayer in ipairs(getElementsByType("player")) do local PlayerName = getPlayerName(getAllPlayer) if string.find(PlayerName, sea) then local row = guiGridListAddRow(List) guiGridListSetItemText(List, row, 0, PlayerName, false, false) end end end end ) end ) طيب وين اضيف اكواد اذا بعطيه سلاح او كذا ~ Soon - ~ قريبا
nxFairlywell Posted January 30, 2015 Posted January 30, 2015 انت خابص كلينت مع سيرفر يالحبيب Discord ID : nxFairlywell#6895
TAPL Posted January 30, 2015 Posted January 30, 2015 + كودك من اساس مافيه قريد لست + اكواد ناسخها من الويكي و مودات ثانية و مخبصها على بعض
#MFGR7OM Posted January 30, 2015 Posted January 30, 2015 حسن تحط تترك كذا كم سطر وتحط كم شارحة ------------ وتترك بعد كم سطر وتكتب الفنكشات وترقمهم حسب ارقام الازرار بالنسبة لل كلنت وسيرفر استخدم لها ترايقر تطرح من الكلنت للسيرفر وبالعكس عدنا من البدايه|Back
#MFGR7OM Posted January 30, 2015 Posted January 30, 2015 والسلاح والفلوس givePlayerMoney giveWeapon عدنا من البدايه|Back
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