Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 24/11/16 in all areas

  1. بسم الله الرحمن الرحيم السلام عليكم ورحمة الله وبركاتة يسرنا اعلامكم بانة تم افتتاح منتدى ومجتمع ام تي اي العرب المنتدى يهدف الى دعم البرنامج ام تي اي واللعبه جراند سان اندرياس المنتدى رسمي ومرخص من الشركة يعني كل شيء رسمي 100 % المنتدى يدار من قبل اعضاء لخدمة الزوار والاعضاء المنتدى باذن الله سيستمر يوجد اكثر من اداري في المنتدى طلبات الاشراف متاحة حالياً بشروط معينة موجودة في قسم خدمة الاعضاء او سيتم اضافتها قريباً اذا لم تجدها نتمنى من الجميع التسجيل والانضمام الينا للدخول الى المنتدى : http://www.mtaarabs.com/ or http://www.mtaarabs.com/vb للتسجيل : http://mtaarabs.com/vb/register.php نرحب بالجميع ونتمنى من الجميع التفاعل شاكرين لكم حسن التعاون مع أطيب التحيات iPrestege شكراً لكم
    4 points
  2. تشكر على المجهود أخوي ماكس لكن كذا مابيتعلم برمجة انت مسوي اكواد وحاطه اذا ضغط زر ياخذها جاهزه ماستفدنا شيء يخش المنتدى ويطلب جاهز ولا يبحث ويحصله ردي ليس تعصباً او كراهية انما واقعيه
    3 points
  3. Используйте библиотеку классов от sbx320. GitHub: https://github.com/sbx320/lua_utils Документация: https://github.com/sbx320/lua_utils/wiki/classlib Пример реализации того, что вам нужно. https://github.com/sbx320/lua_utils/wiki/registerElementClass
    3 points
  4. الحمدلله, بتوفيق الله قررنا أنا وبرستيج وسعد الغامدي نشترك سوا ويكون عندنا أفضل منتدى عربي لمساعدة العرب حياكم الله معنا, ونرحب بجميع المبرمجين
    2 points
  5. عساهم يحترقون دنيا واخرة
    2 points
  6. يهلا والله اخوي .. قفل منتدى حقك لاهنت .. لنه سابقا و قلت لك اسم منتدى خاص فينا .. و احنا قعدين نشتغل عليه و انت كذا تخرب سمعته بـ مجاني او حتا لو تشتري مدفوع .. انا ما عطيتك اذن انك تروح و تسمي منتدى علي اسم موقعي .. اخوك سعد الغامدي ..
    2 points
  7. Hai! I was bored and I made this topic for reply and reply and reply and reply... The last who reply this topic will win. Win what? I really don't care about prices I just wanna enjoy the time . On this topic, you also can reply with no-sense posts, like "hvidfhgvhdbcudfguvge" or... "TROLOLOL". Just reply something . Okay! I'll start, how I guess, I will not be the last who reply that topic hehe.
    1 point
  8. السلام عليكم و رحمة الله و بركاته طبعا المود باين من عنوان الموضوع طبعا انا عارف ان المود بسيط و سهل لككن مفيد للجدد بحيث لما يجو يطلبون بالمنتدي او زي كذا هذا يساعدهم .. اتمنى يكون عجبكم https://www.youtube.com/watch?v=HplCKWQ4aEE&t=3s لو اي حد عنده فكره اسويله ابديت يقلي .. طبعا اتركم مع الفيديو .. الرابط بداخل الفيديو :)
    1 point
  9. السلام عليكم و رحمة الله و بركاته اليوم نعلن افتتاح استضافة تويكس هوست الجديدة رابط الاستضافة http://twix-host.net http://ogp.twix-host.net http://client.twix-host.net لوحة تحكم Open Game Panel لوحة الخدمات Whmcs بوابات دفع STC (Sawa) , Djezzy (DZ) , EG Vodafone , CashU , OneCard اسعار رخيصه facebook : https://www.facebook.com Skype : Facebook:houdinikawazaki
    1 point
  10. Check the syntax. handler is written Handler, and the function handleTileLoading does not exists Also are you getting the lags when switching on or off?
    1 point
  11. i forgot to replace shader wit shaders[ i ] on lines 81 and 82...
    1 point
  12. onPlayerChat isGuestAccount cancelEvent outputChatBox
    1 point
  13. createVehicle warpPedIntoVehicle setPedStat setElementHealth setPedArmor
    1 point
  14. First you need to save al the shaders, at line 77: local shaders = {} at line 80 change to: shaders[i] = dxCreateShader("texture.fx") and add the toggle function: local toggle = true function toggleradar() toggle = not toggle if toggle then for i = 2, #blips_textures do engineApplyShaderToWorldTexture(shaders[i], blips_textures[i][1]) dxSetShaderValue(shaders[i], "gTexture", dxCreateTexture(blips_textures[i][2])) end else for i = 2, #blips_textures do engineRemoveShaderFromWorldTexture ( shaders[i], blips_textures[i][1] ) end end end not tested but should be ok. I don't think that this is ever a good idea...
    1 point
  15. onChatMessage check the 'message' if it contains what you're looking for then cancel the event and output your line of text
    1 point
  16. Momentul ala cand uiti pe ce cont esti logat =)))
    1 point
  17. Since you're new I suggest starting scripting from the beginning. Most people come in here expect us to make the script for them or help the step by step while actually don't learn out of it. So if you'd like to get the scripts you want, you could start from the beginning and ask us help for the problems you get while learning. kind regards
    1 point
  18. انت قفلت المنتدي حقك وانا بس سويت نفس الاسم + لعيونك بحذف المنتدي كامل
    1 point
  19. What you can do, which will be very unpopular with your players and generally a very big liability, is store the plaintext password the user entered when registering (for example, in setAccountData). This is very insecure, as whenever you'll get hacked, passwords will leak out in plaintext. This would also cause privacy concern for those who use the same password for a range of servers, forums or other services. I urge you not to do what I outlined above.
    1 point
  20. First thing that you need to accept is that programing/scripting isn't something that can be learned in one day, even though I have several years of experience in lua I learn new stuff witch each new script I create. The requirements to get starting with programing scripting are: -patience and strong will, -understanding of English language, -basic math knowledge like operations on formulas (creating own formulas, merging formulas) and logical operations . If you have all that, then all you need to know is that programing/scripting is nothing more then talking to the computer (writing commands that the computer is able to understand and execute). To do that you need to learn a programing/scripting language like lua. Like any other language it has its rues syntax and grammar (a set of keywords and the way you use them). Unlike humans computers are very stupid, you need to tell them how to do every, even most basic operation from start to finish, without making any syntax or grammar error (luckily for us the most basic stuff are already covered by build in lua and MTA functions, so it's not that hard). So the most basic stuff you need to know about any language including lua are: variables – they are containers that hold various data like numbers or text ('strings'), depending on the data stored in them you can preform any sort of operations on them – mathematical, logical, ect. If .. else .. end statement – the way to control witch part of the code will be executed depending on the conditions functions – you may think of them like smaller scripts within a script tables – you may think of them like more powerful variables, tables are VERY important I would recommend to find a good lua tutorial and start with this topics, then jump to MTA event handlers so that you will be able to test your knowledge in game.
    1 point
  21. You can't, unless you have a supercomputer and a couple of years.
    1 point
  22. The way I learned (some) lua was by trial and error and asking others for help. It helps a lot to first just edit really simple stuff from already made resources which you can get from the community site. Like, change position of a text on screen, make it look good on any resolution etc. You get the idea. And when you can edit most such parts of already made resources you will start understanding how things work and won't have a problem with creating functions. Remember: always Google or ask in here (if Google has let you down) and you'll learn it, not immediately but you will. So, good luck with it
    1 point
  23. less generic title please EDIT: now i'm annoyed... did you even try a fast search??? it's the... 5th result? And on google is the first, damn! Before trying to script try at least to learn how to use your pc and internet. THEN ask us, you will be welcome. I'm sorry to say this but, damn, it will reduce time to solve the problem for you and we won't WASTE time
    1 point
  24. شكرا لك علي الشرح شرح رائع لو افضل ما تحط موسيقي و يكون قران مثلا
    1 point
  25. dont test ... function ( Player ) local x, y, z = getElementPosition ( Player ) local create = createMarker ( x, y, z, "cylinder", 1.5, 255, 255, 0, 170 ) attachElements ( create, Player ) end
    1 point
  26. @Misha_Konsta, как раз что-бы не плодить помойки, нужно делать что-то неособо играбельное, а то в чем будет учиться разработчик. Ну и если ты понимаешь что нужно, то примеры нужны только хорошие и не слишком большие, плохие испортят человека. Впрочем, я за отсутствие существенной конкуренции. Поэтому пусть будет то что привлечет какое-то количество людей, но не нарушит отсутствие конкуренции. PS: вкладывать кучу моделей, это вообще мастхев в теме "слил сборку".
    1 point
×
×
  • Create New...