Leaderboard
Popular Content
Showing content with the highest reputation on 26/07/17 in all areas
-
سلام عليكم لوحة التسجيل ذي نتيجة من المكتبة حقتي القادمة بإذن الله اللي في قيد التطوير 720 60frame أنصحكم عشان تشوف بجودة محترمة الكودات كلها الحمد لله من برمجتي وبعض المساعدات من بعض الأشاص سواء أجانب او عرب وش رايكم ؟ ض4 points
-
2 points
-
While I agree with everything Dutchman101 said, I'd like to add a few aspects from the technical point of view. The requirements that need to be fulfilled by the language are very strict, to mention some: Embeddable into other languages (especially C++) Sandboxed (no unsafe functions e.g. such that can invoke system commands) Well-known, stable and mature enough When thinking a bit about these requirements, there are only a handful of languages left that fulfill all of them. So let's take a closer look at the suggested languages: Java: Embedding works (even if it's not designed for that), but not sandboxed Python: Designed almost equally for embedding and running standalone, but no official/stable sandbox support (available solutions are rather experimental) C#: Microsoft's official implementation is not embeddable. Mono is, but isn't sandboxed either Javascript (V8): Meant to be embedded, sandboxed and well-known ==> fulfills requirements So, as you can see, only Javascript is an imaginable solution, even if it's a huge code base and takes much more time to compile (we're talking about a factor of >50-100x compared to Lua). That's basically the reason why Lua is loved in embedding contexts. Also, in my opinion Lua is actually a pretty good language: It's very easy to learn, it's one of the most flexible languages I know (considering metatables) and easy to embed (even though the C Interface is a bit old-school).2 points
-
بسم الله الرحمن الرحيم سلام عليكم ورحمة الله وبركاته كما هو موضح بالعنوان حاب اعرض لكم جريد ليست من تصميمي الشخصي ( احترافي ) المهم ماعلينا بالطويلة نعرض الجريد ليست : اتمنى تعرضون رأيكم عن الجريد ليست من 10 واذا في اخطاء او شيء زي كذا قولو لي وان شاء الله اصححها طبعاً شكر خاص لتنطيل ..1 point
-
hey there , so , without introductions , here is my login panel made by my dx Lib all in lua 100 % Note : big thanks to @GTX and @MisterQuestions for helping me while doing the dxLib xddd so , how much would you give it from 0 .. / 10 ? see you !1 point
-
NeXuS™ presents dxLib Introduction You want to work with dx functions, but you don't understand them? This is a script for you. You can create panels created by dx functions just like with GUI functions. Status IN DEVELOPMENT Sorry guys, its not finished yet, so I'm not publishing it. This is just a show off, that you'll get this in weeks. Whats done already Screenshots Syntax1 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
-
You have a chance of getting unbanned if you send @ccw a (source code) copy of your cheat via PM.1 point
-
1 point
-
addEventHandler("onElementModelChange",root,function( oldModel ) -- the first partmer not player or element if (getElementType(source) == "player") then if getElementModel(source) == 0 or getElementModel(source) == 40 or getElementModel(source) == 50 then setElementModel(source,303) outputChatBox("You cant use that skin!",source) end end end)1 point
-
You could use an export to import a table with your custom oop functions. Even though you will be indexing this table to access these functions instead of multiple variables. Another option could be loadstring. https://www.lua.org/pil/8.html1 point
-
مافي شي جديد باللوحة عطيتك تقييم على تأثيرات الأزرار فقط مثل ماقال تنطيل على العيوب ..1 point
-
ابشر local x, y = 300, 380 local w, h = 240, 300 local rt = dxCreateRenderTarget(w, h, true) local list = {"Hello", "Hello2", "Hello3", "Hello", "Hello2", "Hello3", "Hello", "Hello2", "Hello3", "Hello", "Hello2", "Hello3", "Hello", "Hello2", "Hello3"} local offset = 0 local row_h = 30 addEventHandler("onClientRender", root, function() dxSetRenderTarget(rt, true) dxDrawRectangle(0, 0, w, h, 0xff353c43) for k, v in ipairs(list) do local ry = (k*row_h)-row_h-offset if isMouseInPosition(x, y+ry, w, row_h) then dxDrawRectangle(0, ry, w, row_h, 0xff4A545E) end dxDrawText(v, 5, ry, w-5, ry+row_h, 0xffffffff, 1.5, "default", "left", "center") end dxSetRenderTarget() dxDrawImage(x, y, w, h, rt) end) setTimer(function() offset = offset+1 end, 50, 0)1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
بالتوفيق لك لاكن شغلي في البرمجة كان اكثر من اللوحة لانها ستاتيك اميدج لاكن في مفاجاة قريبا بلوحة دي اكس وفي انتظار لوحتك1 point
-
أخ لو اشوفك فـ الحياة الواقعية ... + صاحب الموضوع هل بتنشر ذا القريد لست ولا بس كذا؟1 point
-
I think it's pointless to discuss this, it's been brought up many times before and LUA is powerful enough for something like MTA. It's far too heavily implemented to change it into another language, would take a bigger development team to take it all apart and swap languages and can bring a long time of instability and alpha testing. You guys forget it's more complicated than just swapping the lua lib/dependencies, MTA was designed with using LUA in mind so much of the codebase was made reliant on it, by integrating LUA-specific stuff as deep as in the MTA core. It's practically impossible to revert all of that.. Also it's clear you guys who are discussing in this topic don't have a development spirit (in broader meaning) because if you understood development is 60% planning/researching and 40% coding itself, you'd realise its technically impossible to change the scripting language at this point in MTA development, it's too late. Ofcourse nothing is impossible as you've seen with other big integrations in the past, but as LUA suffices in most needs for MTA (you always have languages believed to be better such as what you suggest here, but as I said before, LUA is a powerful enough lang for MTA) so this versus the big operation/manpower needed to swap languages simply isn't worth it. Other languages don't offer much that LUA for our purposes cannot achieve, so nothing can justify the big codebase overhaul this would be. To conclude what I just wrote, topics like this, are just like topics asking if MTA:V will ever get released, discussions that keep getting launched over and over. So this will be locked.1 point
-
Thank you so much for this tutorial @Hale (and @koragg ) I have been wondering for so long how to scale text for all resolutions using dxDrawText.1 point
-
1 point
-
STORM RPG - New MTA Server! http://i.imgur.com/s6JIOIE.png Good morning everyone! These days I've been thinking about creating a RPG server from scratch. I know it's not easy but since May +/- I have been learning LUA (MTA) and I'm already familiar with the process, however, I'll need someone else to help me in this new adventure! Introduction I thought of creating a server with jobs, clans, and pay particular attention to the police and criminal jobs! The server will be all in English (don't worry, the Portuguese will not be forgotten) since it is more easy understanding in the world. Resources The server should have: Jobs Bank Temporary Vehicles spawner Vehicle Shops Inventory Trade system Used vehicles shop (players can trade vehicles with other players) Jail (Map + Script) Drug delivery and other criminal scripts Prisioners transport and other police scripts VIP system Bank Robbery Casino Robbery Other scripts... All advanced scripts will be scheduled by the server programmers, only the most basic will be downloaded from the community! All scripts will be based on MySQL to work. This is because all the information is gathered in one place so accessible from anywhere in the world, while SQLite is just a file that can only be "treated" by the game. Staff Right now I only have me as Staff, I have a friend who does not realize much programming, just play MTA and talked to him, he will be the tester of scripts (find bug's, etc ...). I need to get interested and trusted people to take this protect forward, including: DX Profesional Invester (*1) Programmer (to work with me) Designer (Photoshop) Moderators. (*1) - I need a person with ability to secure me a host for 3 to 4 months, after which the server should start producing profit and achieve self sustain itself. The investor will be part of Staff, and will have all the benefits in the game as a VIP maximum level, when the server start producing income, the investor will be paid. Conclusion The goal of the server is entertain people and, at the same time ensuring my retirement (joke ahah) so any day will be on top of the MTA servers. Follow all Updates on Facebook! http://www.facebook.com/mta.stormrpg1 point
-
Sorry for posting in wrong place, pelase someone move this to the server advertise board. Sorry1 point
-
تنبيه: إذا قد تلقيت تحذيرين, فإن ثالثهما حظر, والمدة تعتمد تقديرياً على ما فعلت, فإن كررت الخطأ بعد فك الحظر, ستزيد المدة, إلى ان تصل المدة إلى دائمة1 point
