Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 31/07/20 in all areas

  1. بسم الله الرحمن الرحيم ...أو التكرار بالعربي الخ for loop أو الوظيفة بالعربي وال function اولاً وقبل كل شيء: يجب أن تتعلم أشياء أساسية في البرمجة عموماً, مو في ام تي اي فقط, فمثلاً يجب ان تعرف ما هي ال يمديك تبحث على اليوتيوب "أساسيات البرمجة" لكي تتعلم هذه المصطلحات الأساسية انت قلت انك تبي تتعلم فانا ما بعطيك أكواد جاهزة, لأن هذا ما بيعلمك, وكما تقول الحكمة, لا تعطني سمكة لكن علمني كيف أسطاد, لكن بقولك انت وش تحتاج عشان تحقق الي تبيه 1- {} حط اسماء التيمات الي تبيها في جدول زي هذا 2- أو متغير بالعربي وحطه في وظيفة إنشاء التيم variable وخذ اسم التيم الي طبعاً بيكون في for loop سوي تكرار 3- استخدم جدول وحط فيه إحداثيات الريسبون حقت كل تيم, وطبعاً بتربطهم بأسماء التيمات الي بالجدول الي برقم 1 4- أو حدث بالعربي ينفذ وظيفة معينة بنتكلم عنها تحت عندما يموت اللاعب + حدث آخر عندما يسوي سباون event حط 5- الوظيفة هذي فيها كل الي تبيه, انت تقرر وش يصير لمن اللاعب يموت أو يسوي سباون, وتفاصيل هذي الوظيفة تحت 6- الوظيفة تتحقق من تيم اللاعب, ثم تبحث عن المكان المخصص للنزول حسب تيمه من الجدول الي تكلمنا عنه برقم 3 ثم تستخدم وظيفة الإنزال (السباون) وتنزله بالإحداثيات المرتبطة بالتيم الذي ينتمي إليه اللاعب أدري ان الكلام هذا صعب عليك, لكن اعلم جيداً اني كنت مثلك ويمكن أسوأ بعد, لكن مع الإصرار والمثابرة ان شاء الله بتعرف تسوي الي تبيه, ولمن تحقق الي تبيه بتحس انك تبي تسوي أكثر من كذا وان شاء الله بتكون البرمجة أسهل كلما أنجزت شيء بالتوفيق وكل عام وانتم بخير
    2 points
  2. I've decided to try creating tutorials to teach scripting from the ground up. I get asked this a lot as a developer at Owl Gaming, and I figured it would be something fun to try! I really believe that what you learn as a Multi Theft Auto developer will help you later in life. Personally I've been scripting MTA servers for the past six or seven years, and have turned that into a career in web development, where I now work at Weebly, one of the website builders you see frequently used by people for their MTA server. So give it a try, and if you get good, come join me as a developer at Owl and let's make something fun together. In episode one, I cover the basics of setting up MTA for scripting your own server, and getting started with your first resources. In episode two I cover at a high level data types, creating your first SQLite database, and improving upon our vehicles resource so we can restart it without deleting all of our created vehicles.
    1 point
  3. السلام عليكم زي ما باين في العنوان سيرفر Bullworth + حصري وجديد ابي واحد يمسك السيرفر لان عندي شغل كثير الي يحس نفسه كفو وجاهز يكلمني سكايب faisl_27
    1 point
  4. getAccountByID getAccountSeria
    1 point
  5. Sim, consegue. Todos os dados registrados na conta são independentes se o cara está online ou não. Se fosse elementData, dai sim o cara precisaria estar online.
    1 point
  6. Você pode obter o serial do jogador usando getAccountSerial e aplicar o banimento usando addBan, é mais fácil do que aplicar o banimento quando o jogador logar.
    1 point
  7. Probably, exports.global:split isn't exists or resource not started. You need to find, and fix this firstly. By the way, you can use the default split function. Just replace every exports.global:split in the code to split. For example in the 128th line, local animTable = exports.global:split(row.animation, ";") to local animTable = split(row.animation, ";")
    1 point
  8. ??????????????????????????????????????????????????????? ?? ?? عيدكم مبارك تقبل الله منا ومنكم صالح الأعمال ورزقنا وإياكم زيارة بيته المعظم وأدام علينا نعمة الإسلام والإيمان وجمعنا وإياكم ومن تحبون مع النبي محمد صلى الله عليه وسلم في الفردوس الأعلى وكل عام وأنتم بخير. ???????????????????????????????????????????????????????? ???
    1 point
  9. N++ is highly customizable, you can add your own languages with syntax highlighting and auto completion. I had some free time last night so I decided to make it. I wrote a script that retrieves a list of all the available functions then exclude the deprecated ones, then made the language file with those functions. I also made a script to retrieve all the functions, get their wiki page content (fetchRemote) and extract the function signature from the page, then parse it into the MTA-Lua.xml file which adds auto completion. I might release the scripts later. I've created a repo for it on GitHub, it has 2 files for the users: mtalua-lang-import.xml > The file to import in the user defined language page to get the syntax highlighting MTA-Lua.xml > The auto completion file The repo contains the resource used to generate the function list and the node app used to retrieve the functions' syntax from the wiki. Repo: https://github.com/JR10/mta-npp THIS IS WHAT YOU WANT: Download the user files (MTA-Lua.xml and mtalua-lang-import.xml): https://github.com/JR10/mta-npp/release ... ta-npp.zip Steps: 1. Open Notepad++ > Language > Define your language... 2. Import > Select mtalua-lang-import.xml (Make sure from now on that the MTA-Lua language is always selected for Lua files) 3. Copy MTA-Lua.xml to your Notepad++ directory "Notepad++/plugins/APIs" (Usually in C:/Program Files) For questions, bug reports, suggestions or anything, just post here. Download: https://github.com/JR10/mta-npp/archive/master.zip
    1 point
  10. Boo,Za7f,The Best, Mr.S3D, 3NAD, Al3qrab, TAPL
    1 point
  11. Sadly not, it's a scripting forum, where we answer for your questions and help you to find what is wrong in the code, but we don't give you exact solutions/codes. Especially if it's not your own code.
    0 points
×
×
  • Create New...