
yazan
Members-
Posts
1,452 -
Joined
-
Last visited
Everything posted by yazan
-
markers = { [1]={ 3056, -2079.3999023438, -68.199996948242 }, [2]={ 3047.3999023438, -2080.3999023438, -68.199996948242 }, [3]={ 3021.6999511719, -2067.8999023438, -61.200000762939 }, [4]={ 3029.3000488281, -2022.6999511719, -58 }, [5]={ 3024.6999511719, -2105.8999023438, -69.199996948242 }, [6]={ 3025.1999511719, -2000.5999755859, -66.599998474121 } } addEventHandler('onClientResourceStart',resourceRoot,function() for k,v in ipairs(markers) do d = createMarker(v[1],v[2],v[3],'cylinder',3,255,255,175,170) end end ) local white = tocolor(255,255,255,255) function dxDrawImage3D(x,y,z,w,h,m,c,r,...) local lx, ly, lz = x+w, y+h, (z+tonumber(r or 0)) or z return dxDrawMaterialLine3D(x,y,z, lx, ly, lz, m, h, c or white, ...) end local Image = dxCreateTexture("88.png") addEventHandler("onClientRender",getRootElement(), function() for k,v in ipairs(markers) do dxDrawImage3D(v[1],v[2],v[3],1,1,Image) end end) edit# dxDrawImage3D(v[1],v[2],v[3],1,1,Image) v3 حق الارتفاع عن المارك 1 1 حقت العرض و طول جرب انت مثلن dxDrawImage3D(v[1]+4,v[2]+1,v[3]+3,2,3,Image)
-
اخوي هذه الشي معروف مثلن يوم تعمل اكود على مارك بيسير عندك الشي مرتين اعمل جدول بالوظيفة يلي عندك احسن
-
local yazan = createMarker( 137, -88, 2, "cylinder", 3, 255, 255, 255, 150 ) local white = tocolor(255,255,255,255) function dxDrawImage3D(x,y,z,w,h,m,c,r,...) local lx, ly, lz = x+w, y+h, (z+tonumber(r or 0)) or z return dxDrawMaterialLine3D(x,y,z, lx, ly, lz, m, h, c or white, ...) end local Image = dxCreateTexture("FilePath") addEventHandler("onClientRender",getRootElement(), function() local xm,ym,zm = getElementPosition ( yazan ) dxDrawImage3D(xm,ym,zm,1,1,Image) end )
-
اخوي خلي عنك اسم لعبه الصيغه نفسها اكتب ب جوجل تحويل ملف من xx ال txd xx مثال txd to wtd edit# دورت لك لقيت ذا http://www.alb7ri.org/vb/alb7ri425667/
-
هههههههههههه انت مو سسحبت لو تيجي بتعدل عليه الايفنت و الفنيشن تلقاها تبدلت ب شي ثاني بعد تحديثات لو تفتح الملف يجك طوز بس المود رائع استمر
-
سلام عليكم حبيت افتح موضوع و اسئل فيه المبرمجين و المتوجدين بالمنتدى عن وش عملوا بالفتره بين اعتزلمه و رجعهم للمنتدى لانه لاحظت في كثير سحبو و رجعو للمنتدى بنسبه لي كنت مشعول بالحياه اليوميه و ما اتوجد على النت كثير
-
احترم وجهة تظرك بس تقربا المشرفين مش كل يوم في تواجد بس تابل يتواجد بشكل يومي و مو كل الوقت شغل مو ميه ميه
-
تم الفضح ههههههههههه لا تقول اني اوقت اطلب منك شي بسكايب
-
function ReplaceModel() txd = engineLoadTXD ( "1.txd" ) engineImportTXD ( txd, 1425 ) end addEventHandler("onClientResourceStart",resourceRoot, function () setTimer ( ReplaceModel, 100, 1) end)
-
امسح [/size] خخخخخخخ lua كامله ما فيها ذي الكلمه ض1 من المنتدى حطيطها من اجل تبين لك انه هذه ينحط مع الفتح guiMoveRightToCenter(INFORM_WND) كذا خليه edit GUIEditor = { label = {} } local screenW, screenH = guiGetScreenSize() INFORM_WND = guiCreateWindow((screenW - 459) / 2, (screenH - 526) / 2, 459, 526, "=[ معلومات اللاعب ]=", false) guiWindowSetSizable(INFORM_WND, false) guiSetAlpha(INFORM_WND, 0.95) guiSetVisible(INFORM_WND,false) GUIEditor.label[1] = guiCreateLabel(158, 41, 151, 26, "=[ السيريال الخاص بك ]=", false, INFORM_WND) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 0, 251, 255) guiLabelSetHorizontalAlign(GUIEditor.label[1], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[1], "center") Serial_Copy = guiCreateButton(158, 86, 151, 32, "=[ Copy |#| نسخ ]=", false, INFORM_WND) guiSetProperty(Serial_Copy, "NormalTextColour", "FFFF0066") GUIEditor.label[2] = guiCreateLabel(148, 160, 171, 27, "=[ اسم الحساب ألخاص بك ]=", false, INFORM_WND) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetColor(GUIEditor.label[2], 0, 251, 255) guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[2], "center") AccName_Copy = guiCreateButton(158, 225, 151, 32, "=[ Copy |#| نسخ ]=", false, INFORM_WND) guiSetProperty(AccName_Copy, "NormalTextColour", "FFFF0066") GUIEditor.label[3] = guiCreateLabel(158, 299, 151, 26, "=[ النك نيم الخاص بك ]=", false, INFORM_WND) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 0, 251, 255) guiLabelSetHorizontalAlign(GUIEditor.label[3], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[3], "center") NickName_Copy = guiCreateButton(158, 360, 151, 32, "=[ Copy |#| نسخ ]=", false, INFORM_WND) guiSetProperty(NickName_Copy, "NormalTextColour", "FFFF0066") GUIEditor.label[4] = guiCreateLabel(0, 402, 460, 15, "===========================================================================", false, INFORM_WND) guiLabelSetColor(GUIEditor.label[4], 215, 0, 0) GUIEditor.label[5] = guiCreateLabel(144, 417, 180, 29, "=[ Created by MR.GRAND ]=", false, INFORM_WND) guiSetFont(GUIEditor.label[5], "default-bold-small") guiLabelSetColor(GUIEditor.label[5], 0, 251, 255) guiLabelSetHorizontalAlign(GUIEditor.label[5], "center", false) Close_Button = guiCreateButton(158, 463, 151, 32, "=[ Close |#| إغلاق ]=", false,INFORM_WND) guiSetProperty(Close_Button, "NormalTextColour", "FFFF0066") Serial_EDIT = guiCreateEdit(1012, 281, 348, 30, "",false,INFORM_WND) guiSetText(Serial_EDIT,"" .. getPlayerSerial()) guiSetAlpha(Serial_EDIT, 0.00) guiEditSetReadOnly(Serial_EDIT, true) Acc__EDIT = guiCreateEdit(1012, 327, 348, 30, "",false,INFORM_WND) guiSetText ( Acc__EDIT,getElementData(localPlayer,"AccountName") ) guiSetAlpha(Acc__EDIT, 0.00) guiEditSetReadOnly(Acc__EDIT, true) NickName_EDIT = guiCreateEdit(1012, 372, 348, 30, "",false,INFORM_WND) guiSetText(NickName_EDIT,"" .. getPlayerName(localPlayer) ) guiSetAlpha(NickName_EDIT, 0.00) guiEditSetReadOnly(NickName_EDIT, true) addEventHandler( "onClientElementDataChange", root, function( dataName, OldValue ) if ( source and dataName == "AccountName" ) then guiGetText ( Acc__EDIT,getElementData(localPlayer,"AccountName") ) end end ) addEventHandler('onClientPlayerChangeNick', root, function(oldNick, newNick) guiSetText(NickName_EDIT,"" .. newNick ) end ) addEventHandler("onClientGUIClick",root, function () if source == Close_Button then if ( guiGetVisible(INFORM_WND) == false ) then showCursor(true) end guiSetVisible ( INFORM_WND, false ) showCursor(false) guiSetInputEnabled(false) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function() if ( source == NickName_Copy ) then local text = guiGetText ( NickName_EDIT ) setClipboard( text ) end end ) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == NickName_Copy ) then if ( isTimer ( TimerEnabled ) ) then return end guiSetEnabled(NickName_Copy, true) guiSetText ( source, "تم نسخ النك نيم" ) TimerEnabled = setTimer ( guiSetText, 3000, 1, source, "=[ Copy |#| نسخ ]=" ) guiSetEnabled(source, false) setTimer(guiSetEnabled, 3000, 1, NickName_Copy, true) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function() if ( source == Serial_Copy ) then local text = guiGetText ( Serial_EDIT ) setClipboard( text ) end end ) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == Serial_Copy ) then if ( isTimer ( TimerEnabled ) ) then return end guiSetEnabled(Serial_Copy, true) guiSetText ( source, "تم نسخ السيريال" ) TimerEnabled = setTimer ( guiSetText, 3000, 1, source, "=[ Copy |#| نسخ ]=" ) guiSetEnabled(source, false) setTimer(guiSetEnabled, 3000, 1, Serial_Copy, true) end end ) addEventHandler ("onClientGUIClick", getRootElement(), function() if ( source == AccName_Copy ) then local text = guiGetText ( Acc__EDIT ) setClipboard( text ) end end ) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == AccName_Copy ) then if ( isTimer ( TimerEnabled ) ) then return end guiSetEnabled(AccName_Copy, true) guiSetText ( source, "تم نسخ الحساب" ) TimerEnabled = setTimer ( guiSetText, 3000, 1, source, "=[ Copy |#| نسخ ]=" ) guiSetEnabled(source, false) setTimer(guiSetEnabled, 3000, 1, AccName_Copy, true) end end ) addEventHandler( "onClientElementDataChange", root, function( dataName, OldValue ) if ( source and dataName == "AccountName" ) then guiSetText ( Acc__EDIT,getElementData(localPlayer,"AccountName") ) end end ) function open() guiSetVisible(INFORM_WND,not guiGetVisible(INFORM_WND)) showCursor(guiGetVisible(INFORM_WND)) guiMoveRightToCenter(INFORM_WND) end bindKey ("F2", "down", open) TimeGuiSetRightC = { } function guiMoveRightToCenter(gui) if getElementData(gui,"HelhGui") == false then setElementData(gui,"HelhGui",true) local s1,s2=guiGetScreenSize() local w1,w2=guiGetSize(gui,false) local x,y = (s1-w1)/2,(s2-w2)/2 guiSetPosition(gui,-x,y,false) TimeGuiSetRightC[gui] = setTimer(guiMoveRightToCenter,50,0,gui) end local a,b=guiGetScreenSize() local w1,w2=guiGetSize(gui,false) local x,y = (a-w1)/2,(b-w2)/2 local x1,y1 = guiGetPosition ( gui, false) if (x1 >= x) then killTimer(TimeGuiSetRightC[gui]) setElementData(gui,"HelhGui",false) else guiSetPosition(gui,x1+10,y,false) end end
-
يب لانه ما يعرف للميتا ابد يحط ملف سيرفر ماب ما يعرف يعمل الميتا للاسف
-
ذول يا نوب ped1 = createPed ( 56,-6796.16309,463.41379,4.71688, 90 ) ped2 = createPed ( 46,-6818.41455,466.58963,4.76719 , 270 ) ped3 = createPed ( 46,-6817.87695,458.13892,4.76719 , 270 ) ped4 = createPed ( 56,-6817.76416,462.08676,4.62656 , 270 ) تبي انسخ لك بعد البيدات تبيه rar/zip خخخخخخخ
-
Window = guiCreateWindow(383, 213, 681, 393, "", false) guiSetVisible (Window,false) function open() if guiGetVisible(Window) == false then guiSetVisible (Window, true) [size=150] guiMoveRightToCenter(Window) [/size] showCursor(true) else showCursor(false) guiSetVisible (Window,false) end end bindKey ("F2", "down", open) TimeGuiSetRightC = { } function guiMoveRightToCenter(gui) if getElementData(gui,"HelhGui") == false then setElementData(gui,"HelhGui",true) local s1,s2=guiGetScreenSize() local w1,w2=guiGetSize(gui,false) local x,y = (s1-w1)/2,(s2-w2)/2 guiSetPosition(gui,-x,y,false) TimeGuiSetRightC[gui] = setTimer(guiMoveRightToCenter,50,0,gui) end local a,b=guiGetScreenSize() local w1,w2=guiGetSize(gui,false) local x,y = (a-w1)/2,(b-w2)/2 local x1,y1 = guiGetPosition ( gui, false) if (x1 >= x) then killTimer(TimeGuiSetRightC[gui]) setElementData(gui,"HelhGui",false) else guiSetPosition(gui,x1+10,y,false) end end
-
تفضل مودات جاهزه https://community.multitheftauto.com/in ... ls&id=8386 -- النجوم https://community.multitheftauto.com/in ... ls&id=6998 -- الشخصية و الدم والدرع والفلوس https://community.multitheftauto.com/in ... ls&id=8184 -- السيارات https://community.multitheftauto.com/in ... s&id=10198 -- السلاح https://community.multitheftauto.com/in ... ls&id=9753 -- مكان الاعب https://community.multitheftauto.com/in ... ls&id=1868 -- ملابس سي جي
-
وين الايقنت حق عمل الحركة ! addEventHandler("onResourceStart", resourceRoot, function() setPedAnimation ( ped1, "DANCING", "dnce_m_b") setElementFrozen ( ped1, true ) setPedAnimation ( ped2, "DANCING", "dnce_m_b") setElementFrozen ( ped2, true ) setPedAnimation ( ped3, "DANCING", "dnce_m_b") setElementFrozen ( ped3, true ) setPedAnimation ( ped4, "DANCING", "dnce_m_b") setElementFrozen ( ped4, true ) end)
-
ض1 حقت الادمن ترايقر للكاميره
-
مثال ب ال رندر و تايمر و ثنين كلنت local progress = guiCreateProgressBar( 0.8, 0.8, 0.1, 0.1, true) render = function() if guiProgressBarGetProgress(progress) >= 100 then removeEventHandler('onClientRender',root,render) end guiProgressBarSetProgress(progress,guiProgressBarGetProgress(progress)+1) end addEventHandler('onClientRender',root,render) و هذه بتايمر local progress = guiCreateProgressBar( 0.8, 0.8, 0.1, 0.1, true) t = setTimer ( function() if guiProgressBarGetProgress( progress ) >= 100 then if isTimer ( t ) then killTimer ( t ) t = nil end guiProgressBarSetProgress( progress, guiProgressBarGetProgress( progress ) + 1 ) end, 1000,0,true )
-
ما حطمت و ما قلت مستحيله و قلت له طريقه تقدر ترفعها على خادم انتبه للكلام فوق + و شلون تحميل ما يزيد صوره كلنت و ما تقدر تحمل مود عند واحد و الباقي لا هذه بنسبه لو كان داخخل المود يزيد بس تقدر بعد عن طريق مركز رفع
-
local VehicleID = { 560,540 } local car = { } addEventHandler( "onPlayerWasted", root, function() if isElement ( car [ source ] ) then destroyElement ( car [ source ] ) end local ID = VehicleID[ math.random( #VehicleID ) ] local x,y,z = getElementPosition (source) car [ source ] = createVehicle ( ID, x, y, z ) if car [ source ] then warpPedIntoVehicle ( source, car [ source ] ) toggleControl ( source, "enter_exit", false ) end end end )
-
هذي يبلها رفع و خربيط طويله ودك تحمل على الخادم لو عندك 100 زائر و 50 صور صوره بيسير لاق بالخادم + يزيد تحميل لانه صوره تيجي ب مود بس لو تبي تعمله رفع على رابط خارجي يبلك خادم خاص من اججل ترفع عليه
-
addEventHandler("onResourceStart", resourceRoot, function() red = createTeam ( "red",255,255,0) createBlip (1488.51904, -1772.30969, 18.79576, 50) marker = createMarker(1488.51904, -1772.30969, 18.79576, 'cylinder', 2, 255, 0, 0, 150) ttt = setTimer(function() end, 600000, 0) end) addEventHandler ( "onMarkerHit", resourceRoot, function ( element ) if ( source == marker ) then if ( getElementType ( element ) == "player" ) then setPlayerTeam ( element, red ) if getPlayerTeam ( element ) and getTeamName (getPlayerTeam ( element )) == "red" then if isTimer(ttt) then local r,e,t = getTimerDetails(ttt) if (r < 120000) then setElementPosition ( element, -974.47778, 1060.98254, 1345.67700 ) setElementModel ( element, 100 ) giveWeapon ( element, 33, 100 ) setElementDimension ( element, 0 ) setElementInterior ( element , 10 ) end end end end end end) addEventHandler ( "onPlayerWasted", root, function() setPlayerTeam ( source, nil ) end )
-
hillRadar = createRadarArea ( -2183.5678710938, 705.67950439453, 40, -40, 0, 255, 0, 175 ) شوف leftX: من الجهة اليسرى من الماب X احداثي bottomY: من الأسفل من الماب Y احداثي sizeX: X عرض الخط من إحداثي sizeY: Y طوله من إحداثي +Y | | -X ---------------- +X | | -Y