Leaderboard
Popular Content
Showing content with the highest reputation on 03/07/17 in Posts
-
2 points
-
همم الفكرة شوي تحتاج لها خبرات غير البرمجة بنفسها لانك بتستعمل الانميشن كثير واتوقع في طريقة عشان تصنع الانميشن بس ماعرف شلون2 points
-
1 point
-
1 point
-
طيب هالكود ماله علاقة لان ذا الحذف اطرح كود الضغط دبل كلك وفي سينتاكس حق سيت كاميرا ماتركس في الروتاتشين انت خذه1 point
-
1 point
-
1 point
-
1 point
-
Hi guys, It's me... |SW|Simon aka |SW|Siimy0 from |SW| Streetwarriors Mixed Party server. First i want to do a little introduction to the new players (after 2012). THIS IS NOT ADVERTISEMENT! We started playing on GMC server where i created NSR clan. 'New Street Revolution'. After alot of clanwars etc etc... The name changed to SW Streetwarriors. With the time, we had the idea of starting our own server SINCE there wasn't a single server anymore with CnR (cops nd robbers) gamemode. We were also known for special gamemodes like Arezu (known from TG) made: Anways. I had great times and surely did alot of other members! We were a great community with the perfect communication. Untill life calls ofcourse. We came at an age where real life takes over. Anyways. Meanwhile i am 25 years old, like many other members of the times so let's say the times of MTA for us are over. Now it's my dream to open SW server again with the old members, to reunite and bring the old memories to life! Unfortunately they broke into my house last year and stole my laptop. All of the resources/maps of our server were gone... I want to thank everyone who took his time to read this! I just want to ask 1 thing: does anyone still have resources or maps or gamemodes left from our server? Thanks in advance!! Simon1 point
-
هذا الي سويته تمام بس باقي لك : تعدل على فنكشن اللوب وتعدل حق عند الضغط وتعدل كم فنكشن كمان بترك لك المحاولة وانا بصححه بعد المحاولة1 point
-
1 point
-
Welcome in our forum you dont have to pay a money for a script this arabic video you can found the link in the description1 point
-
1 point
-
1 point
-
1 point
-
المتغيرات عبارة عن اسم وقيمة قد تكون قيمتها رقم او نص او دالة الخ...1 point
-
getElementRotation == انت فاهم نظام " _ " غلط هذا تستعمل لتخطي قيمة موجودة او لتخطي التعريف وتروح للي بعده ذذ1 point
-
I think this situation is related to: https://forum.multitheftauto.com/topic/97169-hello/ right? Same host, he said that he lost access, I advise you to talk to him to find out more but I can tell you: we can't really help you. But what I do know is that you guys (CIP server etc) have been surrounded by many issues, debates and disputes, of hacking, resource stealing accusations, infecting MTA players with rat viruses (for which CIP clan member got banned) and generally thinking you can come to the forums and seek some higher-up action. You are in other words, a very problematic group of people who come to the forums and expect MTA staff to solve your misery created by dealing with unreliable people/not securing your server environment. So I would ask kindly to tell everyone at CIP to stop doing that and try to take care of your own business by preventive measures. @Origin and @envy1 point
-
The data stored with setAccountData must be a string. Use toJSON to store weapons and fromJSON when you get the value.1 point
-
1 point
-
@Origin Stolen accusation isn't allowed it's your responsability to secure your resources,your server. there is many resources for anti-cheat. just search on the community resources1 point
-
wrappers = sandboxes السايند بوكس هو مجرد نظام يعزل عن النظام الاساسي مثلا في الايفون مستحيل يكون تطبيق متصل بتطبيق ثاني الا بصلاحيات وهو كذا فالام تي اي استخدامه لو تبي تسوي ميزات اكثر للمودات مثلا في المولتي قيم تفصل القيمات عن بعض وبرضوا مفيد للحماية وتطوير البرمجة تخليها اسهل فالمتعلق بسؤالك وش علاقة اللود سترنق مع السايند بوكس بهذا الكود انك local f = loadstring("print('Hello')") -- loadstring نقوم بتشغيل الكود من سترنق عن طريق setfenv(f, {}) -- print, ipairs, math.random, etc.. نقوم باعطاء الكود بيئة فاضية اي لايوجد قيم بالبيئة اي لايمكن استدعاء بعض المتغيرات مثل pcall(f) --غير موجودةprint يقوم باعطائنا خطأ ان الوظيفة -- يمكنك تعبئة الجدول بالوظائف التي تريدها فقط ويمكنك صنع وظائف الخاصة بالبيئة والتحكم بها وحمايتها1 point
-
بسم الله الرحمن الرحيم السلام عليكم ورحمة الله تعالى وبركاته لأن أظن أغلب الناس ماتعرفه وتحسبه معقد interpolateBetween جاي أشرح لكم فنكشن تابعو معي يمكن الشرح يكون طويل لكن اتمنى تستفيدو تعني الإقتحام مابين أو التأثير بين بكل بساطة كل ماعليك معرفته هو مثل من - الى الفنكشن يسمح لك تسوي أنيمايشن (حركة) بين 6 نقاط حيث تتمثل الثلاث الأولى من إحداثيات البداية والثلاث الثانية النهاية سواءا كان : لوحة - صورة - تصاميم دي إكس - ماركر - كاميرا .. أي شي له إحداثيات # الجملة التركيبية للوظيفة float float float interpolateBetween ( float x1, float y1, float z1, float x2, float y2, float z2, float fProgress, string strEasingType) : العناصر المطلوبة x1, y2, z2 : (..إحداثيات بداية التأثير ( الحركة x2, y2, z2 : إحداثيات نهاية التأثير fProgress : مدة الإحراز أو التقدم التي يأخذها التأثير ( الوقت ) ويكون نوعا ما ب ميلي ثانية strEasingType : نوع الحركة أو التأثير اللذي تريده الأمثلة رح توضح أكثر أعرف انكم مافهمتو بعد حتى نجيب قيمة ب ميلي سكند أو ميلي ثانية نستخدم getTickCount fProgress الوظيفة تقوم بجلب مدة الوقت اللي جهازك كان شغال فيه بالميلي سكند وببعض حسابات نكون اللي نحطه بالنهاية moveObject أنواع الحركة ... تماما مثل من الويكي https://wiki.multitheftauto.com/wiki/Easing الموقع فيه جدول يوضح لك كل أنواع الحركة وكيف تأثيرها مثال لهذا "Linear" : كيفية تأثيرها يعني بشكل مستقيم دون تأثيرات ثانية بالمثال يتضح المقال # الأمثلة # مثال 1 المثال يوريني كيف نخلي لوحة تجي من فوق الى الوسط sx, sy = guiGetScreenSize() test = guiCreateWindow((sx - 454) / 2, (sy - 502) / 2, 454, 502, "test", false) -- لوحة function pop() local rh = interpolateBetween( (sy - 2) / 2,0,0, (sy - 502) / 2,0,0, (getTickCount()-start)/1800, "OutElastic") -- نعرف قيمة واحدة لأننا نريد الإرتفاع فقط guiSetPosition(test,(sx - 454) / 2,rh, false) -- نخلي موضع اللوحة على حسب اللي نبيه end bindKey("F2", "down", function () guiSetVisible(test,true) addEventHandler("onClientRender",root,pop) -- الفنشكن يستخدم مع الرندر start = getTickCount() -- نعيد تعريف وقتنا حتى يتعرف عليه عند الضغط على الزر end) getTickCount()-start/1800 نعيد نجيب الوقت ننقصه من وقت البداية اللي هو عند الضغط على الزر نقسمه على وقت النهاية اللوحة رح تجي لمدة ثانية و 800 ميلي سكند وليس بعد على الأرجح رح يطلعنا start a nil value لذا نقترح نعرفه مرتين "OutElastic" بهذا الشكل ض2 نقدر نستعمل واحدة او اثنين او ثلاث شرط مايكونو فوق ثلاث لأننا مانحتاجهم نحطهم صفر مثال 2 cam نوضح كيف نسوي كاميرا تتحرك من موضع لاخر عند كتابة الكومند start = getTickCount() addCommandHandler("cam", function() start = getTickCount() addEventHandler("onClientRender",root,moveCam) end) function moveCam() x1, y1, z1 = interpolateBetween(500,600,452,800,454,411,(getTickCount()-start)/4000, "Linear") x2, y2, z2 = interpolateBetween(510,620,512,850,464,471,(getTickCount()-start)/4000, "Linear") setCameraMatrix(x1, y1, z1, x2, y2, z2) end الإحداثيات غير مجربة قاعد أخبص فقط لتوضيع المعنى مثال 3 نوري كيف نلون ليبل (كتابة) عند دخول تأشيرة الماوس إليه start = getTickCount() test = guiCreateWindow(454,503, 454, 502, "test", false) label = guiCreateLabel(100, 0, 252, 20, "testing", false, test) guiLabelSetColor(label, 255, 0, 0,255) -- نحط مثلا لون أحمر function colorTheLabel() color1, color2, color3 = interpolateBetween(255,0,0,0,255,0, (getTickCount()-start)/2000, "Linear") -- نحوله من أحمر الى أخضر لمدة ثانيتين end function RestColor() color4, color5, color6 = interpolateBetween(0,255,0,255,0,0, (getTickCount()-start)/2000, "Linear") -- نحوله من أحمر الى أخضر لمدة ثانيتين end addEventHandler("onClientMouseEnter",label, function() start = getTickCount() removeEventHandler("onClientRender",root,RestColor) addEventHandler("onClientRender",root,colorTheLabel) guiLabelSetColor(label, color1, color2, color3,255) end ) addEventHandler("onClientMouseLeave",label, function() start = getTickCount() removeEventHandler("onClientRender",root,colorTheLabel) addEventHandler("onClientRender",root,RestColor) guiLabelSetColor(label, color4, color5, color6,255) end ) الكتابة رح تتلون من احمر الى أخضر عند دخول الماوس اليه و يتحول من اخضر الى أحمر عند الخروج صفحة الويكي https://wiki.multitheftauto.com/wiki/InterpolateBetween هذا كل شي لقد تعبت أتمنى الشرح يكون واضح أي شي غير مفهوم أو غلط يرجى التعليق لأن بعض الأكواد غير مجربة اللعبة ماسحها الموضوع سيتم إعادة تنسيقه حين رجوع جهازي إلي السلام خير الختام1 point
