Mr-M3AND
Members-
Posts
312 -
Joined
-
Last visited
Everything posted by Mr-M3AND
-
سويت لك هذا المثال جربه :: Client local sx, sy = guiGetScreenSize ( ) local mx, my = ( sx - 200 )/2 , ( sy - 165 )/2 function dxImage() dxDrawImage(mx, my,200,165,"Mr-M3AND.png", 0, 0, 0, tocolor (255, 255, 255, 190),false) end addEventHandler("onClientRender",root, dxImage) function M3AND (_, _, x, y ) if ( y >= my + 4 and y <= my + 150 ) then if ( x >= mx + 1 and x <= mx + 195 ) then removeEventHandler("onClientRender",root, dxImage) end end end addEventHandler ( "onClientClick",root,M3AND)
-
dx اعتقد هذا يستخدم لل onClientClick
-
setTimer(function() guiSetProperty(getControl(wndMain, 'إنتحار'), "NormalTextColour", string.format("%.2X%.2X%.2X%.2X", 255, math.random(255), math.random(255), math.random(255))) end,250,0) طبعا الكود مو لي^^
-
الابداع واضح ماشاء الله , اتمنى لك التوفيق
-
اتمنى لكم التوفيق
-
local groupName = '[s.S]' local oH = createMarker(2167.43530,594.94537,17.41845,"arrow",2.5,255,0,0) addEventHandler('onMarkerHit',oH,function(entered) if getElementType(entered) == 'player' and not isPedInVehicle(entered) and getElementData(entered,'Group') == groupName then setElementPosition( entered,2320.28320,-1026.03394,1050.21094) setElementInterior ( entered, 9 ) setElementDimension ( entered, 1 ) end end ) local eH = createMarker(2317.75146,-1026.76245,1052.21777,"arrow",2.5,255,0,0) setElementInterior ( eH, 9 ) setElementDimension ( eH, 1 ) addEventHandler('onMarkerHit',eH,function(entered) if getElementType(entered) == 'player' and not isPedInVehicle(entered) and getElementData(entered,'Group') == groupName then setElementPosition( entered,2162.73853,597.44305,16.41845) setElementInterior ( entered, 0 ) setElementDimension ( entered, 0 ) end end )
-
اتمنــى لك التـوفيـــق تقبــل مـروري
-
Shop Race v1 | شوب الريس الاصدار الاول من صنعي
Mr-M3AND replied to SaRy,#DanGer's topic in المساهمات
شوب رائع يعطيك العافية تقبل مروري -
بالتوفيق , تقبل مروري
-
اللي اقصده ابي الشخصية تروح لمكان محدد وانها تمشي على الشارع وتلف يمين ويسار وكذا ماابيه يمر خلال المباني
-
ماشاء الله مود اكثر من رائع ,, بالتوفيق لك
-
سلام عليكم شباب ممكن طريقة تخلي شخصية تمشي لمكان محدد بدون ماتصطدم بالمباني يعني تمشي على الشارع لين توصل الموقع المحدد وشكراً
-
لكثرة الطلب مود الماركر الذى يعطى صحة + درع
Mr-M3AND replied to ™!>VàLéNTiNô<!™'s topic in المساهمات
رائع , يعطيك العافية -
-- Server -- addEvent ( "getMoney", true ); addEventHandler ( "getMoney", root, function ( select ) local gPlayer = getPlayerFromName ( select); if gPlayer == false then return end local pMoney = getPlayerMoney ( gPlayer ); triggerClientEvent ( source, "SetMoneyInLabel", source, pMoney ); end );
-
ماشاءالله فكره ماتطري على البال , واصل يابطل وبالتوفيق
-
مود رائع ماشاء الله, بالتوفيق لك
-
:: Client praca = createMarker( 952.96497, -910.00677, 44.76563, "cylinder", 1.5, 255, 0, 0) GUIEditor = { memo = {}, button = {}, window = {} } addEventHandler ("onClientMarkerHit", praca, function ( hitPlayer ) if ( hitPlayer == localPlayer ) then Oknotaxi = guiCreateWindow(0.29, 0.24, 0.42, 0.49, "وظيفة المجرم By:RsmTk7lm", true) guiSetVisible(Oknotaxi, true) showCursor (true) Pakceptuj = guiCreateMemo(0.08, 0.20, 0.41, 0.67, "", false, Oknotaxi) Pakceptuj = guiCreateButton(0.60, 0.20, 0.34, 0.17, "اضغط هنا للتوضيف", true, Oknotaxi) guiSetFont(Pakceptuj, "sa-header") guiSetProperty(Pakceptuj, "NormalTextColour", "FFAAAAAA") addEventHandler("onClientGUIClick", Pakceptuj, Dolacz, false) GUIEditor.memo[1] = guiCreateMemo(0.08, 0.20, 0.41, 0.67, "تنبيه ادا قتلت المجرمين كثير سوف تحصل على رتبت [King] وشكرا", true, Oknotaxi) end end ) function OknoTaxi(leavePlayer) if (leavePlayer == localPlayer) then guiSetVisible (Oknotaxi,false) showCursor (false) end end addEventHandler ("onClientMarkerLeave", praca, OknoTaxi) addEventHandler( "onClientResourceStart", getRootElement( ), function ( startedRes ) createBlipAttachedTo( praca, 43); end ) function zamknij() if source == Pakceptuj then guiSetVisible (Oknotaxi, false) showCursor (false) end end addEventHandler ("onClientGUIClick", root, zamknij) function Dolacz() triggerServerEvent("sTeame", localPlayer, "teamSet") end
-
انت وش تبي تسوي بالضبط حاسبه ولا رقم سري ولا وش مسوي 3 ميمو وازرار عبارة عن ارقام وهي مثل الرمز السري لما اضغط رقم يطلع بالميمو الاول , وإذا الميمو الاول فيه رقم , خلاص مايصير اكتب فيه رقم والرقم اللي بعده يكون في الميمو الثاني , ونفس الكلام فوق بعدها في الميمو الثالث الكود اللي اعطيتك فوق ^ نفس اللي تبيه . شكلك نسخت الجزء الاخير من الكود , لازم تنسخه كامل عشان يشتغل
-
جربه سويته لك بالايديت Window = guiCreateWindow(329, 162, 142, 370, "Keypad", false) guiWindowSetSizable(Window, false) b1 = guiCreateButton(13, 68+30, 37, 36, "1", false, Window) b2 = guiCreateButton(53, 68+30, 37, 36, "2", false, Window) b3 = guiCreateButton(93, 68+30, 37, 36, "3", false, Window) b4 = guiCreateButton(13, 108+30, 37, 36, "4", false, Window) b5 = guiCreateButton(53, 108+30, 37, 36, "5", false, Window) b6 = guiCreateButton(93, 108+30, 37, 36, "6", false, Window) b7 = guiCreateButton(13, 148+30, 37, 36, "7", false, Window) b8 = guiCreateButton(53, 148+30, 37, 36, "8", false, Window) b9 = guiCreateButton(93, 148+30, 37, 36, "9", false, Window) bAtrix = guiCreateButton(13, 188+30, 37, 36, "*", false, Window) b0 = guiCreateButton(53, 188+30, 37, 36, "0", false, Window) bHex = guiCreateButton(93, 188+30, 37, 36, "#", false, Window) bExit = guiCreateButton(13, 228+30, 37, 36, "Exit", false, Window) bEnter = guiCreateButton(53, 228+30, 37, 36, "Enter", false, Window) bClear = guiCreateButton(93, 228+30, 37, 36, "Clear", false, Window) N1 = guiCreateEdit(19-15, 29, 31+4, 35, "", false, Window) guiEditSetReadOnly(N1,true) N2 = guiCreateEdit(53-6, 29, 31+4, 35, "", false, Window) guiEditSetReadOnly(N2,true) N3 = guiCreateEdit(89-6, 29, 31+4, 35, "", false, Window) guiEditSetReadOnly(N3,true) showCursor(true) function buttons (button,state) if button == "left" and state == "up" then if getElementType(source) == "gui-button" then triggerEvent("onClicking" , source) end end end addEventHandler('onClientGUIClick' , Window , buttons) addEvent("onClicking" , false) addEventHandler("onClicking" , root , function () if guiGetText(N1) == "" then guiSetText(N1,guiGetText(source)) elseif guiGetText(N1) ~= "" and guiGetText(N2) == "" then guiSetText(N2,guiGetText(source)) elseif guiGetText(N1) ~= "" and guiGetText(N2) ~= "" and guiGetText(N3) == "" then guiSetText(N3,guiGetText(source)) end end )
-
الكود هذا شغال , اطرح كود البوابة الثانية
-
اطرح كود البوابة
-
+ getElementData -- نتحقق من القروب