Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/03/17 in all areas

  1. لا والله من كثر ما وجهك يخوف رميت الجوال و ما اقدر اكمل المقطع
    2 points
  2. Hi guys @fastman92 has recently engaged with us in order to get his limit adjuster implemented into MTA. Obviously, there are a number of complexities involved in implementing this, and we need to make some important design decisions to achieve this. So, why do you want to use a Limit Adjuster tool? Some things I'm hoping to learn: Are you trying to play MTA with a modified version of GTASA? Do you want the limit adjuster to play mods like GTA:Underground? Are you trying to use Limit Adjusters with MTA's own Lua engine* functions? (e.g. engineLoadDFF) Anything else? Any feedback would be incredibly beneficial to the team going forward. Cheers Dan
    1 point
  3. INTRODUÇÃO Primeiramente gostaria de agradecer você por disponibilizar um pouco de seu tempo para que assim possamos tornar este tópico mais informativo e colocá-lo dentro do assunto. Começarei informando que sou aluno de um curso superior chamado 'Ciência da Computação' e que conheço bem o assunto servidores, porém, iniciante na linguagem lua. Tenho um conhecimento em programação, não posso me dar ao luxo de dizer que sou um ótimo programador, mas me esforço pra dar o meu melhor e principalmente garantir que as pessoas tenham o melhor possível ou pelo menos o melhor que eu possa dar. IDEIA Após jogar MTA e SAMP a muito tempo acabei me esgotando de ser um membro de servidor e decidi me tornar um desenvolvedor de servidor e com isso trago essa ideia de realizar a criação de um servidor RPG, porém, estou cansado de entrar em servidores "RPG" que tem como estilo, basicamente, um freeroam com muitas skins e profissões, tornando este gamemode um "estilo" RPG (oque na minha opinião não é o correto, mas deixemos isso de lado). Bom, após eu jogar em vários servidores e infelizmente, isso mesmo, INFELIZMENTE só encontrar alguns servidores RPG's bons de origem internacional, acabei me dando a oportunidade de tentar realizar um servidor que possa trazer novas ideias (não gostaria de ficar nos mesmos objetivos que já foram alcançados) e principalmente que tenha a origem nacional, porque sinceramente, conheço vários programadores, pessoas interessadas, moderadores deste fórum, BRASILEIROS, que se interessam neste assunto e acabam deixando de lado por não receberem uma feedback e principalmente o apoio. RESUMINDO Gostaria de criar um servidor RPG (no MTA) para competir com os grandes servidores já existentes, mas que tenha coisas diferentes (oque basicamente é o objetivo de todos os servidores iniciantes) O SERVIDOR EM SI Minha ideia é que o usuário ao entrar pela primeira vez (e passar pelo painel de login/registro) nascerá em um dos aeroportos. O servidor terá um custo muito alto (na questão de dinheiro do jogo mesmo), ou seja, um exemplo: casas e carros terão um valor muito elevado, isso manterá o jogador a mais tempo no servidor e fazendo mais coisa e não deixar ele no famoso "POLÍCIA x LADRÃO". Ao deixar os carros caros, fazemos também que profissões como: Motorista de ônibus, taxi e outros tipos de profissões desta categoria tornem-se mais interessantes de se exercer e não deixadas de lado como todo servidor. Criaria também um sistema de lixos espalhados (trocando a skin de um objeto selecionado por uma lixeira) no qual a pessoa que tiver a profissão de lixeiro deverá sair buscando. Os jogadores terão um sistema de Sede/Fome/Sono/Etc (oque pode tornar a profissão de entregador de pizza, por exemplo, muito legal - já imaginou você pedir pizza e esperar sua pizza chegar na sua casa igual na vida real?? :D). Os jogadores também terão um registro único no servidor (uma espécie de CPF). Também haverá um sistema de combustível com preço dos combustíveis reguláveis (Carros/Motos - Álcool/Gasolina | SUV's/Caminhões - Diesel). Os carros nunca poderão ser "guardados" em um inventário e se explodidos o dono o perderá (Esta ideia ficará ainda como ideia, pois pode vir alguém e explodir o carro de um player e ficar 'apenas' como procurado - aliás, o carro ficaria indestrutível quando ninguém estivesse dentro do mesmo, ou saísse). Haverá áreas verdes espalhadas aonde quem estiver dentro ficará imortal e não poderá disparar ou pegar uma arma na mão (Isso seria para praças e áreas de convivência). O hospital servirá como forma de realmente curar as pessoas (estava pensando em deixar quando ao morrer uma vez o mesmo perderia tudo, mas acho isso muito extremo - mas oque estava pensando também é que o jogador, ao morrer, perderia alguma coisa e quem matou também, vou explicar melhor em seguida.). Deixaria as "profissões" que a maioria deseja como policial e ladrão para poder serem exercidas somente quando o usuário atingir determinado nível ou tempo jogado e os jogadores que matarem sem ter a profissão de ladrão perderiam algo ou até possam vir a serem expulsos do servidor por um tempo estabelecido. Com toda essas "regras", nada melhor que criar um sistema de apresentação do servidor, para claro, não deixar os novos usuários desinformados. Mas, como você pode ver, nenhuma ideia realmente surpreendente, por isso, vim a comunidade, nada melhor que a própria comunidade para realizar um brainstorm, né?? OBS: Todas as informações aqui apresentadas podem sofrer alterações conforme as críticas vindas de você mesmo!! OBS²: Todas as críticas que não forem de caráter construtivo serão deletadas (ninguém merece xingamentos) AJUDAS Primeiramente, nada melhor que sugestões e ideias para iniciar este servidor, portanto, deixarei um formulário (acessível no seguinte link) para que as ideias possam ser recebidas com toda a importância necessária (As ideias serão deixadas em um arquivo de leitura para que os usuários possam ver as ideias já apresentadas - somente as ideias) Um suporte gráfico para criação de texturas e afins Scripts prontos que possam ajudar o crescimento do servidor também serão de alta ajuda OBSERVAÇÃO FINAL: Qualquer dúvida que você venha a ter, sinta-se a vontade para perguntar neste tópico, em mensagens privadas ou qualquer escolha de sua preferência.
    1 point
  4. سلام عليكم ورحمه الله وبركاته حبيت اخذ افكاركم و ارائكم في مود شغال عليه المود عباره عن مركر تشتري منه سفينه و تقدر تزودها بالقنابل و تسوقها ملحوظه السفينه اوبجكت ض و لما تركبها يظهر لك شريط بالدم حقها مثل نظام حرب بس بذي افكار زياده وشكرا ...
    1 point
  5. 1 point
  6. عارف بس هو طلب نجمة او نجمتين
    1 point
  7. العفو, داري أنه ما راح يكون فيه أخطاء لكن ماله داعي تسوي تحقق وبعدين يتكنسل تستخدمه على الفاضي
    1 point
  8. تم التنفيذ مزيد من الافكار
    1 point
  9. مصمم برضو هههه بالنسبه للاعبين استخدم لوب for k,v in ipairs(getElementsByType('player'))do your code end
    1 point
  10. ذا انسان مب صاحي شي بعقله ملمس ثانيا نعمة ربي مب كذا تستخدم الله لا يبلانا بس
    1 point
  11. جرب ---------server -- useful function bool isPlayerInTeam ( player thePlayer [, team/string theTeam = nil ] ) function isPlayerInTeam(player, team) assert(isElement(player) and getElementType(player) == "player", "Bad argument 1 @ isPlayerInTeam [player expected, got " .. tostring(player) .. "]") assert((not team) or type(team) == "string" or (isElement(team) and getElementType(team) == "team"), "Bad argument 2 @ isPlayerInTeam [nil/string/team expected, got " .. tostring(team) .. "]") return getPlayerTeam(player) == (type(team) == "Criminal" and getTeamFromName(team) or (type(team) == "userdata" and team or (getPlayerTeam(player) or true))) end local Team = "Criminal" local Money = 5000 addEvent("givePlayerMoney",true) addEventHandler ("givePlayerMoney",root, function () if isPlayerInTeam(client,"Criminal") then givePlayerMoney ( client , Money ) setPlayerWantedLevel ( client, 6 ) -- عدد النجوم 6 outputChatBox("You get money 5k from..ATM../..Hack",client,550,666,0,true) else outputChatBox("you can't hack...Criminal Job only can Hack",client,666,0,0,true) end end ) addEvent ( "onPlayerSendMoney", true) addEventHandler ( "onPlayerSendMoney", root, function ( plr , money ) local plr = getPlayerFromName ( plr ) local getM = getPlayerMoney ( client ) if getM == tonumber(money) then takePlayerMoney ( client , tonumber(money) ) givePlayerMoney ( plr , tonumber(money) ) end end )
    1 point
  12. التحقق من السورس يساوي الماركر يكون فوق الأشياء الباقية
    1 point
  13. setPlayerWantedLevel --ex. local Marker = createMarker (...) function KillerProject ( DeveloperAhmed ) if source == Marker then if (getElementType (DeveloperAhmed) == "player") and (DeveloperAhmed == localPlayer) then setPlayerWantedLevel ( DeveloperAhmed, 6 ) end end end addEventHandler ( "onMarkerHit", root, KillerProject )
    1 point
  14. 1 point
  15. local Marker = createMarker ( x , y , z , "arrow" , 2 , 255 , 255 , 0 , 255 ) local ID = 5 -- هنا الاي دي addEventHandler ("onMarkerHit",root, function ( player ) if getElementType ( player ) == "player" and not isPedInVehicle ( player ) then if source == Marker then setElementInterior ( player , ID ) end end end )
    1 point
  16. local Marker = createMarker ( x , y , z , "arrow" , 2 , 255 , 255 , 0 , 255 ) addEventHandler ("onMarkerHit",root, function ( player ) if getElementType ( player ) == "player" and not isPedInVehicle ( player ) then if source == Marker then setElementPosition ( player , x , y , z ) end end end )
    1 point
  17. 1 point
  18. ههههه عيب علينا تفضل المود https://community.multitheftauto.com/index.php?p=resources&s=details&id=9394
    1 point
  19. I guess you're looking for processLineOfSight. However, it does not return the rotation directly so you have to calculate it from the returned normal vector.
    1 point
  20. الفلوس بالداتا ...
    1 point
  21. اوك اسف هههههههه
    1 point
  22. 1 point
  23. مو كأنك ناسي source في function() ? ولا انا محشش ؟
    1 point
  24. اذا واجهتك مشاكل قولي وبساعدك
    1 point
  25. onMarkerHit setElementInterior -- مب متأكد
    1 point
  26. createMarker "onMarkerHit" or "onClientMarkerHit" -- event setElementPosition
    1 point
  27. هههههههههه ما قولت المواصفات جميعها لدي كرت شاشة واحد هو مدمج ولا يشغل الالعاب الحديثة الحاليه intel hd 3000 فهمت ليش بلعب mta
    1 point
  28. الله يهديك مازلت تلعب mta ! ! ! ههههههههه
    1 point
  29. interpolateBetween او سوي اوبجكت مخفي .. والصق الماركر بالاوبجكت ، واستعمل moveObject
    1 point
  30. تأكد من انك مشغل الـ firewall + اذا انت محمل اي برنامج خاص بـ الفيروسات حاول انك تقفله firewall = الجدار الناري
    1 point
  31. setTimer setElementPosition
    1 point
  32. عشان السلاح setPedWeaponSlot
    1 point
  33. Hi Ayush Rathore, thank you about the information, i'm using using getpos resource to get the cordinates, but nice information, thanks.
    1 point
  34. function getPlayerFromPartialName(name) local name = name and name:gsub("#%x%x%x%x%x%x", ""):lower() or nil if name then for _, player in ipairs(getElementsByType("player")) do local name_ = getPlayerName(player):gsub("#%x%x%x%x%x%x", ""):lower() if name_:find(name, 1, true) then return player end end end end function payScript(player,cmd,other,amount) if not other or not amount then outputChatBox( "#00BAFF[Play] #FFffFFHelyes használat: #0088FF/pay <név> <összeg>!", player, 0, 255, 255, true ) else if tonumber(amount) < 0 then outputChatBox( "amount is in negative", player, 0, 255, 255, true ) return end local money = getPlayerMoney(getPlayerFromPartialName(other)) local otherPlayer = getPlayerFromPartialName(other) if otherPlayer and otherPlayer ~= player then if (money - amount) < 0 then outputChatBox("#00BAFF[Play] #FFffFFNincs elegendo #0088FFpénzed!",player,0,255,255, true) else setPlayerMoney( otherPlayer, getPlayerMoney(otherPlayer) + amount ) outputChatBox( "#00BAFF[Play] #FFffFFKaptál #0088FF"..amount.."Ft-ot #FFffFFtole: #0088FF".. getPlayerName(player).."!",otherPlayer,0,255,255,true ) setPlayerMoney( player, money - amount ) outputChatBox( "#00bAFF[Play] #0088FF"..amount.."Ft-ot #FFffFFküldtél neki: #0088FF"..getPlayerName(otherPlayer).."!",player,0,255,255, true ) end else outputChatBox( "Could not find player ".. other, player, 0, 255, 255, true ) end end end addCommandHandler( "pay", payScript ) use this and change this line to your need outputChatBox( "amount is in negative", player, 0, 255, 255, true )
    1 point
  35. ههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههههه =========================================================================================================== تفضل المود في بعض الأشياء مقفلة لأنها خاصة ب "حرب العصابات" ذذ اذا تبي تشيلها أعلمني
    1 point
  36. ----------------------------------------------------------------- Marker = createMarker ( x,y,z, "cylinder", 2, 255, 255, 0, 0 ) theTeam = "teamName" -- the team name ----------------------------------------------------------------- addEventHandler("onClientMarkerHit",Marker, function ( DeveloperAhmed ) if (getElementType (DeveloperAhmed) == "player") and (DeveloperAhmed == localPlayer) then local Team = getPlayerTeam(getLocalPlayer()) if Team and getTeamName(Team) == theTeam then showCursor(true) guiSetVisible( WindowName ,true) -- the window name exports["guimessages"]:outputClient("The window is showed...", 255, 255, 0,source) else showCursor(false) guiSetVisible( WindowName ,false) -- the window name exports["guimessages"]:outputClient("You should be in the team > "..theTeam, 255, 255, 0,source) end end end ) ----------------------------------------------------------------- جرب هذا ومع العلم انا ما جربتها ترا عندي اللعبة مب راضية تشتغل هايني دورت
    1 point
  37. As of 09/03/2017 we've pruned the entire section, as we felt some sort of rules and guidelines were needed in order to achieve a good listing for both server staff and interested parties. Rules: - General forum guide of conduct and rules apply in this section. - Any modification which is outside limits for the OP shall be reported via the report system in order to be addressed by a moderator. This is mandatory, as the goal is to keep this section as clean as possible. - Topics must have a detailed description of your server, this involves a brief description of your community, gamemodes you're offering and anything else that helps players to get interested on you. - Drama, server bashing, staff bashing, won't be allowed by any means. Members found guilty of these behaviour will be punished accordingly to our general guidelines and more severe depeding of staff judgement. - You should be atleast a staff member (or owner) of the server you're advertising (so no promotion by 'satisfied players'). - It's not allowed to actively recruit or persuade people to leave a positive opinion on your topic. Moderators reserve the right to judge if a spree of posts is suspicious (likely to be a result of this practise) and remove it on their own discretion, this is non-negotiable. Formatting your topic: - Topic titles shall have the form [SERVER TYPE] Brief description/Name [LANGUAGE]. - The first post shall be written in at least 3 parts, being the first a brief description of yourself, the second any media you may provide about your server, mostly ingame shots and anything you might want to show to interested players, and the third one server details, this involves connection details, contact details, and anything else you may provide to get players to your community. Any thread not following this guidelines shall be deleted and the user/s involved been given a warning depending of the staff judgement.
    1 point
  38. تمت الافادة؟
    1 point
  39. ابشرك كتبت طيور الجنه و طلع لي وجهك يقلي سبرايز مذر فكر
    1 point
  40. طيور الجنة ------- أكتب اسم المود اللي تبيه وابحث فـ قوقل او اليوتيوب ...
    1 point
  41. setElementDimension
    1 point
  42. خذ الكبيرة مني ض1 سوي بها ماركر منزل بمعني تقدر تعيش في السفينة ومكان للطائرة الهليكوبتر بحيث تكون محفوظة دائماً معها
    1 point
  43. السلام عليكم ورحمه الله وبركاتهه تم افتتاح سيرفر جراند ديزي باللغه العربيه لعشاق سيرفرات ديزي مع العديد من الاضافات كالاسلحه و السيارات و المابات و الحقائب و الخيم معلومات السيرفر : صور من داخل السيرفر http://f.top4top.net/p_425uf3nf10.png http://e.top4top.net/p_4252ttju9.png http://d.top4top.net/p_425vy9vr8.png http://c.top4top.net/p_425sow0f7.png http://b.top4top.net/p_425d1cuo6.png http://a.top4top.net/p_425fad5u5.png http://f.top4top.net/p_425baglg4.png http://e.top4top.net/p_4255iskt3.png http://d.top4top.net/p_425px1492.png http://c.top4top.net/p_425go0vv1.png http://d.top4top.net/p_4251lklk3.png http://c.top4top.net/p_425e6y5b2.png http://b.top4top.net/p_425xveti1.png
    1 point
  44. I'm locking this topic as the issue (report asking for his ban) has been dealt with, also naming and shaming is unnecesary I don't advise to try evade the global ban
    1 point
  45. Hello everyone, So, I'm currently updating my Mod Downloader script to support weapons and skin models. However, I've been running into an issue with downloadFile. I'm not sure if it is something that I am doing in the script, or if it is an issue with MTA itself. The MTA client says that the files do not exist. Every once in a while it will successfully find and download them, but most often times it says that the files don't exist. Screens: I cannot figure out for the life of me of why this is not working. Any help is greatly appreciated. Thanks, xXMADEXx Edit: Restarting the server seems to make the files actually able to download, but restarting the server whenever something is added is just ridiculous
    1 point
×
×
  • Create New...