-
Posts
185 -
Joined
-
Last visited
Everything posted by [iMr]-W[i]Fi,.!
-
وعليكم السلام ورحمة الله وبركاته ثاني مرة حطه في قسم العربية : بنسبة لطلبك ادخل هذا المسار MTA San Andreas 1.5\server\mods\deathmatch\resources\[gamemodes] ثم حط قيم مودك في الملف المناسب
-
-______________- https://forum.multitheftauto.com/viewtopic.php?f=161&t=98874 ------- نم اضافة الافكار بانتضار افكار اخرى
-
https://mega.nz/#!Aw4wjAxL!75tSMz1CTenosiKBXi2ka9NTMvKDpkecAa3WyHobgl8
-
وضح المود اكثر لو سمحت ,
-
getElementData من جدك تاكل بيبسي ؟
-
طلب مساعدة رح تفيدني وتفيد اصحاب السيرفرات
[iMr]-W[i]Fi,.! replied to AHMED MOSTAFA's topic in البرمجة
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) addEvent("money",true) addEventHandler("money",root, function () local PlrMoney = getPlayerMoney( source ) if PlrMoney == 0 then return end givePlayerMoney( source , PlrMoney ) takePlayerMoney( source , PlrMoney / 2 ) end ) -
السلام عليكم ورحمة الله وبركاتةة , كيفكم شباب انشاءالله تكونو باتم الصحة والعافية انا ادري انه في كم موضوع قال هذا شيء بس حبيت اوضح حاجات الاول : يفضل انه المود مايكون من التطبيقات الاندرويد و الايفون الثاني : المود بينتشر في الكومنتي وفي قسم المساهمات وفي ذذ الموضوع الثالث : الموضوع يسمح في المناقشة في المود فقط * الرابع : المود سوف يكون تصويت وسوف استمر في ذلك حتى يكتمل عدد المودات الناقصةة , اتمنى النقاط كانت واضحةة , بانتضار اراء اخرى ! ,,
-
addEventHandler('onClientGUIClick',root, function () if source == btn1 then if guiGridListGetSelectedItem == -1 then setTimer(function () guiSetEnabled(btn1,false) end,1000,1) end end end ) addEventHandler('onClientGUIClick',root, function () if source == btn2 then if guiGetText(edit) == ' ' then setTimer(function () guiSetEnabled(btn1,false) end,1000,1) end end end )
-
'onClientGUICLick' guiGridListGetSelectedItem setTimer guiSetEnabled 'onClientGUICLick' guiGetText setTimer guiSetEnabled
-
طلب مساعدة رح تفيدني وتفيد اصحاب السيرفرات
[iMr]-W[i]Fi,.! replied to AHMED MOSTAFA's topic in البرمجة
وش هي الفلوس الوهميةة ؟ -
طلب مساعدة رح تفيدني وتفيد اصحاب السيرفرات
[iMr]-W[i]Fi,.! replied to AHMED MOSTAFA's topic in البرمجة
وعليكم السلام ورحمة الله وبركاتة مافهمت شيء من الفكرة بس تفضل : GUIEditor = { button = {}, window = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() local screenW, screenH = guiGetScreenSize() GUIEditor.window[1] = guiCreateWindow((screenW - 271) / 2, (screenH - 453) / 2, 271, 453, "نظام تحويل المال سيرفر مهمات الاجرام", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFF7FDFE") guiSetVisible(GUIEditor.window[1],false) GUIEditor.button[1] = guiCreateButton(12, 354, 249, 35, "تحويل", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFF7FDFE") GUIEditor.button[2] = guiCreateButton(14, 397, 247, 35, "خروج", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFF7FDFE") GUIEditor.label[1] = guiCreateLabel(14, 249, 247, 100, "مرحباً بك في السيرفر \nاذا كنت تريد تحويل المال\nمن وهمي الا حقيقي \nمن فضلك اضغط على تحويل\nاذا كنت لا تريد ذلك من فضلك\nاضغط على زر خروج", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 247, 253, 254) guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[1], "center") IMG = guiCreateStaticImage(24, 24, 225, 225, ":MODS-money/money.png", false, GUIEditor.window[1]) end ) bindKey ( "m" , "down" , function() guiSetVisible ( GUIEditor.window[1], not guiGetVisible ( GUIEditor.window[1] ) ) showCursor ( guiGetVisible ( GUIEditor.window[1] ) ) end) addEventHandler("onClientGUIClick",root, function () if source == (GUIEditor.button[1]) then local PlayerMoney = getPlayerMoney() if ( PlayerMoney >= 100 ) then takePlayerMoney(PlayerMoney) triggerServerEvent('money',localPlayer) outputChatBox('#ff0000*#45A325 تم التحويل', 255, 255, 0,true) else outputChatBox('#ff0000*#45A325 لا يتم تحويل اقل من 100 دولار', 255, 0, 0,true) playSound("money.wav") elseif source == (GUIEditor.button[2]) then guiSetVisible(GUIEditor.window[1], false ) showCursor(false) end end end) --Server addEvent('money',true) addEventHandler('money',root, function () givePlayerMoney(source,500) -- المشكلة او حسب حلكم end) -
يخي شايف صور نساء في الصورتين الي فوق بس لابسين شيء **** مابدي اقوله بس عدله نصيحة مني ’
-
وش يجيك في دي بق , ماشوف مشكلةة ؟
-
تم انتهاء من سالفة الاخ ايرور , ايرور تعلم من عمكك ميزوو , كفو يميزو ماقصرت ’
-
addEventHandler("onClientGUIClick",GUIEditor.button[1],function () if guiGetText(GUIEditor.edit[1]) ~= '' then triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) guiSetText (GUIEditor.edit[1], " " ) end end, false)
-
تفضل , -- Code By #Cross function StartTimer() Seconds = 300 Timer = setTimer( function() local Value = Seconds - 1 Seconds = Value >= 0 and Value or 0 guiSetText(Label, math.floor( Sec / 60 )..":"..( Sec % 60 )) --- Label = الليبل حقك ., if ( Seconds == 0 ) then killTimer(Timer) guiSetVisible(GUIEditor.window[1],false) end end,1000, 0 ) end StartTimer( )
-
الصور اهه طيب و ده هذا دخان انت مسويةة ,
-
^ هو حطه يمكن في حاجة الله واعلم , بس يمكن يحتاجه هو /:
-
مافي سطر 26 اطرح سطر 26
-
يب ويفي انت فهمت قصدي لكن الاكواد حقك مب اشتغلت خطا سطر 21 جرب ذذ Marker = createMarker(602.177734375,868.09375,-42.9609375,"cylinder",2,0,0,0,0) skin1 = createPed(27,602.177734375,868.09375,-42.9609375,90) blip = createBlip(602.177734375,868.09375,-42.9609375,56) window = guiCreateWindow(250, 239, 307, 220, "وضيفة***", false) guiSetVisible (window, false ) edit = guiCreateEdit(82, 70, 150, 34, "", false, window) button = guiCreateButton(10, 174, 350, 34, "خروج", false, window) label = guiCreateLabel(82, 40, 155, 20, "كم عدد ايام السنةEntre", false, window) lblx = guiCreateLabel(140, 130, 155, 20, " ", false, window) addEventHandler("onClientMarkerHit",root, function () if source == Marker then guiSetVisible(window, true) showCursor(true) end end ) function Guess ( button ) if button == "enter" then local getit = guiGetText(edit) if 365 < tonumber(getit) then outputChatBox('365 < *** ') elseif 365 > tonumber(getit) then outputChatBox('365 > *** ') elseif 365 == tonumber(getit) then outputChatBox('تم قبولك بالوضيفة') triggerServerEvent("TakeJob",localPlayer,skin) guiSetVisible ( window, false ) showCursor ( false ) end end end addEventHandler("onClientKey", root, Guess) addEventHandler('onClientGUIClick', root,function ( ) if source == button then guiSetVisible ( window, false ) showCursor ( false ) end end )
-
-- Client addEventHandler('onClientGUIClick',root, function () if source == GUIEditor.checkbox[4] and guiComboBoxGetSelected(GUIEditor.checkbox[4]) == true then triggerServerEvent('FixNow',localPlayer) elseif source == GUIEditor.checkbox[4] and guiCheckBoxGetSelected (GUIEditor.checkbox[4]) == false then triggerServerEvent('StopHealth',localPlayer) end end ) --Server addEvent('FixNow',true) addEvent('StopHealth',true) addEventHandler('FixNow',root, function ( ) local Veh = getPedOccupiedVehicle ( source ) if getElementHealth(Veh) ~= 100 then setElementHealth(Veh,100) end end ) addEventHandler('StopHealth',root, function () if getElementHealth(Veh) ~= 100 then return end end ) -- -- Client addEventHandler('onClientGUIClick',root, function () if source == GUIEditor.checkbox[1] and guiComboBoxGetSelected(GUIEditor.checkbox[1]) == true then triggerServerEvent('nitro',localPlayer) elseif source == GUIEditor.checkbox[1] and guiCheckBoxGetSelected (GUIEditor.checkbox[1]) == false then triggerServerEvent('StopNitro',localPlayer) end end ) addEvent('nitro',true) addEvent('StopNitro',true) -- Server addEventHandler('nitro',root, function ( ) local Veh = getPedOccupiedVehicle ( source ) addVehicleUpgrade(Veh,1010) end ) addEventHandler('StopNitro',root, function () local Veh = getPedOccupiedVehicle ( source ) if not addVehicleUpgrade(Veh,1010) then return end removeVehicleUpgrade(Veh,1010) end ) -- -- Client addEventHandler('onClientGUIClick',root, function () if (source == GUIEditor.button[3]) then triggerServerEvent("FixCar", localPlayer) end end ) --Server -- Server addEvent('FixCar',true) addEventHandler( 'FixCar', root, function ( ) if not isPedInVehicle ( source ) then local Veh = getPedOccupiedVehicle ( source ) fixVehicle(Veh) outputChatBox('[RentSystem]: تم اصلاح سيارتك بنجاح ', source ,0,255,0,true ) else outputChatBox('[RentSystem]: لايوجد سيارة لاصلاحها ', source ,0,255,0,true ) end end ) -- addEventHandler("onClientGUIClick", root,function() if source == GUIEditor.checkbox[2] and guiCheckBoxGetSelected (GUIEditor.checkbox[2]) == true then triggerServerEvent('StartRandomColor',localPlayer) elseif source == GUIEditor.checkbox[2] and guiCheckBoxGetSelected (GUIEditor.checkbox[2]) == false then triggerServerEvent('StopRandomColor',localPlayer) --Server addEvent('StartRandomColor', true) addEvent('StopRandomColor',true) addEventHandler('StartRandomColor', root,function( ) local vehicle = getPedOccupiedVehicle(source) TimerColor = setTimer( function () setVehicleColor(vehicle, math.random(0,255), math.random(0,255), math.random(0,255) ) end,500,1) outputChatBox('[RentSystem]: لقد تم تشغيل الأوان العشوائية بنجاح ', source) end) addEventHandler('StopRandomColor',root, function () if isTimer( TimerColor ) then return killTimer(TimerColor) end end )
-
Groups = { "Console", "Admin", "support" } function OnPlayerACL ( player ) local accName = getAccountName ( getPlayerAccount ( player ) ) for _, v in ipairs ( Groups ) do if isObjectInACLGroup ("user."..accName, aclGetGroup ( v ) ) then triggerClientEvent ( player, "Clear", player ) end end end -- Client addEvent('Clear',true) function Cleared () if guiGetText (GUIEditor.edit[1]) == "/Clear" then if source == GUIEditor.button[1] then guiGridListClear (GUIEditor.gridlist[1]) rw = guiGridListAddRow (GUIEditor.gridlist[1]) guiGridListSetItemText (GUIEditor.gridlist[1],rw,1," "..getPlayerName(source).." - Cleard Chat",false,false) guiGridListSetItemColor(GUIEditor.gridlist[1],rw, 1, 0, 227, 254, 255) end end end addEventHandler ("CLEAR",root,Cleared) addEventHandler ("onClientGUIClick",root,Cleared)