Jump to content

MR.Su1T4N

Members
  • Posts

    74
  • Joined

  • Last visited

Everything posted by MR.Su1T4N

  1. شباب المشكله انه يكرر
  2. معليش بس فيه كود عندي بعد فيه نفس الخطاء GUIEditor = { tab = {}, tabpanel = {}, edit = {}, button = {}, window = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(202, 153, 413, 387, "", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible (GUIEditor.window[1], false) GUIEditor.tabpanel[1] = guiCreateTabPanel(9, 22, 395, 356, false, GUIEditor.window[1]) GUIEditor.tab[1] = guiCreateTab("Tab", GUIEditor.tabpanel[1]) GUIEditor.button[1] = guiCreateButton(59, 237, 114, 41, "تسجيل الدخول", false, GUIEditor.tab[1]) GUIEditor.button[2] = guiCreateButton(222, 237, 114, 41, "تسجيل ", false, GUIEditor.tab[1]) GUIEditor.edit[1] = guiCreateEdit(94, 129, 189, 36, "", false, GUIEditor.tab[1]) GUIEditor.edit[2] = guiCreateEdit(94, 185, 141, 36, "", false, GUIEditor.tab[1]) end ) bindKey ( "F2" , "down" , function() guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1])) showCursor(not isCursorShowing()) end ) addEventHandler ("onClientGUIClick", getRootElement(), function(button, state, absoluteX, absoluteY) if ( source == GUIEditor.button[1] ) then triggerServerEvent("onlogin",getLocalPlayer(), guiGetText(GUIEditor.edit[1]), guiGetText(GUIEditor.edit[2])) elseif ( source == GUIEditor.button[2] ) then triggerServerEvent("onregister",getLocalPlayer(), guiGetText(GUIEditor.edit[1]), guiGetText(GUIEditor.edit[2])) end end ) ^هذا الكلينت^ addEvent("onlogin",true) addEventHandler("onlogin",getRootElement(), function (user,pass) local account = getAccount(user,pass) if ( account ) then logIn(source,account,pass) else outputChatBox("* Worng Username Or Password",source,255,0,0) end end ) addEvent("onregister",true) addEventHandler("onregister",getRootElement(), function (user,pass) local account = getAccount(user,pass) if ( account ) then outputChatBox("* This Account is Already Used",source,255,0,0) else addAccount(user,pass) outputChatBox("UserName: " .. user .. " PassWord : " .. pass,source,0,150,255) end end ) ^هذا سيرفر^ بس ابي اعرف وش المشكله
  3. شرح يا اخوي edit: شباب ابي كود يبدل بدال التاب button edit #2: طيب شباب تكفون ابي الفنكشتات حقته
  4. اكثر شيء مشفر جيب شوب مو مشفر edit: خلاص مشكورين وماقصرتو معي والله يوفقكم ويجمعنا في الجنه انشاء الله
  5. كفووووو وليد بس ناقص عدد القتل وعدد الموت edit: شباب زبط كل شيء بس نقص حق الدخان وسوبر قنابل سوبر تفجير
  6. وليد اسمع انا ابي اذا ضغط الزر يطلع في الشات عدد الفلوس
  7. طيب شرح للسيرفر edit: انا اعرف اسوي بس فيه اخطاء وربي
  8. addEventhandler ("onClientGUIClick"MR.5u1T4N, getRootElement(), function(bool, element, string) if (source == h ) then triggerserverEvent("s",getRootElement(), greetinghandler ) ^هذا التريقر حق الكلينت كذا^
  9. وش التريقر edit: تابل اسمع وش التريقر
  10. شوف تابل هذا الكلينت GUIEditor = { tab = {}, window = {}, tabpanel = {} } GUIEditor.window[1] = guiCreateWindow(235, 139, 385, 329, "", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible (GUIEditor.window[1], false) GUIEditor.tabpanel[1] = guiCreateTabPanel(9, 21, 367, 299, false, GUIEditor.window[1]) GUIEditor.tab[1] = guiCreateTab("Tab", GUIEditor.tabpanel[1]) scoreB1 = guiCreateButton(79, 101, 215, 103, "Kills", false, GUIEditor.tab[1]) guiSetFont(scoreB1, "sa-gothic") bindKey ( "F2" , "down" , function() guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1])) showCursor(not isCursorShowing()) end ) edit: شباب تكفون شوفولي حل
  11. اضغط مايطلع في الشات شيء
  12. طيب تابل وربي ما زبط ليش
  13. مشكور ماقصرت الله يوفقك
  14. GUIEditor = { tabpanel = {}, tab = {} } addEventHandler("onClientResourceStart", resourceRoot, function() shopWindow = guiCreateWindow(224, 129, 442, 389, "shop send", false) guiSetVisible (shopWindow, false) guiWindowSetSizable(shopWindow, false) guiSetAlpha(shopWindow, 1.00) GUIEditor.tabpanel[1] = guiCreateTabPanel(9, 21, 424, 359, false, shopWindow) GUIEditor.tab[1] = guiCreateTab("Tab", GUIEditor.tabpanel[1]) setTimer( function() playerList = guiCreateGridList(8, 8, 154, 322, false, GUIEditor.tab[1]) guiGridListSetSelectionMode(playerList, 2) local cl = guiGridListAddColumn(playerList, "Players List ...", 0.85) if ( cl and guiGetVisible(shopWindow) == true ) then for _,name in ipairs(getElementsByType("player")) do local rw = guiGridListAddRow(playerList) guiGridListSetItemText(playerList, rw, cl, getPlayerName(name), false, false) end addEventHandler("onClientGUIClick", playerList, onClickPlayerName) end end ,4000,0) guiLabelSetColor(ii,255,0,0) function onClickPlayerName () local name = guiGridListGetItemText(playerList, guiGridListGetSelectedItem(playerList), 1) guiSetText(nameEdit, name) end addEventHandler("onClientGUIClick",getRootElement(), function() if ( source == sendBTN ) then playerNick = guiGetText(nameEdit) amount = guiGetText(amountEdit) triggerServerEvent("onSendMoney", getLocalPlayer(), playerNick, amount) end end) function onClickPlayerName () local name = guiGridListGetItemText(playerList, guiGridListGetSelectedItem(playerList), 1) guiSetText(nameEdit, name) end addEventHandler("onClientGUIClick",getRootElement(), function() if ( source == sendBTN ) then playerNick = guiGetText(nameEdit) amount = guiGetText(amountEdit) triggerServerEvent("onSendMoney", getLocalPlayer(), playerNick, amount) end end) nameEdit = guiCreateEdit(211, 115, 165, 35, "", false, GUIEditor.tab[1]) amountEdit = guiCreateEdit(211, 169, 165, 35, "", false, GUIEditor.tab[1]) sendBTN = guiCreateButton(213, 226, 102, 39, "send", false, GUIEditor.tab[1]) end ) ------------------------- guiSetVisible(shopWindow,false) bindKey ( "F2" , "down" , function() if ( guiGetVisible ( shopWindow ) == true ) then guiSetVisible ( shopWindow ,false ) showCursor (false ) guiSetInputEnabled(false) elseif ( guiGetVisible ( shopWindow ) == false ) then guiSetVisible ( shopWindow ,true ) showCursor (false ) guiSetInputEnabled(true) end end ) طيب
  15. تكفون ابي حل للكود addEvent("onSendMoney", true) addEventHandler("onSendMoney", getRootElement(), function(who, player) local money = getPlayerMoney(source) if tonumber(player) >= 200 then if tonumber(player) <= money then toWho = getPlayerFromName(who) if toWho ~= false then givePlayerMoney(toWho, player) takePlayerMoney(source, player) name = getPlayerName(source) outputChatBox("* You have given money amount of: #00ff00$" .. player .. " #0099ccto: #ff0000" .. who, source, 0, 150, 255, true) outputChatBox("* ".. name .. " #ff0000has given you money amount of: #00ff00$" .. player .. " #ff0000!", toWho, 255, 0, 0, true) else outputChatBox("* Player did not exist !", source, 255, 0, 0) end else outputChatBox("* you dont have enough money !", source, 255, 0, 0) end else outputChatBox("* the Less amount must be #00ff00$200 !", source, 255, 0, 0) end end )
  16. شباب وين احطه في كلنيت او سيرفر addEvent("scoreB1", true) addEventHandler("scoreB1", root, function() local kill = getElementData(source, "Kills") local death = getElementData(source, "Deaths") if (kill ~= false) and (death ~= false) then outputChatBox("Your Kill: "..kill.." | Your Death: "..death, root, 255, 255, 0, true) end end)
  17. وربي متاكد بس المشكله انه مايضغط client function guiCreateWindow(x,y,z,h,text,trfa) local Window = guiCreateStaticImage(x,y,z,h,"sultan alhrby.png",trfa) local Text1 = guiCreateLabel(0,0,250,100,text,false,Window) guiSetEnabled(Text1,false) return Window end GUIEditor = { button = {}, window = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(271, 136, 298, 284, "", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FF000000") GUIEditor.button[1] = guiCreateButton(200, 75, 85, 32, "اهل الاول", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(10, 117, 85, 32, "الاصلاتي", false, GUIEditor.window[1]) GUIEditor.button[3] = guiCreateButton(105, 117, 85, 32, "الله يديم الفرح", false, GUIEditor.window[1]) GUIEditor.button[4] = guiCreateButton(200, 117, 85, 32, "يا نسمت العمر", false, GUIEditor.window[1]) GUIEditor.button[5] = guiCreateButton(200, 29, 85, 32, "~@ إغـلاق @~", false, GUIEditor.window[1]) GUIEditor.button[6] = guiCreateButton(10, 159, 85, 32, "1", false, GUIEditor.window[1]) GUIEditor.button[7] = guiCreateButton(105, 159, 85, 32, "يا عين هلي", false, GUIEditor.window[1]) GUIEditor.button[8] = guiCreateButton(200, 159, 85, 32, "يا قمر نورعلينا", false, GUIEditor.window[1]) GUIEditor.button[9] = guiCreateButton(10, 159, 85, 32, "نحكي الفرح طاري على", false, GUIEditor.window[1]) GUIEditor.button[10] = guiCreateButton(86, 208, 124, 39, "ايقاف", false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(59, 253, 194, 21, "المود من قبل سلطان الحربي ", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[1], 207, 188, 14) GUIEditor.button[11] = guiCreateButton(10, 75, 85, 32, "اسبوع مر", false, GUIEditor.window[1]) GUIEditor.button[12] = guiCreateButton(105, 75, 85, 32, "مشيت بارض", false, GUIEditor.window[1]) GUIEditor.label[2] = guiCreateLabel(10, 0, 275, 26, "~@~mod al-anashed by sultan alharby~@~", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[2], 0, 0, 0) end )addEventHandler("onClientGUIClick", root, function() if(source == GUIEditor.button[1])then if(sound)then return end sound = playSound3D("http://download1336.mediafire.com/b3f2xdtjj6fg/ira1s7v34xac9ov/4.mp3",root) elseif(source == GUIEditor.button[10])then if(sound)then stopSound(sound) sound = nil end end end ) addEventHandler("onClientGUIClick", root, function() if(source == GUIEditor.button[2])then if(sound)then return end sound = playSound("4.mp3",root) elseif(source == GUIEditor.button[10])then if(sound)then stopSound(sound) sound = nil end end end ) addEventHandler("onClientGUIClick", root, function() if(source == GUIEditor.button[3])then if(sound)then return end sound = playSound("5.mp3",true) elseif(source == GUIEditor.button[10])then if(sound)then stopSound(sound) sound = nil end end end ) addEventHandler("onClientGUIClick", root, function() if(source == GUIEditor.button[4])then if(sound)then return end sound = playSound("6.mp3",true) elseif(source == GUIEditor.button[10])then if(sound)then stopSound(sound) sound = nil end end end ) addEventHandler("onClientGUIClick", root, function() if(source == GUIEditor.button[6])then if(sound)then return end sound = playSound("1.mp3",true) elseif(source == GUIEditor.button[10])then if(sound)then stopSound(sound) sound = nil end end end ) addEventHandler("onClientGUIClick", root, function() if(source == GUIEditor.button[7])then if(sound)then return end sound = playSound("8.mp3",true) elseif(source == GUIEditor.button[10])then if(sound)then stopSound(sound) sound = nil end end end ) addEventHandler("onClientGUIClick", root, function() if(source == GUIEditor.button[8])then if(sound)then return end sound = playSound("9.mp3",true) elseif(source == GUIEditor.button[10])then if(sound)then stopSound(sound) sound = nil end end end ) addEventHandler("onClientGUIClick", root, function() if(source == GUIEditor.button[9])then if(sound)then return end sound = playSound("7.mp3",true) elseif(source == GUIEditor.button[10])then if(sound)then stopSound(sound) sound = nil end end end ) addEventHandler("onClientGUIClick", root, function() if(source == GUIEditor.button[12])then if(sound)then return end sound = playSound("2.mp3",true) elseif(source == GUIEditor.button[10])then if(sound)then stopSound(sound) sound = nil end end end ) addEventHandler("onClientGUIClick", root, function() if(source == GUIEditor.button[11])then if(sound)then return end sound = playSound("1.mp3",true) elseif(source == GUIEditor.button[10])then if(sound)then stopSound(sound) sound = nil end end end ) addEventHandler('onClientGUIClick',root, function() if source == GUIEditor.button[5] then guiSetVisible(GUIEditor.window[1],false) showCursor(false) end end ) function Color ( ) guiLabelSetColor ( GUIEditor.label[1], math.random(0, 255), math.random(0, 255), math.random(0, 255) ) end setTimer ( Color, 50, 0 ) outputChatBox("~][ ▼▬█░▇▆▅▄ مَوِدِ أّلَأّنِأّشٍيِّدِ مَنِ قِبلَ َّسلَطّأّنِ أّلَحٌربيِّ لَفِّتّحٌ أّلَمَوِدِ أّفِّ12 ▃▅▆▇░█▬▼][~ ",255,0,0,ture)
  18. اسمع اذا ضغطة عليه ما يشتغل ليش
  19. معليش انا نسخة الميتا غلط بس وش مو راضي يشتغل وربي معقد
  20. وربي متاكد 100% بس فيه خطاء في الميتا
  21. زاحف يقول ERROR: Couldn't parse meta file for resource 'mod-alanashed-by-sultan-alhrby' Loading of resource 'mod-alanashed-by-sultan-alhrby' failed
  22. "NoOo" version="3.0.3" type="script" name="Shop" description="Shop" />
×
×
  • Create New...