Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/06/18 in all areas

  1. السلام عليكم * بعد انقراضي وعودتي وانقراضي مستقبلاً خشيت ع طلب فخآمه طالب مود وجبته للي محتاجه * -- المود بأختصار : رساله تطلع من اليمين وهذأ الشكل طريقة الاستخدام exports.outputMessage:outputMessage("Yes",255, 255, 0,true) --- exports.outputMessage:outputMessage("#FF0000Yes",255, 255, 0,true) التحميل تحميل والسلآم خير ختأم *
    4 points
  2. لاماتت ولاشيء لكن في بعضهم فشلو باللعبه ويحمل فشله على اللعبه وانا مستمر فيها باذن طول مايجيني منفعه مادية وبالتوفيق
    2 points
  3. Неплохо. Можно даже сказать - хорошо. Возвращаться не планировал. Занят сейчас совсем в другой области - станки с ЧПУ. Там прогеры и технические спецы нужны позарез. 3Д моделирование там постоянное. Построил себе мастерскую, сделал большой ЧПУ станок по дереву. Работа идёт. По вечерам поднимаю opensource проект полноценного бесплатного ЧПУ на базе LinuxCNC и одноплатников Orange Pi. Недавно начал разработку коммерческих проектов на базе микроконтроллеров STM32. Ну, как вы поняли, времени на игры остаётся очень мало, еле еле GTA5 прошёл (: ЗЫ было бы интересно узнать кто и чем сейчас занимается кроме МТА.
    2 points
  4. Só uma pequena correção: Se a função só possui 1 comando ativando ela. Não precisa verificar se o cmd = "consertar", pois isso sempre será true. Deixei comentários no código pra vc entender o que acontece em cada linha. Fazer isso é importante para estudar seu código. function solicitaPay (thePlayer, cmd, user) local accName = getAccountName (getPlayerAccount(thePlayer)) -- accName = nome da conta do jogador que executou o comando. (Exemplo: joao123) if isObjectInACLGroup ("user."..accName, aclGetGroup ("MEC") ) then -- Se o objeto user.joao123 está na ACL Group MEC, então: if not user then -- Se nenhum nick foi informado junto com o comando, então: outputChatBox ("Erro de sintaxe, use /consertar <nick>", thePlayer, 255, 255, 0) elseif not getPlayerFromPartialName (user) then -- Se o nick foi informado mas não existe um jogador com esse nick, então: outputChatBox ("Jogador não encontrado.", thePlayer, 255, 255, 0) else -- Se o nick foi informado e o jogador foi encontrado, então: local theUser = getPlayerFromPartialName (user) -- theUser = jogador encontrado. (elemento) if getElementData (theUser, "mecanico.solicitation") then -- Se o jogador encontrado tem uma solicitação pendente, então: outputChatBox ("Alguém já está solicitando pagamento mecânico a este jogador.", thePlayer, 255, 255, 0) else -- Se o jogador encontrado não tem nenhuma solicitação pendente, então: setElementData (theUser, "mecanico.solicitation", thePlayer) -- Coloca solicitação pendente no jogador encontrado. outputChatBox ("Você solicitou pagamento para consertar o veículo de "..user, thePlayer, 0, 255, 0, true) -- Avisa o jogador que executou o comando, que ele enviou uma solicitação ao jogador encontrado. outputChatBox (getPlayerName (thePlayer).."#FFFF00 está pedindo $800 para consertar seu veículo. Use /aceitar ou /recusar", theUser, 255, 255, 255, true) -- Avisa o jogador encontrado que ele tem uma solicitação de pagamento, para que ele use /aceitar ou /recusar. setTimer (function () -- Inicia um temporizador de 10 segundos para remover automaticamente a solicitação, caso o jogador não recuse nem aceite, para ele não ficar com a solicitação eternamente. if getElementData (theUser, "mecanico.solicitation") then -- Depois dos 10 segundos, se o jogador ainda estiver com a solicitação (não recusou nem aceitou) setElementData (theUser, "mecanico.solicitation", false) -- Remove a solicitação dele. outputChatBox ("O pedido de pagamento de "..getPlayerName (thePlayer).."#FFFF00 expirou.", theUser, 255, 255, 0, true) -- Avisa pra ele, que a solicitação que ele tinha pendente foi expirada. end end, 10000, 1) end end else -- Se o objeto user.joao123 não está na ACL MEC, então: outputChatBox ("Você não tem permissão para executar este comando!", thePlayer, 255, 0, 0) -- Avisa o jogador que ele não tem permissão. end end addCommandHandler ("consertar", solicitaPay) -- Comando que irá ativar a função solicitaPay. Sugiro também que vc estude lógica de programação, assim você saberá onde deve colocar as funções que passamos pra você e também terá extrema facilidade de entender o que vc está fazendo.
    2 points
  5. Hello there. I am John Smith, also known as ZoeN. Today, I am here to offer my scripting services. Will they cost money? Yes. How much? I'll talk about it soon in this topic. Some info about me: I am an 18 year old guy from Croatia who has a particular interest in scripting on Multi Theft Auto. I've firstly started off back in 2014, going from simple Hello World scripts, to what I am today. A fully experienced MTA scripter with lots of experience and knowledge on how to do scripts, ranging from smaller projects to even bigger projects such as whole gamemodes and multigamemodes. What can I do? Basically anything. I've already done lots of resources. Examples would be: Custom Race Gamemode Custom Freeroam Gamemode Custom Downloader (both for Freeroam and DM-like gamemodes) Map Loader Script Loader Multigamemode Login Panel Punishment System Userpanel and many more which I haven't mentioned while I favour working on developing new gamemodes, let's be realistic that most customers won't come to me for that; the center of my service are custom requests, which means you can ask me to script (or fix) anything you'd like, after which I will consider it and tell you if it's possible, and if so, suggest a price that can be further negotiated. I will start development, and you can test it out on my testserver before paying, so you can confirm it's in good working state and nothing from your requested features is missing. After the resource/code is sent, there'll be extended support for bugs that may appear after delivery, as I am pretty confident of my code's quality. How much do I charge? It really depends on lot of factors, such as complexity, time needed to do the job, and what you're asking me to do. For instance, smaller scripts would be in range of something like 5-10€, while bigger scripts would be in range of 10-30€, depending on their complexity. Finally, complete gamemodes (written from scratch) would be charged somewhat in this terms: Small Gamemodes -- 50€ Big Gamemodes -- 100€+ (for big gamemodes, that is a minimum price, however it may change to a higher one depending on what you're requesting, also based on complexity and time needed to complete the gamemode) Why are complete gamemodes so expensive? Well, because especially gamemodes takes some time, if not even a long time. Then, there's also the fact that the scripts which I'm creating are profesionally written and optimized, they're not amateur. Think of it as getting a tattoo on your body. You'd want the tattoo to be good and to still be fine even after years have passed right? You certainly don't want your tattoo to be made by an amateur and to have your tattoo fade away under 6 months. Any examples of my work? To be honest here, I haven't really made any public resources as I've always preferred to create private scripts (usually for my server(s)). I just have 1 public resource out there; https://community.multitheftauto.com/index.php?p=resources&s=details&id=14725 To give you a sense of my code, let me quickly share the core of that resource (open spoiler); However, I did make a video about one project of mine, 3 years ago. You may also notice that there's a Level System and HUD, both developed by me, also 3 years ago. I was pretty good at scripting even back then, but at the current moment, I'm a beast How can you contact me? Discord: ZoeN#4774 Private Message on this Forum Thank you for reading. If you have any questions regarding me and/or my services, contact me, and I'll reply to you as soon as I can. - John Smith (aka ZoeN)
    1 point
  6. السلام عليكم ورحمة الله اريد الكل يشارك بالموضوع د ويعطينه رايه ووجهة نظره الموضوع من عنوانه هل توفت لعبه ؟ لانو ما عدت اشوف اقبال عليهاا في انتظار ردودكم لو الموضوع مخالف ينتقل للقسم العام
    1 point
  7. Sziasztok! Fejlesztő íránt érdeklődnék egy 0-ról írt RP szerver készítéséhez. Maximum 100 Eurót adunk ki a munkáért. Elérhetőség: Skype: benedek.berecz
    1 point
  8. اما بعد اليوم جايب لكم شرح بسيط وخفيف الي هو لاحظتم ف سيرفر : "وزارة الهجولة والتدشير" انك لمن تضغط انتحار اكثر من مرة يجيك كلام انتظار هذا الكلام اليوم بشرح كيف تخليه يجي اول شي ي غالي تحتاج هذا المود الي يشغل الـ كلام الي من اليمين لليسار https://up.top4top.net/downloadf-889anzpw1-zip.html وبعدين نحتاج كود لـ تفعيل هذي نحذف outputchatbox ونحط exports["outputMessage"]:outputMessage exports["outputMessage"]:outputMessage طبعا هذا الشرح مماثل لـ "شرح كيف تخلي الكلام يجي ع اليمين" الي شرحته يوم الاثنين لو استفدت اكتب لي لو تعليق بسيط وملاحظة بسيطة : هذا الكود والمود يمديك تستخدمه ل الشات الخاص لو جاك رسالة يجيك الليبل واشياء ثانية ويالله سلام عليكم
    1 point
  9. انت الاروع والله ودي فكرة بسيطة وابغاكم كلكم تطلبو مودات هنا وانا بسويها كلها لكم المشكلة دي تواجه الكثير حتى انا لما حملته من هنا سوف يتم تجديد الرابط ماعليك ومعنى الترجمة الفهمتها انا رح تروح لما اكثر من واحد يحمل السكربت بس دي مشكلة تواجه الكل لما يرفع شي انا الحين انا حملته وحصل معي نفس الموضوع بس مافي اي شي غلط ولا تقصر معي بلايك وكدا
    1 point
  10. مود رائع و ان شاء الله منها للأعلى لكن لما تنزل المود يجي لك انه ممكن يكون برنامج ضار اتمنى تحاول تسوي ذي المشكلة لانه في ناس رح تخاف تنزله و بتوفيق
    1 point
  11. setElementRotation
    1 point
  12. الانت مسويه غير الانا مسويه 100% ومو نفس فكرتي وادري ان فكرتي سهلة وكل شي بس انا قلت مود وخلاص ماكنت افكر في فكر في وقتها وانا كاتب اني ابغاكم تقولولي فكر او مقلا تقولولي وش تبون الكلام مب ليك الكلام لليبغا مود او مساعدة
    1 point
  13. اولا الاكواد مكتوبة حرف حرف ثانيا مود الكتابة التيجي من الجنب منشور بس مو بالشكل حقي ثالثا مافي اي مود معدل عليه لياتي بهدا الشكل الاكواد مكتوبة سطر سطر حرف حرف وانا مب اول ولا اخر واحد بيسوي شي جديد بعدي كثير وكان قبلي ملايين وانا قلت سكربت على السريع الباقي بيكون على طلبات اليبون المودات :\
    1 point
  14. ايه الفكرة حصرية لكن تراه سهل هه دقيقتين اسويه وما يصعب على احد لكن بالظبط رح يفيد الناس
    1 point
  15. Praise the server! It helped me out a lot. Thank you :3
    1 point
  16. veh = getPedOccipiedVehicle(localPlayer) Ya misspelled something: it's getPedOccupiedVehicle. Make sure you use /debugscript 3 when testing your scripts. It often helps you find mistakes like this. Also use client instead of source in the server-side code, as the sent player can be manipulated. You should also calculate the val on the server side, not client side. The client can just manipulate the number to be whatever. Never trust the client. Ever. With all the proposed changes I gave you, you can also make the script fully server-side. This is untested, but should work (server-side): local payMultiplier = 2 function payPlayers() for _,player in ipairs(getElementsByType("player")) do local veh = getPedOccupiedVehicle(player) if veh then givePlayerMoney(player,tonumber(getElementSpeed(veh,"km/h")*payMultiplier)) end end setTimer(payPlayers,1000,0) I put payMultiplier one level up, you don't need to re-define it every time the function is called. If it doesn't work, let me know. EDIT: Consider using math.round instead of tonumber!
    1 point
  17. No,, in theory it should cause any problem(s).
    1 point
  18. Собсна я это делал в другом ивенте а скин запоминал ранее https://github.com/Disinterpreter/ClassicDM-MTA/blob/7b70f2e51988957386df0250d46ec6e95ab34fdf/spawn_s.lua#L25 P.S да я написал примитивный гейммод для решения 70% вопросов при начале работы в МТА
    1 point
  19. Здорово! Я сейчас работаю fullstack веб разработчиком. Занимаюсь всем от выбора комплектующих для сервера, настройки FreeBSD и до верстки и разработки spa. Pet проектов пока не имею Забавно вспомнить, как начинал все с ковыряния pawn скриптов для сампа (наверно как и многие здесь). Тогда даже не понимал как правильно сделать цикл и вывести форматированную строку PS: Сейчас на форуме мало активности, т. к. многие ушли в дискорд. Если что добавляйся туда
    1 point
  20. لو بتنقرض بتنقرض بسبب الأطفال ( البزران ) ء وكل لعبه ولها يومها هذا شي مو بيدنا *
    1 point
  21. 1-( القسم صح ) 2- ( والله مدري انقردت ولا لا انا على نفسي ماخشها كثير يعني لو اخشها اشوف بعض الاشياء واخرج ثاني ) 3-( )
    1 point
  22. @Rakan# @Master_MTA @#Soking @N3xT
    1 point
  23. بحاول اساعدك --اكيد لازم تحط ذي في كلينت triggerServerEvent("timerank",localPlayer,Group,Price) test = function ( Group,Price ) local acc = getAccountName(getPlayerAccount(source)); if isGuestAccount(getPlayerAccount(source)) then return outputChatBox("عليك التسجيل اولا",source,255,0,0,true); end if isObjectInACLGroup("user."..acc, aclGetGroup(tostring(Group))) then return outputChatBox("لديك الرتبة هذه بالفعل",source,0,255,255,true); end local sv = getElementData( source,'PlayTime' ) if not sv then sv = '0:0:0' end local data = split(sv,':') local hr = tonumber( data[1] ) if hr == nil or not tonumber(hr) then hr = 0 end if ( hr >= tonumber(Price)) then aclGroupAddObject (aclGetGroup( tostring(Group)),"user."..acc); outputChatBox("لقد تم شراء الرتبة بنجاح"..n,source,255,0,0,true); else outputChatBox("لا تمتلك الساعات الكافية",source,0,255,255,true); end end addEvent("timerank",true) addEventHandler("timerank",root,test) جرب و قولي
    1 point
  24. لو انت مسوي اللوحة عبارة عن صورة و فيها ازرار اسم اللوحة = guiCreateStaticImage((screenW - 225) / 2, (screenH - 370) / 2, 225, 370, "اسم الصورة", false) guiSetVisible(اسم اللوحة,false) --- عدم اظهار الصورة اسم الزر = guiCreateButton(9, 21, 206, 28, "الاسم الي علي الزر", false, اسم اللوحة) guiSetAlpha(MainW, 1.00) -- للشفافية ياريت اكون فدتك
    1 point
  25. onResourceStart + triggerServerEvent ? نكست شكل الصيام ماثر عليك شوي ههه ------ لصاحب الموضوع بدل triggerServerEvent(root, "receiveGroup", root, myGroup) بـ triggerEvent("receiveGroup", root, myGroup)
    1 point
  26. Damage value for shotguns is per pellet, as @gSub correctly noted. There no built-in locational damage though.
    1 point
  27. @N3xT splayer يساوي السورس ولكن في السطر الي قبله في تحقق جلب اسم الاعب من المتغير splayer لو تلاحظ بالسطر الثامن انك مسوي تحقق ان متغير زبدة الكلام انك مسوي تحقق بين بلاير وسترنق وراح يطلع لك بق
    1 point
  28. Its depends on target & range on bullets fired by every round as o guess sawnoff will damage more then silenced pistol we may seen many times while playing
    1 point
  29. table= {} guiGridListSetItemData "onClientGUIClick" guiGridListGetSelectedItem guiGridListGetItemData triggerServerEvent ----- vehicletable= { } createVehicle warpPedIntoVehicle setAccountData getAccountData setTimer or executeSQLQuery
    1 point
  30. خربت اللغه العربيه يابوي ههههههه بالتوفيق
    1 point
  31. the pistol fires 1 projectile (bullet) and the sawed-off fires many? Not sure, but it will depend on where are you shooting the ped too. maybe someone else can be more of a help
    1 point
  32. Ого-го какие люди Из нового что появилось могу отметить: Поддержка ООП CEF Изменение handling транспорта и т.д и т. п. В общем появилось много вкусняшек на любой вкус (кому что больше интересно). А у тебя какие планы? Планируешь возвращаться в МТА?
    1 point
  33. من واقع تجربة, ما انصحك تقلد أحد لأنك كذا ما استفدت ولا شيء ولا طلعت بفكرة حصرية لك بتضيع وقتك على سكربت موجود من الأساس, دام انك ماشاء الله تعرف تبرمج سو اشياء حصرية بدلاً من تقليد الآخرين
    1 point
  34. بدايتي الحقيقية : أتذكر كنت اعدل على لوحة قوانين وكنت اقول انها حقتي ,وكمان للحين اتذكر اسم صانعه كان فلاب جاك شيء زي كذا xDDDD
    1 point
  35. شكراً لكم جميعا, انتم أغلى الناس بدعمكم هذا وبقاءكم عليه أتمنى التوفيق للجميع في كل شيء في أمان الله.
    1 point
  36. 1 point
  37. getLoginPlayers Server Side Syntax table getLoginPlayers() Return: جدول بكل الاعبين المسجلين Function Source function getLoginPlayers() local loginPlayers = {} for _,player in ipairs(getElementsByType("player")) do if not isGuestAccount(getPlayerAccount(player)) then table.insert(loginPlayers,player) end end return loginPlayers end Example addCommandHandler("loginplayers", function (player) outputChatBox("- Login Players:",player) for _,ply in ipairs(getLoginPlayers()) do outputChatBox("- " .. getPlayerName(ply),player) end end ) getLoginPlayers وشكـرآآ ...
    1 point
  38. 0 points
  39. ----Rust Experimental (RUST) ---- 16+ ---- نظام اللعبة سرفايفل ---- لعبة بقاء وتجميع موارد وتعملك بيت من تصميمك وشوي شوي تتعلم الاسلحة والرصاص وتحتاج سكراب عشان تتعلمها وتتطور منزلك وتقتل الاخرين وتاخذ اغراضهم ---- - نظام اللعبة : انك تعملك بيت وتحاول تعيش في سيرفر فيه فوق 50لاعب او اكثر وتكون صداقات او عدائات ---- التقيم 8/10 ---- لعبة جدا واقعية وتقدر لما تقتل لاعب تاخذ جلده وعضامه وجمجمته وتكون منها اشياء مثلا سكين من عظام انصح بها جدا واتمنى ان العرب كثيرين فيها وتقدر تصنع لك متفجرات وتعمل هجوم لبيت اخر لسرقة مواردهم وقتلهم لعبة كل 14يوم ينزل لها تحديث جديد واخر تحديث نزلو قوارب واشياء كثيرة تكتشفها حيوانات واشياء جدا كثيرة عالم مفتوح كبير ---- 34.99$ --- PC Only ----- المواصفات اقل شيء CPU: Intel Core i7-3770 / AMD FX-9590 or better CPU SPEED: Info RAM: 8 GB OS: Windows 7 64bit VIDEO CARD: GTX 670 2GB / AMD R9 280 better FREE DISK SPACE: 10 GB اعلى شيء CPU: Intel Core i7-4690K / AMD Ryzen 5 1600 CPU SPEED: Info RAM: 16 GB OS: Windows 10 64bit VIDEO CARD: GTX 980 / AMD R9 Fury FREE DISK SPACE: 12 GB December 11, 2013 لعبة كل وقتي فيها 12ساعة يومياً ادمان
    0 points
  40. اللي يكرهني يحط رياكشن
    0 points
×
×
  • Create New...