Leaderboard
Popular Content
Showing content with the highest reputation on 21/07/17 in all areas
-
Hello everybody! I want to offer you a new language for writing scripts for MTA: SA. By the tags in the topic, you've already seen that it's Puthon 3. Many will say that Python 3 is bad for scripting, but it's not! It is similar to lua but has a wider OOP, and has the ability to connect modules. In the Internet very little material on lua, it is available but only in English, and what to do to the Russian community? The Russian segment in the MTA is very large, and lua materials are very small. Of course, the small amount of materials on the Internet for lua is not the reason for switching to Python 3. I understand that I will have to rewrite all functions from scratch, but this can prolong the life of the MTA. Python 3 is not one language that can be used as scripting under MTA: SA, there is also a wonderful language JavaScript v5. Many multiplayer use it as a language for writing scripts. This is just my opinion. I just suggested that the idea is not bad. Decide for you, dear multiplayer developers. Oh, sorry for my bad English!1 point
-
Buenas gente. Hoy estaba discutiendo con @venadHD sobre quien es la persona más odiada de la comunidad hispana de MTA. Voten con total sinceridad, esta encuesta es solo para averiguar quien de los dos tenía razón. Gracias por vuestra participación. Voten gente, quien vote se llevara recompensa >:v ( La libertad de expresión ).1 point
-
Welcome to Project Revenant: Post Apocalyptic Roleplay. Through the functionality and scripts of MTA, Project Revenant aims to offer players a post-apocalyptic roleplay experience like no other. Brought to you by an ambitious team of mappers and writers, Revenant offers an experience that is explicitly by roleplayers, for roleplayers tailored to suit your storytelling purposes. With its own handcrafted custom-map built off of the original game paired with an intriguing setting, survive in the desolate wasteland that is San Andreas with hordes of zombies to keep you company, and find out how others have survived hitherto. Stick to the fringes of quasi-civilization as you journey through memorable semi-urban locations such as Las Venturas as well as Tierra Roboda and Bone County let's you venture further where only radiation and carnage awaits. In a test of cunning and morality, will you have what it takes to survive? You may stay updated by joining our forums, at www.project-revenant.com/forums Or by joining our Discord, at https://discord.gg/n3MBPf You find yourself in a post apocalyptic version of Las Venturas & countyside, where you have to make a living for yourself. As you start out, you'll be placed in the town of New Haven, from where you're able to get a few buddies, trade for the nessecary materials needed, or for just taking a break from the outside world. The dead walks, and has done so for quite some years now. They're denourished, making them slow - this means that survivors can put alot more focus into their crops, towns, and more important things, rather than running away from a biter. Hunger / Thirst Harvesting / Mining Planting / Crops Looting / Items If you wish to contribute with mapping, please contact "Mike" on Discord. We are re-doing entire San Andreas, flipping over world objects, and adding content. This thread will be updated on the run - alot of features to add.1 point
-
eso voten, que no pasa nada :V, premio un abrazo virtual1 point
-
التصميم جميل وجذاب ,و عندي سؤالين خفيفه انت تقصد بالماتيريال المكتبة التابعه لقوقل؟ وايش مقاسات شاشتك ؟1 point
-
التعليق يوضح لك وش كنت تبي تسوي بالضبط، أما التاب هو مجرد تنظيم حق لا ينلحس مخك من الكود1 point
-
1 point
-
1 point
-
1 point
-
Seems like the page http://translate.google.com/translate_tts is now blocking robots (as well as MTA client I guess) with ReCaptcha and additionally pops up with a 403 Forbidden after solving the "puzzle". Seems like you simply can't use Google Translate's text-to-speech anymore.1 point
-
شكرا لك على الرد الرائع ماعليك من الاسم ... اسم فجئة جاني وسميته لأني كنت اعشق التنطيل .1 point
-
1 point
-
1 point
-
يتطبق الحدث على الي تحددهم في الارقمنت الاول تقدر تحددهم بالجدول او بالمنت يعني شخص واحد او تخليه فارغ وبيطبقها على الكل اما الارقمنت الثاني هو الاسم الارقمنت الثالث هو الي بيصير سورس الحدث1 point
-
1 point
-
انا في بداياتي قاعد اتطور في الدي اكس وبحاول انافس بمستواي وارقيه : ( مابديت ابرمج واتعلم جد الا قبل كم شهر والحين وصلت بهالمستوى , ؛ لأن انا كنت معتزل سنة , وكنت افكر نفسي قبل الاعتزال محترف وخبير والخ في الاخير زي الخرا ماعرف ابرمج واكتشفت حقيقتي المرة : ( بس تطورت بسرعة ولله الحمد بأقل من كم شهر , تقدر تطالع ردودي ومواضيعي وتلاحظ التطور مابين الاشهر الي فاتت باقي لي اتطور واوصل لمستوى خيالي ذذ : )1 point
-
1 point
-
الارقمنت الثالث راح يكون الالمنت الي بيصير المصدر ( السورس ) ء يعني السورس الي راح يكون بالكلنت1 point
-
1 point
-
هل تعلم ان الحوت ؟.... امزح امزح فيه حركة لو تبي تكتب مثلا سترنق طويل وفيه مسافات من اف8 ولا عبر " / " لو تسويه بدون الحركة ذي بياخد اول كلمة بس مثال : function sTeamName(thePlayer, cmdName, TeamNumber, newTeam ) local playerAccount = getPlayerAccount(thePlayer) local playerAccName = getAccountName(playerAccount) if isObjectInACLGroup ("user."..playerAccName, aclGetGroup("Admin") ) then if TeamNumber == "1" then homeName = newTeam setTeamName ( team[1], homeName ) triggerClientEvent(thePlayer, "updateNameS1", getRootElement(), homeName ) outputChatBox ("You have successfully changed the team name to ".. homeName, thePlayer) elseif TeamNumber == "2" then enemyName = newTeam setTeamName ( team[2], enemyName ) triggerClientEvent(thePlayer, "updateNameS2", getRootElement(), enemyName ) outputChatBox ("You have successfully changed the team name to ".. enemyName, thePlayer) end else outputChatBox("You don't have rights !", thePlayer) end end addCommandHandler("stn", sTeamName) لو تكتب مثلا في اف 8 : stn 1 hey there guys بياخد hey ويسحب على الباقي ف لذلك عوض ما تحط 8465 أرقمنت للكلمات نستعمل ... function sTeamName(thePlayer, cmdName, TeamNumber, ... ) local playerAccount = getPlayerAccount(thePlayer) local playerAccName = getAccountName(playerAccount) if isObjectInACLGroup ("user."..playerAccName, aclGetGroup("Admin") ) then if TeamNumber == "1" then homeName = table.concat( {...}, " " ) setTeamName ( team[1], homeName ) triggerClientEvent(thePlayer, "updateNameS1", getRootElement(), homeName ) outputChatBox ("You have successfully changed the team name to ".. homeName, thePlayer) elseif TeamNumber == "2" then enemyName = table.concat( {...}, " " ) setTeamName ( team[2], enemyName ) triggerClientEvent(thePlayer, "updateNameS2", getRootElement(), enemyName ) outputChatBox ("You have successfully changed the team name to ".. enemyName, thePlayer) end else outputChatBox("You don't have rights !", thePlayer) end end addCommandHandler("stn", sTeamName) table.concat والفنكشن ذا عظيم الحين مهما كان طول السترنق اقصد مهما كانت من المسافات بياخدها كلها أتمنى الفكرة وصلت ,_, ما اعرف اشرح1 point
-
1 point
-
setCameraTarget تشتغل على اللاعبين فقط جرب هيك function getPositionFromElementOffset(element,offX,offY,offZ) local m = getElementMatrix ( element ) -- Get the matrix local x = offX * m[1][1] + offY * m[2][1] + offZ * m[3][1] + m[4][1] -- Apply transform local y = offX * m[1][2] + offY * m[2][2] + offZ * m[3][2] + m[4][2] local z = offX * m[1][3] + offY * m[2][3] + offZ * m[3][3] + m[4][3] return x, y, z -- Return the transformed point end x,y,z = getPositionFromElementOffset(ped,3,0,0) x1,y1,z1 = getElementPosition(ped) setCameraMatrix(x,y,z,x1,y1,z1) غير ped الى اسم البيد حقك :-1 point
-
1 point
-
ماشاء الله مود فنان من شخص فنان بس اسمك ماعجبني اسمك مشبوه + 1 ناقد1 point
-
1 point
-
تقدر تستفيد من : https://community.multitheftauto.com/index.php?p=resources&s=details&id=10163 https://community.multitheftauto.com/index.php?p=resources&s=details&id=73491 point
-
انا سويت كم شيء بالمكتبة مع كونليل مثل الويندو والبوتن بس سحبت عليه لاني مشغول وعلمت الطريقة لكونليل وكمل بمسيرته ,,1 point
-
1 point
-
كيف حالكم ان شاء الله بخير وطلع فيه اخطاء والى اخره Guieditor Online قبل فترة نزل موضوع عن قبل 3 او 4 ايام تقريبا قررت اسوي واحد ببرنامج الفجوال بيسك ويكون دقيق نوعا ما من ناحية الاحداثيات او الى اخره والنتيجة طلعت كالأتي طبعا اللوحة هذي تختار فيها مقاسات شاشتك باللعبة بحيث راح تفتح لوحة ثانية تصمم فيها وتفتح لك قائمة يوم تضغط كلك يمين ( زي السكربت نفسه ) تختار منها الي تبي تسويه نافذة , زر , الخ (Window) طبعا الي بالرصاصي الي الحين بتشوفونه راح تكون النافذة النتيجة بتكون output وبعد ماتضغط كلك يمين وتظهر لك القائمة وتضغط طبعا الي مسويه حاليا فقط النوافذ والزر والباقي بيكون سهل بأذن الله فـ ابي رأيكم اكمل ولا اكنسل ع الفكرة مع السبب واذا كملت ان شاء الله راح اخليه يدعم الدي اكس ويكون شبيه لحق اللعبة بالضبط اعطونا ارائكم واقتراحاتكم تحت وبالتوفيق للجميع1 point
-
false اخر كود المفروض يكون كذا، عشان ما يفشل التحقق مع قيم ال function _pairs(table) return function(table, index) index = index + 1 local value = table[index] if value ~= nil then return index end end, table, 0 end1 point
-
I like seeing people sharing which others the knownledge adquired in an individual learning process without waiting any kind of benefits. Respect.1 point
-
@Walid No... MrTasty's solution would work just fine. To put it into an example: function onChatMessage(text) if(string.sub(text,1,6) == "login:" or string.sub(text,1,7) == "logout:") then -- Check if it contains login: or logout: strings cancelEvent() -- Cancel it end end addEventHandler("onClientChatMessage",root,onChatMessage)1 point
-
You can use sth like this: Server side addEventHandler("onPlayerLogin", root, function() setTimer(triggerClientEvent,1000,1,source,"removeLoginMessage",source) end ) Client side addEvent("removeLoginMessage",true) addEventHandler("removeLoginMessage",localPlayer, function() for i = 1, 200, 1 do outputChatBox("") end end )1 point
-
Pretty sure you can cancelEvent() on onClientChatMessage if the string.sub(message, 1, 6) is "login:" or "logout:"1 point
-
بسم الله الرحمن الرحيم السلام عليكم ورحمة الله وبركاته ... والخ end عند كتابة الاكواد يمكنك ترتبيها لتكون اكثر وضوحاً للقارئ وغالباً لك لكي تعرف الاخطاء التركيبية مثل: عدم تكملة قوس, نسيان :مثال الآتي end ف عند كتابة اي شيء يمكنه ان يغلق ب function myFunction(myArgument) if myArgument then -- الخ .. end end Enter انتقل للسطر التالي بالضغط على زر او اترك مساحة من اربع حروف Notepad++ اذا كنت تستعمل Tab ثم اضغط على زر :مما يجعل الكود قابل للقرائة وليس كالتالي function myFunction(myArgument) if myArgument then -- الخ .. end end والسلام عليكم ورحمة الله وبركاته1 point
