Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 22/11/18 in all areas

  1. Hi! I am Ciastuuś(Ciastuus) and today I present the construction system, which is visible in the film below. One day I came up with the idea of creating something that was not there. Namely, we wanted to create a server based on Rustie, but due to lack of time and limitations, we created a demonstration script that will exist on the server that we will open if we find the time. What can the script do? We will answer this question! Building on a designated area Creating all available elements visible in the video Removing manually created items Destroying elements by hitting a vehicle or shooting it with a gun And many more in subsequent versions! The visible zone has been modeled in its entirety, and checking whether an element is in the zone is part of the script. Same as effects. The effects are part of modeling and scripting them. If you have an idea what to add, please write in a comment, thank you! Credits: * Ciastuus(me) * Vagos * x0nx * xS3nd * Kavp * ... more
    1 point
  2. Se poder deixar likes nos comentarios que te ajudei.. agradecerei muito. Só clicar no icone de coração.
    1 point
  3. Enfim, ficar chutando posições não da, iniciei meu servidor de testes e posicionei pra você. Código: local Minicio4 = createMarker (1038.02332, -1337.93970, 12.8, "cylinder", 1, 16, 102, 231, 100)
    1 point
  4. Tente assim: Lembrando, posição Z é altura. então: local Minicio4 = createMarker (1038.02332, -1337.93970, 13.5, "cylinder", 1, 16 ,102 ,231, 100)
    1 point
  5. Isso você arruma na posição mano kkk
    1 point
  6. local Minicio4 = createMarker (1038.02332, -1337.93970, 13.72656, "cylinder", 1, 16 ,102 ,231, 100) Não entendi o por que desse -1 aí, até onde eu sei depois da posição z, é o tipo do marker, depois o tamanho.
    1 point
  7. الفرق ي طويل العضو والسلامة السرعه فقط يعني مدري كيف اشرحلك لكن الافضل تكون المعالجات اعلى عشان يستوعب كمايه عاليه من الاعبين
    1 point
  8. Ele está reclamando que não é possível usar string.format, pois aquele valor é false. (o jogador não tem nenhuma data "bankbalance") Coloque uma condição antes dessa formatação, de modo que se a data não existir, ele faça a conversão usando outro valor. local screenW,screenH = guiGetScreenSize() local resW, resH = 1280, 720 local x, y = (screenW/resW), (screenH/resH) function HudGtaV () -- dxDrawImage( x*1093, y*118, x*111, y*82, "img/"..getPedWeapon(getLocalPlayer())..".png", 0, 0, 0, tocolor(255, 255, 255, 255), false) -- dxDrawLine( x*1100 - 1, y*79 - 1, x*1100 - 1, y*105, tocolor(21, 168, 38, 126), 1, false) -- dxDrawLine( x*1228, y*79 - 1, x*1100 - 1, y*79 - 1, tocolor(21, 168, 38, 126), 1, false) -- dxDrawLine( x*1100 - 1, y*105, x*1228, y*105, tocolor(21, 168, 38, 126), 1, false) -- dxDrawLine( x*1228, y*105, x*1228, y*79 - 1, tocolor(21, 168, 38, 126), 1, false) dxDrawRectangle( x*1100, y*79, x*128, y*26, tocolor(0, 0, 0, 126), false) dxDrawImage( x*1063, y*73, x*32, y*33, "imgs/bancoo.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) local money2 = 0 if getElementData(getLocalPlayer(),"bankbalance") then money2 = string.format("%8d", getElementData (getLocalPlayer(),"bankbalance")) else money2 = string.format("%8d", 0) end dxDrawText(""..money2, x*1105, y*77, x*1119, y*95, tocolor(150, 140, 147, 229), 1.00, "pricedown", "left", "top", false, false, false, false, false) -- showammo1 = getPedAmmoInClip (localPlayer,getPedWeaponSlot(localPlayer)) -- showammo2 = getPedTotalAmmo(localPlayer)-getPedAmmoInClip(localPlayer) -- dxDrawText("".. showammo1, x*1146, y*100, x*1186, y*140, tocolor(129, 137, 243, 255), 1.00, "pricedown", "left", "top", false, false, false, false, false) -- dxDrawText("".. showammo2, x*1197, y*99, x*1237, y*139, tocolor(12, 20, 127, 255), 1.00, "pricedown", "left", "top", false, false, false, false, false) local altura = 25 local imageL, imageA = 25,25 local star01, star02, star03, star04, star05, star06 = 1220, 1193, 1165, 1138, 1110, 1080 local image = "wanted/star.png" wanted = getPlayerWantedLevel (getLocalPlayer()) if wanted == 1 then dxDrawImage(x*star01, y*altura, x*imageL, y*imageA, image) -- star 01 dxDrawImage(x*star02, y*altura, x*imageL, y*imageA, image, 0,0,0, tocolor(0, 0, 0, 150)) -- star 02 --fundo dxDrawImage(x*star03, y*altura, x*imageL, y*imageA, image, 0,0,0, tocolor(0, 0, 0, 150)) -- star 03 --fundo dxDrawImage(x*star04, y*altura, x*imageL, y*imageA, image, 0,0,0, tocolor(0, 0, 0, 150)) -- star 04 --fundo dxDrawImage(x*star05, y*altura, x*imageL, y*imageA, image, 0,0,0, tocolor(0, 0, 0, 150)) -- star 05 --fundo dxDrawImage(x*star06, y*altura, x*imageL, y*imageA, image, 0,0,0, tocolor(0, 0, 0, 150)) -- star 06 --fundo elseif wanted == 2 then dxDrawImage(x*star01, y*altura, x*imageL, y*imageA, image) -- star 01 dxDrawImage(x*star02, y*altura, x*imageL, y*imageA, image) -- star 02 dxDrawImage(x*star03, y*altura, x*imageL, y*imageA, image, 0,0,0, tocolor(0, 0, 0, 150)) -- star 03 --fundo dxDrawImage(x*star04, y*altura, x*imageL, y*imageA, image, 0,0,0, tocolor(0, 0, 0, 150)) -- star 04 --fundo dxDrawImage(x*star05, y*altura, x*imageL, y*imageA, image, 0,0,0, tocolor(0, 0, 0, 150)) -- star 05 --fundo dxDrawImage(x*star06, y*altura, x*imageL, y*imageA, image, 0,0,0, tocolor(0, 0, 0, 150)) -- star 06 --fundo elseif wanted == 3 then dxDrawImage(x*star01, y*altura, x*imageL, y*imageA, image) -- star 01 dxDrawImage(x*star02, y*altura, x*imageL, y*imageA, image) -- star 02 dxDrawImage(x*star03, y*altura, x*imageL, y*imageA, image) -- star 03 dxDrawImage(x*star04, y*altura, x*imageL, y*imageA, image, 0,0,0, tocolor(0, 0, 0, 150)) -- star 04 --fundo dxDrawImage(x*star05, y*altura, x*imageL, y*imageA, image, 0,0,0, tocolor(0, 0, 0, 150)) -- star 05 --fundo dxDrawImage(x*star06, y*altura, x*imageL, y*imageA, image, 0,0,0, tocolor(0, 0, 0, 150)) -- star 06 --fundo elseif wanted == 4 then dxDrawImage(x*star01, y*altura, x*imageL, y*imageA, image) -- star 01 dxDrawImage(x*star02, y*altura, x*imageL, y*imageA, image) -- star 02 dxDrawImage(x*star03, y*altura, x*imageL, y*imageA, image) -- star 03 dxDrawImage(x*star04, y*altura, x*imageL, y*imageA, image) -- star 04 dxDrawImage(x*star05, y*altura, x*imageL, y*imageA, image, 0,0,0, tocolor(0, 0, 0, 150)) -- star 05 --fundo dxDrawImage(x*star06, y*altura, x*imageL, y*imageA, image, 0,0,0, tocolor(0, 0, 0, 150)) -- star 06 --fundo elseif wanted == 5 then dxDrawImage(x*star01, y*altura, x*imageL, y*imageA, image) -- star 01 dxDrawImage(x*star02, y*altura, x*imageL, y*imageA, image) -- star 02 dxDrawImage(x*star03, y*altura, x*imageL, y*imageA, image) -- star 03 dxDrawImage(x*star04, y*altura, x*imageL, y*imageA, image) -- star 04 dxDrawImage(x*star05, y*altura, x*imageL, y*imageA, image) -- star 05 dxDrawImage(x*star06, y*altura, x*imageL, y*imageA, image, 0,0,0, tocolor(0, 0, 0, 150)) -- star 06 --fundo elseif wanted == 6 then dxDrawImage(x*star01, y*altura, x*imageL, y*imageA, image) -- star 01 dxDrawImage(x*star02, y*altura, x*imageL, y*imageA, image) -- star 02 dxDrawImage(x*star03, y*altura, x*imageL, y*imageA, image) -- star 03 dxDrawImage(x*star04, y*altura, x*imageL, y*imageA, image) -- star 04 dxDrawImage(x*star05, y*altura, x*imageL, y*imageA, image) -- star 05 dxDrawImage(x*star06, y*altura, x*imageL, y*imageA, image) -- star 06 end end Também corrigi a indentação e algumas condições.
    1 point
  9. مناسب ويفضل لو كانت المعالجات من 2 كور او اكثر
    1 point
  10. SetDevelopmentMode Depois de ativar isso, use /showcol Espero ter ajudado.
    1 point
  11. Tem isso no sistema de prisão. O jogador quando está procurado, depois que o policial bate nele com o cassetete, começa a seguir o policial e entra na viatura junto com o policial. O nome do resource é cadeiadp. Só vc copiar de lá e fazer as adaptações.
    1 point
  12. والله يا فالكون مواضيعك كثرة على الوزارة شكلك تبي تحير اسمك على ضهر سعد ولا كيف هههه المهم نشكرك على السكريبت الفنان وجميل جدا من زمان وانا ابحث له اخيرا انت زلته يا شيخ الحمدالله ههههههههههههههه اويلي اويلـــــــي اصلا يا راجل سكريبت ذا مو حق الوزارة لى انو اكواد مو نفسهـا وصراحه سويلنا شيء جديد دامك لسه تعدل فالمودات ههههههههههههه تقبل مروري
    1 point
  13. I wouldn't recommend sharing such information in public. Forum private messages are there for a reason.
    1 point
  14. Realmente um script bem tosco e desnecessário. Mas vamos lá. local x, y = guiGetScreenSize () -- x e y recebem a resolução da tela do jogador. rendering = false -- variável que indica se a imagem está sendo renderizada ou não, para evitar que bugue ao usar o comando enquanto já está renderizando a imagem. function pornRender () -- Essa função é chamada a cada frame. dxDrawImage (0, 0, x, y, "nude.png", 0, 0, 0, tocolor(255,255,255,255), true) -- Desenha a imagem 'nude.png' na tela inteira do jogador. end function startRender (cmd) -- Função que inicia o render da imagem. if not rendering then -- Se a imagem já não está sendo renderizada, então: rendering = true -- Ela é considerada renderizada agora. addEventHandler ("onClientRender", getRootElement(), pornRender) -- Inicia o render da imagem a cada frame. setTimer (stopRender, 15000, 1) -- Daqui a 15 segundos, executa a função stopRender uma única vez. end end addCommandHandler ("punheta", startRender) -- Comando que executa a função startRender: /punheta function stopRender () -- Função que cancela o render da imagem. if rendering then -- Se a imagem está sendo renderizada, então: rendering = false -- Ela não é mais considerada renderizada. removeEventHandler ("onClientRender", getRootElement(), pornRender) -- Cancela o render da imagem e ela some da tela. A função pornRender para de ser executada a cada frame. end end
    1 point
  15. Cara, o balanceamento dai é com você. Você é quem tem que saber quais armas devem dar mais dano e quais devem dar menos. Vou dar um exemplo de como aumentar o dano da Colt 45, que por padrão tem dano de 25. setWeaponProperty (22, "poor", "damage", 50) Nesse caso, aumentei o dano dela pra 50. 22 é o ID da arma, os IDs estão disponíveis em Weapons. "poor" é o nível de habilidade do jogador nessa arma, por padrão os jogadores não possuem habilidades de armas, a não ser que você crie um script que faça isso. "damage" é a propriedade cujo valor você quer alterar, no caso é o dano da arma. 50 é o novo valor da propriedade. Se você quer saber qual o valor padrão do dano de uma determinada arma, use getWeaponProperty. Funciona exatamente da mesma forma, porém você não coloca o parâmetro do valor.
    1 point
  16. Isso acontece pois você setou coordenadas no attachElements relativas ao mundo. Mas você deveria ter declarado a posição relativa entre o veículo e o caminhão.
    1 point
  17. 1 point
  18. Quando vc anexa o veículo em outro elemento, não adianta dar freeze nele, pois a posição dele irá acompanhar a posição do outro elemento.
    1 point
  19. Qual parte vc não está conseguindo? Só criar o veículo e depois anexá-lo ao caminhão usando a função mencionada pelo colega acima. Você não deve dar freeze no veículo.
    1 point
  20. As the original website designer from approaching 10 years ago(!), I agree it needs an update. But I don't feel this is quite enough. The key art at the top is less interesting, and the rest is just a bit more square. I'm not really involved these days, so whatever I say has very little importance, but I think a more substantial redesign could be worthwhile.
    1 point
  21. Este tópico está completamente fora das regras de formatação do fórum. Título muito grande, não coloque a explicação do problema no título, apenas um breve resumo com poucas palavras. A explicação detalhada deve ser feita no corpo do texto, antes do código. O código deve estar na formatação adequada, use a ferramenta de código do fórum para que ele fique legível. Corrija o tópico, por gentileza.
    1 point
  22. ههههههههههههههههههههههههههههههههههههههههههههههههههههه المتحدث الرسمي ل فخامة الشيخ CCW
    1 point
  23. No script table_general, tem uma tabela chamada weaponMagSize, não fiz nenhum teste pra alterar os danos, mas acredito que esteja definido nessa tabela.
    1 point
  24. العفو حياك
    1 point
  25. الخطوات كالتي 1 - mods 2 - deathmatch 3 - resource-cache 4 - http-client-files احذف جميع الملفات وبعد ذالك قم بشتغيل السيرفر تنبيه هام !! : يجب عليك اطفاء السيرفر وبعد ذالك حذف باذن الله تنجح معك
    0 points
  26. This script has been stolen from a server by taking the uncompiled client.lua from the client resources directory while playing there. As this happens to be my server, I took this opportunity to publish the script on community rather than having someone else show off with work that isn't theirs. Said server has been running this script for a couple of years already. You can download the resource at https://community.multitheftauto.com/index.php?p=resources&s=details&id=15749 now (open source). Topic locked because this practice isn't allowed on the forums Arabic translation (not by me): هذا السكربت تمت سرقته من السيرفر الخاص بي عن طريق سرقة ملف الكلاينت الغير مشفر من مجلد المودات أثناء اللعب هناك, وبالصدفة هذا السكربت خاص بسيرفري لذلك استغليت الفرصة وقمت بنشر السكربت في الكوميونيتي بدلاً من تظاهر شخص بعمل ليس له, هذا السكربت يعمل بالسيرفر لعدة سنين حالياً https://community.multitheftauto.com/index.php?p=resources&s=details&id=15749 : ( تحميل السكربت ( مفتوح المصدر .هذا الموضوع مغلق لأن هذا التصرف ممنوع في المنتدى
    0 points
×
×
  • Create New...