Jump to content

billal

Members
  • Posts

    132
  • Joined

  • Last visited

Everything posted by billal

  1. ×مبدع × بس ممكن تشرح ليه شو سويت بضبط * اشتغل الكود الاكواد :, GUIEditor = { button = {}, window = {} } GUIEditor.window[1] = guiCreateWindow(443, 85, 550, 456, "", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetVisible (GUIEditor.window[1], false ) GUIEditor.button[1] = guiCreateButton(9, 65, 230, 37, "Goood", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(9, 402, 230, 37, "", false, GUIEditor.window[1]) GUIEditor.button[3] = guiCreateButton(187, 214, 298, 41, "", false, GUIEditor.window[1]) addEventHandler("onClientGUIClick",root, function ( ) if ( source == GUIEditor.button[1] ) then setWeather ( 9 ) end end ) bindKey ( "F2", "down", function () guiSetVisible (GUIEditor.window[1], not guiGetVisible (GUIEditor.window[1])) showCursor (guiGetVisible (GUIEditor.window[1])) end) انت بس حدفت دول addEventHandler("onClientResourceStart", resourceRoot, function() ممكن شرح لماذا & وشكرا يا باسل انت كنت حاط كود يخرب المود انا حذفته+كان معاك خطا بملف الميتا
  2. GUIEditor = { checkbox = {}, edit = {}, button = {}, window = {}, gridlist = {} } GUIEditor.window[1] = guiCreateWindow(165, 176, 669, 494, "", false) guiWindowSetSizable(GUIEditor.window[1], false) SupportList = guiCreateGridList(9, 23, 650, 421, false, GUIEditor.window[1]) guiGridListAddColumn(SupportList, "Message",1) GUIEditor.edit[1] = guiCreateEdit(10, 447, 434, 37, "", false, GUIEditor.window[1]) GUIEditor.checkbox[1] = guiCreateCheckBox(445, 444, 109, 40, "اخفاء الاسم", false, false, GUIEditor.window[1]) guiSetFont(GUIEditor.checkbox[1], "default-bold-small") GUIEditor.button[1] = guiCreateButton(553, 443, 106, 41, "ارسال", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetEnabled (SupportList, false ) addEventHandler("onClientGUIClick",GUIEditor.button[1],function () if guiGetText(GUIEditor.edit[1]) ~= '' then triggerServerEvent("allPlayers",localPlayer,guiGetText(GUIEditor.edit[1])) end end, false) addEvent('Suppport',true) addEventHandler('Suppport',root,function (Message,PlrName ) local Roww = guiGridListAddRow(SupportList) if PlrName == tonumber(PlrName) then elseif ( guiCheckBoxGetSelected( GUIEditor.checkbox[1] ) == true ) then guiGridListSetItemText(SupportList,Roww,1," unknown :" ..Message,false,false) guiGridListSetItemColor (SupportList,Roww,1,255,0,0) elseif ( guiCheckBoxGetSelected( GUIEditor.checkbox[1] ) == false ) then guiGridListSetItemText(SupportList,Roww,1," "..PlrName.." : " ..Message,false,false) guiGridListSetItemColor (SupportList,Roww,1,0,255,0) end end) addEvent('allPlayers',true) addEventHandler('allPlayers',root, function (Message) for i, v in ipairs ( getElementsByType( 'player' ) ) do triggerClientEvent(v,'Suppport',v,Message,getPlayerName(source):gsub("#%x%x%x%x%x%x", "")) end end)
  3. باسل حمل المود معدل من هون http://www.up-00.com/?Accp
  4. صح اذا تبي تغير متا كدا ما تحتاح تعمل الفولدر اللي اسمه mood1
  5. GUIEditor = { button = {}, window = {} } GUIEditor.window[1] = guiCreateWindow(443, 85, 550, 456, "", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetVisible (GUIEditor.window[1], false ) GUIEditor.button[1] = guiCreateButton(9, 65, 230, 37, "Goood", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(9, 402, 230, 37, "", false, GUIEditor.window[1]) GUIEditor.button[3] = guiCreateButton(187, 214, 298, 41, "", false, GUIEditor.window[1]) addEventHandler("onClientGUIClick",root, function ( ) if ( source == GUIEditor.button[1] ) then setWeather ( 9 ) end end ) bindKey ( "F2", "down", function () guiSetVisible (GUIEditor.window[1], not guiGetVisible (GUIEditor.window[1])) showCursor (guiGetVisible (GUIEditor.window[1])) players () end)
  6. تفضل على الميديا فاير http://www.mediafire.com/download/thgi4 ... Editor.rar
  7. عن جد مب حلو بالتوفيق
  8. guiGridListSetItemText (GUIEditor.gridlist[1],rw,1," "..oldNick.." is now known as "..newNick..",255,255,255)
  9. function Le3bA ( button ) if button == "enter" then outputChatBox ( "???????", player, 0, 255, 0, true ) addEventHandler("onClientKey", root, Le3bA)
  10. كلينت [lua]local screenW, screenH = guiGetScreenSize() Panel = guiCreateWindow((screenW - 271) / 2, (screenH - 453) / 2, 271, 453, "نظام تحويل المال سيرفر مهمات الاجرام", false) guiWindowSetSizable(Panel, false) guiSetProperty(Panel, "CaptionColour", "FFF7FDFE") guiSetVisible(Panel,false) Button1 = guiCreateButton(12, 354, 249, 35, "تحويل", false, Panel) guiSetFont(Button1, "default-bold-small") guiSetProperty(Button1, "NormalTextColour", "FFF7FDFE") Button2 = guiCreateButton(14, 397, 247, 35, "خروج", false, Panel) guiSetFont(Button2, "default-bold-small") guiSetProperty(Button2, "NormalTextColour", "FFF7FDFE") Label = guiCreateLabel(14, 249, 247, 100, "مرحباً بك في السيرفر \nاذا كنت تريد تحويل المال\nمن وهمي الا حقيقي \nمن فضلك اضغط على تحويل\nاذا كنت لا تريد ذلك من فضلك\nاضغط على زر خروج", false, Panel) guiSetFont(Label, "default-bold-small") guiLabelSetColor(Label, 247, 253, 254) guiLabelSetHorizontalAlign(Label, "center", false) guiLabelSetVerticalAlign(Label, "center") IMG = guiCreateStaticImage(24, 24, 225, 225, ":MODS-money/money.png", false, Panel) bindKey ( "m" , "down" , function( ) guiSetVisible (Panel, not guiGetVisible (Panel) ) showCursor (guiGetVisible(Panel)) end ) addEventHandler("onClientGUIClick",root,function() if (source == Button1) then triggerServerEvent("money",localPlayer) elseif (source == Button2) then guiSetVisible(Panel,false) showCursor(false) end end) [/lua] سيرفر addEvent("money",true) addEventHandler("money",root, function () local PlrMoney = getPlayerMoney( source ) if PlrMoney == 0 then return end takePlayerMoney( source , PlrMoney +100 ) givePlayerMoney( source , PlrMoney ) outputChatBox ( "$100 تم التحويل مقابل", player, 0, 255, 0, true ) end )
  11. في غلط بسيط في السطر32يا جابر انا صلحته showCursor(Panel,false)------هاذا showCursor(false)-----كدا
  12. [L]e3bA 4مواضيع نفس السؤال
  13. [quote [Gta-IS] <== نحن الأفضل و سنبقي الأفضل [/size][/center] man antom ya haDa
  14. 3amal jayiD
  15. local screenW, screenH = guiGetScreenSize() Panel = guiCreateWindow((screenW - 271) / 2, (screenH - 453) / 2, 271, 453, "نظام تحويل المال سيرفر مهمات الاجرام", false) guiWindowSetSizable(Panel, false) guiSetProperty(Panel, "CaptionColour", "FFF7FDFE") guiSetVisible(Panel,false) Button1 = guiCreateButton(12, 354, 249, 35, "تحويل", false, Panel) guiSetFont(Button1, "default-bold-small") guiSetProperty(Button1, "NormalTextColour", "FFF7FDFE") Button2 = guiCreateButton(14, 397, 247, 35, "خروج", false, Panel) guiSetFont(Button2, "default-bold-small") guiSetProperty(Button2, "NormalTextColour", "FFF7FDFE") Label = guiCreateLabel(14, 249, 247, 100, "مرحباً بك في السيرفر \nاذا كنت تريد تحويل المال\nمن وهمي الا حقيقي \nمن فضلك اضغط على تحويل\nاذا كنت لا تريد ذلك من فضلك\nاضغط على زر خروج", false, Panel) guiSetFont(Label, "default-bold-small") guiLabelSetColor(Label, 247, 253, 254) guiLabelSetHorizontalAlign(Label, "center", false) guiLabelSetVerticalAlign(Label, "center") IMG = guiCreateStaticImage(24, 24, 225, 225, ":MODS-money/money.png", false, Panel) bindKey ( "m" , "down" , function( ) guiSetVisible (Panel, not guiGetVisible (Panel) ) showCursor (guiGetVisible(Panel)) end ) addEventHandler("onClientGUIClick",root,function() if (source == Button1) then triggerServerEvent("money",localPlayer) elseif (source == Button2) then guiSetVisible(Panel,false) showCursor(false) end end)
  16. billal

    تعديل

    اند زائدة سطر33 addEventHandler("onClientGUIClick",GUIEditor.button[1],function () if guiGetText(GUIEditor.edit[1]) ~= '' then triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) guiSetText (GUIEditor.edit[1], "" ) else guiSetEnabled(GUIEditor.button[1], false) setTimer(guiSetEnabled, 3000, 1, GUIEditor.button[1], true) end end, false) addEvent("sendmessage2",true) addEventHandler("sendmessage2",root, function(Name,Text) local gg = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1, Name:gsub("#%x%x%x%x%x%x", "") .. " : " .. Text , false, false) guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 1, 0, 255, 0, 255) if ( guiCheckBoxGetSelected( GUIEditor.checkbox[1] ) == true ) then outputChatBox("[support-System] #FF0000"..Name.."#FFFFFF : #00FF00"..guiGetText(GUIEditor.edit[1]),255,255,0,true) end end) addEventHandler("onClientGUIClick", root, function() if source == GUIEditor.button[1] then local text = guiGetText(GUIEditor.edit[1]) local name = getPlayerName(source) if text == "clr" then triggerServerEvent("clearChat", localPlayer,name) end end end ) function clearChat(name) guiGridListClear(GridList) local row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1], row, 1," "..name.." Cleared Chat ", false, false) guiGridListSetItemColor(GUIEditor.gridlist[1], row, 1, 255, 0, 0) end addEvent("clearrows", true) addEventHandler("clearrows", root, clearChat)
  17. billal

    تعديل

    اطرح الكود كامل
  18. كيف امسح هاذا الموضوع؟؟؟؟؟؟؟
×
×
  • Create New...