Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 13/04/20 in Posts

  1. بسم الله الرحمن الرحيم السلام عليكم ورحمة الله وبركاتة أخبار الشباب عساكم طيبين , اول مساهمة تقريبا وثالث موضوع لي المهم حبيت اطرح ماب الاستراحة لسيرفر كنق الطارة الماب محوله من 2018 وركبته بالسيرفر تقريبا سنه وشوي وقررت اطرحه للعموم وأحول شيء جديد المهم مالكم بالطويلة الماب من تصميمي والمجسم من تحويلي والتكستر من اختياري الماب جاهز ماعليك الا انك تركبة بالاستضافة وتشغله والتعديل مفتوح سواء عالصور او اضافات عالمجسم ورجاءا حفظ الحقوق صور للماب او المجسم مادري اذا الصور بتظهر زمان عالمنتديات طبعا المركبات الي بالصور مو من ضمن الماب ذي عشان تعطي موارد للصورة رابط تحميل الماب و المجسم لااله الا الله,محمد رسول اللة وسلامتكم فأمان الله ورعايته حسابي انستقرام :jn_i ip Server:149.202.89.124:22003 ......
    4 points
  2. Images Blueberry TownHall V2.0 - Added "vgElkup" and "tall_fence" as floor and walls as the building itself had no collisions. - Added a few "smashbar" as parking. - Added "cem01_law" as main building. - Added x3 "vegasflag02" as flags for environment. - Added decor. - Other... Download Credits: rtkpX
    1 point
  3. 1 point
  4. Show : طبعاً فيه أسلحة كثيرة , مو ديقل واحد بس و تقدر تركب المنظار او لا حسب اختيارك , و الخ ~ شكراً
    1 point
  5. Just compare the distance between positions of the vehicle. So you get the position. And you wait with a delay. And then you get the position again. Now you can calculate the distance between them with: https://wiki.multitheftauto.com/wiki/GetDistanceBetweenPoints2D https://wiki.multitheftauto.com/wiki/GetDistanceBetweenPoints3D Just like a GPS does it's thing.
    1 point
  6. Ajudou, Era Porque Tinha Renomeado Os Script Para Outro Nome
    1 point
  7. @DNaumov Here it is, I hope you understand this. Feel free to ask. local screen = Vector2( guiGetScreenSize() ) local scr = Vector2( screen.x/1920, screen.y/1080 ) circle2 = dxCreateTexture('assets/circle2.png','dxt1') fileDelete ('assets/circle2.png') -- Slice rotation ranges local slices = { {0, 70, "1st"}, {71, 143, "2nd"}, {144, 216, "3rd"}, {217, 290, "4th"}, {291, 360, "5th"}, } function getActiveSlice(rot) rot = math.floor(rot) for i = 1, #slices do if rot >= slices[i][1] and rot <= slices[i][2] then -- cursor is between this slice range return slices[i][3] end end return false end function drawRadial() dxDrawImage(741*scr.x,320*scr.y,438*scr.x,439*scr.y,'assets/circle.png',0,0,0,tocolor(30,30,30,160)) local cx, cy = getCursorPosition() local cx, cy = cx * screen.x, cy * screen.y -- cursor absolute position local rot = findRotation(cx, cy, screen.x/2, screen.y/2) -- get rotation difference between center of the menu and cursor local active = getActiveSlice(rot) -- get active button if active == "1st" then dxDrawImage(741*scr.x,317*scr.y,438*scr.x,439*scr.y,circle2,1,0,0,tocolor(30,30,30,160)) elseif active == "2nd" then dxDrawImage(745*scr.x,319*scr.y,438*scr.x,439*scr.y,circle2,73,0,0,tocolor(30,30,30,160)) elseif active == "3rd" then dxDrawImage(745*scr.x,322*scr.y,438*scr.x,439*scr.y,circle2,145,0,0,tocolor(30,30,30,160)) elseif active == "4th" then dxDrawImage(741*scr.x,325*scr.y,438*scr.x,439*scr.y,circle2,217,0,0,tocolor(30,30,30,160)) elseif active == "5th" then dxDrawImage(737*scr.x,322*scr.y,438*scr.x,439*scr.y,circle2,289,0,0,tocolor(30,30,30,160)) end dxDrawBorderedText('МЕНЮ ТРАНСПОРТА',845*scr.x,264*scr.y,845*scr.x,264*scr.y,tocolor(255,255,255,255),1,font1s) dxDrawBorderedText('BANSHEE',920*scr.x,290*scr.y,845*scr.x,264*scr.y,tocolor(175,175,175,255),0.8,font1s) dxDrawText('Починить',998*scr.x,425*scr.y,998*scr.x,425*scr.y,tocolor(109,109,109,255),1,font2s) dxDrawText('Перевернуть',1030*scr.x,572*scr.y,998*scr.x,425*scr.y,tocolor(109,109,109,255),1,font2s) dxDrawText('Заглушить\nдвигатель',930*scr.x,910*scr.y,998*scr.x,425*scr.y,tocolor(109,109,109,255),1,font2s,'center','center') dxDrawText('Включить\nгабариты',660*scr.x,745*scr.y,998*scr.x,425*scr.y,tocolor(109,109,109,255),1,font2s,'center','center') dxDrawText('Запереть двери',795*scr.x,425*scr.y,998*scr.x,425*scr.y,tocolor(109,109,109,255),1,font2s) dxDrawImage(901*scr.x,480*scr.y,117*scr.x,119*scr.y,'assets/circle.png',0,0,0,tocolor(10,10,10,255)) end addEventHandler('onClientRender',root,drawRadial) -- detect button press addEventHandler("onClientClick", root, function(button, state) if button == "left" and state == "up" then local cx, cy = getCursorPosition() local cx, cy = cx * screen.x, cy * screen.y -- cursor absolute position local rot = findRotation(cx, cy, screen.x/2, screen.y/2) -- get rotation difference between center of the menu and cursor local active = getActiveSlice(rot) -- get active button if active then if active == "1st" then outputChatBox("You pressed the first button! (Починить)") end end end end)
    1 point
  8. @DNaumov Paste the full code*
    1 point
  9. Maybe, paste here your current code, and upload the image what you use.
    1 point
  10. Hi! You can get the rotation difference between cursor and center of the menu. And from this rotation you know which button is active. Use findRotation to get the rotation difference,
    1 point
  11. Your history: - Development of abuse tools (e.g spammers, to mess up servers and cause server lag) - Attempted development of cheats (last week). Even though you're far from being able to succeed, this completes the picture that you're up to no good and shouldn't be here. Ban appeal denied, this applies to all of your serials: AE91D8EF0F026724C12CAAFC7AF24E53 80D21A1405F05073E4B7F5852D695DE4 3CC02A507426D64B0FFF897138A1BBA2 @GuilhermeBotega
    1 point
  12. Testei aqui e, no server-side ele não funcionou... Não deu erro nem nada, só não funcionou kk Mudei para client-side e funcionou certinho... Tenta ver se é isso... E outra... Se ele está restaurando tudo de uma vez, é provável que o delay do seu setTimer esteja muito baixo... Coloca igual ao código postado...
    1 point
  13. meu deuss dksjdk muda la guiCreateBrowser(0, 0, sx, sy, true, true, false)
    1 point
  14. there was no bases on the first dayz servers . you just hide your loot on tents in the world . bases ruined the game for me
    1 point
  15. Now i get this error ( after update and restart ) https://i.imgur.com/rjT57ae.png i FIX already but is better update it
    1 point
  16. I don't really like the idea of making wheels with huge customization options as vehicle components because of big .dff file size. You could make unlimited number of wheels as if they were objects. In this way you have to make regular wheels invisible (setVehicleComponentVisible). Then, inside onClientRender or even better onClientPreRender event you have to copy the position and rotation of default wheels(getVehicleComponentPosition and getVehicleComponentRotation) and set it as the position and rotation for your objects that will represent your wheels. Later, you will want this to be synchronized between other players. onClientElementStreamIn and onClientElementStreamOut events might help. On the other hard, if you'd like to do this with in-build components, shaders could be used to apply different textures on wheel's parts. And all the components are made separately, but it's stuff related to modeling.
    1 point
  17. Suponhamos, que no seu resource de identidade, salva em elementData. Então, o que você precisará fazer ? Em cada resource, normalmente é usado getPlayerName, para pegar o ninkname do player, então basicamente, você deverá trocar usando getElementData. EXEMPLO : --[[ EXEMPLO : # Meu Nickname no "ESC/ OPÇÕES/ APELIDO" ESTÁ COMO : MAD_Scripting Então Fiz a digitação, e o cadastramento do meus dados na identidade com meu nome, e sobrenome, onde será setado 2 elementos em mim. --]] setElementData(source, "Nome", "Ângelo") setElementData(source, "Sobrenome", "Pereira") -- Na linha abaixo é uma suposição, de como estará na sua linha do outputChatBox(), outputChatBox("Jogador "..getPlayerName(source).." Informou um Exemplo.", root, 255,255,255, true) --/> # RESULTADO no CHAT : Jogador MAD_Scripting Informou um Exemplo. -- Então, para eu puxar meu nome e sobrenome da identidade, terei que fazer o Seguinte : (removendo getPlayerName) outputChatBox("Jogador "..getElementData(source, "Nome").." "..getElementData(source, "Sobrenome").." Informou um Exemplo.", root, 255,255,255, true) --/> # RESULTADO no CHAT : Jogador Ângelo Pereira Informou um Exemplo. Não é um dos melhores exemplo, mas, espero que consiga compreende !
    1 point
  18. 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
  19. Soon we are coming with the New Version 4.1 Prepare your self and Put the bullets by distress because we are going to acheive the best in this new Version , Prepare ur self immediately. Regards , SAUG Staff Team. If any one complainting from any thing feel free to report it in our discord server we glad to hear you there
    1 point
  20. الي يعرف فكرة المود يقلي بسويه و بنشر امه غصب عن الي يبي و الي مايبي
    0 points
  21. Peguei um sistema de samu da internet, porém não manjo em mecher muito em script, daí queria coloca pra quando um jogador leva HeadShot ele cair ao invés dele morrer, também queria mudar o tempo de 3 minutos para 10, como Fasso isso alguém disposto a me ajudar
    0 points
×
×
  • Create New...