-
Posts
1,647 -
Joined
-
Last visited
Everything posted by iMr.Dawix~#
-
-------------------------------------- %88.29 :المعدل التقدير العام : جيد جداً -------------------------------------- يلا كل واحد يكتب المعدل والتقدير العام
-
وانا وراكم ان شاء الله addEventHandler("onPlayerJoin",root,function () if getPlayerFromName("The Best") then outputChatBox(" >= 1030 مبروك ",source,0,255,0,true) end end)
-
شوف ردي مره ثانيه عدلته الكلنت
-
جرب --C GUIEditor = { checkbox = {}, window = {}, edit = {}, label = {} } GUIEditor.window[1] = guiCreateWindow(157, 54, 466, 470, "~[ Made A Car | صناعة سيارة ]~", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) local font = guiCreateFont("3NAD.ttf") local font0 = guiCreateFont("AUTHOR.ttf", 12) GUIEditor.label[1] = guiCreateLabel(21, 25, 421, 82, "1- يجب أن تضع سريال اللاعب\n2- يجب وضع أسم اللاعب لأجل الشات والأملاك\n3- يجب أختيار نوع السيارة عن طريق وضع الأي دي الخاص بها\n4- إن لم يرد اللاعب دخان السيارة فأضغط خطأ", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], font) guiLabelSetColor(GUIEditor.label[1], 255, 255, 0) GUIEditor.edit[1] = guiCreateEdit(186, 154, 256, 30, "", false, GUIEditor.window[1]) GUIEditor.label[2] = guiCreateLabel(77, 154, 84, 40, "Serial", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], font0) GUIEditor.label[3] = guiCreateLabel(73, 224, 88, 38, "Name", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[3], font0) GUIEditor.edit[2] = guiCreateEdit(186, 232, 256, 30, "", false, GUIEditor.window[1]) GUIEditor.label[4] = guiCreateLabel(83, 288, 72, 48, "ID", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[4], font0) GUIEditor.edit[3] = guiCreateEdit(186, 298, 118, 31, "", false, GUIEditor.window[1]) GUIEditor.checkbox[1] = guiCreateCheckBox(186, 355, 118, 22, "Yes", false, false, GUIEditor.window[1]) guiSetFont(GUIEditor.checkbox[1], font0) GUIEditor.label[5] = guiCreateLabel(73, 355, 100, 40, "Car \"D5AN\"", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[5], font0) GUIEditor.checkbox[2] = guiCreateCheckBox(186, 377, 118, 22, "No", false, false, GUIEditor.window[1]) guiSetFont(GUIEditor.checkbox[2], font0) GUIEditor.label[6] = guiCreateLabel(83, 420, 100, 40, "Arrow", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[6], font0) guiLabelSetHorizontalAlign(GUIEditor.label[6], "center", false) GUIEditor.checkbox[3] = guiCreateCheckBox(186, 438, 118, 22, "No", true, false, GUIEditor.window[1]) guiSetFont(GUIEditor.checkbox[3], font0) GUIEditor.checkbox[4] = guiCreateCheckBox(186, 416, 118, 22, "Yes", false, false, GUIEditor.window[1]) guiSetFont(GUIEditor.checkbox[4], font0) GUIEditor.button[1] = guiCreateButton(317, 374, 139, 86, "Finish", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") guiSetFont(GUIEditor.button[1], font0) bindKey("[","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 serial = guiGetText(GUIEditor.edit[1]); local name = guiGetText(GUIEditor.edit[2]); local ID = guiGetText(GUIEditor.edit[3]) triggerServerEvent("onVehicleStartEnter",getLocalPlayer(),serial,name,ID); end end ) -- S addEvent( "onVehicleStartEnter", true ) addEventHandler( "onVehicleStartEnter", getRootElement(), function(serial,name,ID) local C = createVehicle ( ID, 1797.2901611328, 841.5078125, 10.643834114075 ) if(source==C)then if (getPlayerSerial(source)~=serial)then cancelEvent() r,b,g = math.random(0, 255), math.random(0, 255), math.random(0, 255) outputChatBox( ".:[ "..name.." آملاك خاصة لـفخامةِ ]:.", source,r,b,g, true ) else r,b,g = math.random(0, 255), math.random(0, 255), math.random(0, 255) outputChatBox( ".:[ آررحب نورت ابو الموتر ]:.", source, r,b,g, true ) end end end )
-
يقصد ان الأرقمنت خطأ انا سويته ناقص واحد بالفنكشن هو سواه كذا function( player, _, style ) مكان _ المفروض يكون الأمر
-
addCommandHandler("setStyle", function(player,style) setPedFightingStyle (player,tonumber(style)) end) setStyle 7
-
اتوقع يجي كذا بس الي يجيب تيم اللاعب ما يضبط كلنت لازم سيرفر يلا ضبطوه function stopTeamDamage( attacker, weapon, bodypart ) local admins = createTeam ( "Admins", 255, 0, 0 ) local players = createTeam ( "Players", 255, 0, 0 ) if getPlayerTeam(attacker) == admins or getPlayerTeam(attacker) == players and getPlayerTeam(source) == admins or getPlayerTeam(source) == players then cancelEvent() end end addEventHandler ( "onClientPlayerDamage",localPlayer,stopTeamDamage) يخلي اللاعبين الي بالتيم ما يذبحون بعض او يذبحون بعض setTeamFriendlyFire بس صاحب الموضوع يبي تيم ما يقتل تيم افهموا خلاص لا تعيدون
-
استخدم برنامج فجوال بيسك
-
هههههه صلحه وخلاص addEventHandler ( "onResourceStart", resourceRoot,function () local allTeams = getElementsByType ( "team" ) for index, theTeam in ipairs(allTeams) do if ( getTeamFriendlyFire ( theTeam ) == false ) then setTeamFriendlyFire ( theTeam, true ) end end end)
-
لا لها دخل طيب الحين مثلا تيم معين مايقتلون بعض ابي يكونون تيمين او اكثر فهمت اتمنى وضحت المعلومه الي سواه هو يسوي لكل تيم موجود اول ما يسجل واحد دخوله انت عدل الحدث
-
يقصد بالقريد لست الأخ ما يقصد تضغط ع اللاعب
-
او جرب شغل اللعبه كـ مسؤول
-
+1 مو حلو تقليد سيرفرات الناس +
-
شوف هذا الأيبود https://community.multitheftauto.com/ind ... ils&id=330
-
انا حاطه في كود اطرح الفنكشن الي اسمه outputTopChat
-
للحين يزيد ما يوقف ما شاءالله
-
متحمس على وش لكل شيء يعني حتى السياره وتقول فاهمه؟ root انت تقول لبرستيج انت تقول وقلت لك تجي سياره بسياره واتوقع يجي لاعب بسياره
-
لكل شي يعني حتى سياره -.- rootمتكبر على ايش خخ وبعدين انت تقول وتقول فاهمه ؟ ويجي الثاني ذاك يقول اوبجكت اذا سويته على سياره يضبط ! يعني سياره في سياره مجرب
-
روت بعد مهو بس رسورس على اوبجكتات بيصير يخترق اي شيء المنت element يعني يصير للأشياء الي يصير لها
-
ترا قصده ان اللاعب مثل الشبح يدخل بالسيارات والناس والأوبجكتات وكذا root أخوي لو قصدهـ أن اللاعب يدخل بأي عنصر .. معناها لازم يستخدم بالوظيفة -- Client Side # addCommandHandler ( "TheCommand", function ( ) setElementCollidableWith ( localPlayer, root, false ) end ) لكن إذا يبي اللاعب يدخل باللاعبين الآخرين فقط يستخدم كود برستيج . I know ..
-
ترا قصده ان اللاعب مثل الشبح يدخل بالسيارات والناس والأوبجكتات وكذا
-
للأسف ما أعتقد فيه اكواد للحمايه منها
-
The Arabic Multi Theft Auto | MTA بـ اللغة العربية
iMr.Dawix~# replied to iPrestege's topic in Arabic / العربية
عشان انت تعودت عليها انقليزي وشكل الأزرار بس مو حلو شوي يبي لها تعديل -
tonumber اقولك وظيفه مثلها يعني مثل كذا totextانا كنت قصدي انه يمكن فيه ثانيه او اي شيء
