Jump to content

Search the Community

Showing results for tags 'hud'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


Gang


Location


Occupation


Interests

  1. Olá, eu estava querendo colocar o nick do jogador na hud que estou fazendo, porém quando eu coloco ele aparece por exemplo: "Meu#929292Nick", ou seja, com o código da cor, alguém sabe como retira isso? function SousaHud ( ... ) if (not isPlayerMapVisible()) then local dinheiro = getPlayerMoney(localPlayer) local banco = getElementData(localPlayer, "bank.money") or "0" local muniarma = getPedAmmoInClip (localPlayer) local munitotal = getPedTotalAmmo (localPlayer) local vida = math.floor(getElementHealt
  2. Alguém sabe me dizer se tem como por pontuação no dinheiro em DX ? ex: 5.000,000 e também o texto com bordas ao redor ? local Dinheiro = (getPlayerMoney(getLocalPlayer())) local Banco = getElementData(localPlayer,"Banco") or 0 local procurado = getPlayerWantedLevel(getLocalPlayer()) dxDrawText(Empregos, screenW - 140 - 10, 15 + 200, screenW - 328 - 10 + 315, 30, tocolor(255, 255, 255, 255), 0.9, Fonte, "center", "center", false, false, false, false, false) dxDrawText(Dinheiro, screenW - 328 - 10, 10 + 183, screenW - 350 - 10 + 190, 20, tocolor ( 255, 255, 255, 255 ), 0.7, Fonte, "ri
  3. Olá pessoal, OLÁ PESSOAL PRECISO DE UMA AJUDA URGENTE !! Estou a 4 dias trabalhando em um HUD !!! criei Barra Saúde com porcentagem / coleta / comida / água e sono O erro é o seguite eu começo a programar porém por algum motivo eu erro alguma coisa DAI quando vou procurar a hud em meus arquivos ela simplismente desaparece dai tenho que começa do zero. bom a minha hud ele contem ID ARMA E PENTE VIDA, COLETE, FOME,SEDE E SONO NÃO CONSEGUIR FAZER UM SCRIPT DE LANCHONETE ENTÃO QUERO VINCULAR A ALGUMA LOJA BAIXADA NA INTERNET (LANCHONETE MOD)
  4. Gostaria de saber, como eu faço pra usar o script de fome, sede e sono de uma pessoa, com o HUD de outra pessoa que tem um script diferente. E como eu faço pra quando eu abrir a tela de compra de armas, não aparecer o HUD padrão. Obrigado desde já.
  5. I want create a HUD with image progress bars. I think i need dxDrawImageSection, but i don't know how to use this for a progress bar. Anyone can give me a example of this progress bar with imagesection?
  6. Hello MTA community, I am having problems on my server and I came across this topic a help request '-' 1° Error: Simply all panels that open on "arrow, clynder and etc" markers are invisible, only appear after I open the map. 2° Hud and Radio from the original GTA S.A do not fade from the screen, only if I restart the script "HUD Remover and the Radio Remover" https://imgur.com/nInVQeM --Bug Radar / Dashboard does not appear https://imgur.com/0VpJpUV --Radar showing up after I open the map "Key: F11"
  7. Boa noite, Eu estou com uma HUD da Internet, porém o DINHEIRO QUE ESTÁ NO BANCO NAO fica na HUD alguem poderia me ajudar ja tentei pesquisar mas nao achei nada..... CODIGO HUD function dxDrawHud () local avatarSelec = getElementData(getLocalPlayer(), "avatar") if not avatarSelec then avatarSelec = 2 end local SaldoBank = getElementData(localPlayer, "banco:Saldo") or 0 local vida = getElementHealth ( getLocalPlayer() ) + 0.40000152596 local armor = math.floor (getPedArmor ( getLocalPlayer())) local stat = getPedStat ( getLocalPlayer(), 24 ) local oxgen = math.floor(getPedOxy
  8. Quero fazer com que o cargo ou o emprego do player, apareça na hud por uma acl, é possivel? nesse modelo ai: http://prntscr.com/nlcbpj
  9. Bom, criei um "complemento" para um hud já existente, mas ele foi criado em uma pasta diferente. Então, criei a hud, estava funcionando(minha resolução 1280x720), so que, quando testo em outras resoluções(1366x766; 1360;760; etc) ela buga ( https://prnt.sc/mm5y2w aqui ela está em 1366x768) Qual pode ser o erro? Segue abaixo: local screenW, screenH = guiGetScreenSize() local resW, resH = 1366, 768 local x, y = ( screenW/resW ), ( screenH/resH ) function drawHUD() local estrelasprocurado = getPlayerWantedLevel (localPlayer) local ArmaAtual = getPedWeapon(lo
  10. local x,y = guiGetScreenSize() local px,py = 1280,720 local x,y = (sx/px), (sy/py) function hud () dxDrawImage(x*918, y*0, x*362, y*58, ":br_hud/shruk.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) dxDrawText("$", x*955, y*19, x*1089, x*68, tocolor(0, 177, 142, 255), 1.30, "default-bold", "left", "top", false, false, false, false, false) end addEventHandler("onClientRender", root, hud)
  11. Olá novamente , provavelmente estou quebrando uma regra do fórum (que no caso seria criar + de 1 tópico sobre o mesmo assunto, mas o tópico anterior meu foi trancado) e peço desculpas, mas... Bom tenho algumas duvidas 1 - como posso fazer um circulo marcar a vida como a foto deste link : foto.png 2 - como posso fazer com que o player ao sentir fome ou sede perca vida aos poucos, e o mesmo circulo citado na duvida acima marque o quanto o player sente de fome e sede. 3 - ultima duvida é como salvar isso quando o player sair e um sistema de compra de lanches e bebidas para e
  12. Всем привет! Поглядываю я на MTA и вспоминается мне игра All Point Bulleting! вот подумываю сделать полную копию этой игрушки на MTA! что скажите ? никто не хочет объединиться и заняться со мной данным проектом ? к примеру интерфейс, HUD, автомобили, города, вытянуть с Unreal Engine и перенеси в GTASA не проблема а вот на счёт сценария игры не знаю, кто сталкивался ? возможно ли скриптами написать свой сценарий игры ? взаимодействовать его в онлайне ? на сколько это тяжело ?
  13. R1S1NG

    Bug in my hud

    Hello everyone, I have a server which has a bug and nobody knows how to solve it, its hud is disabled every time I put a new one on it, thus removing the original, however, if I add a script as the screen joke blue, or a cinema like cinema experience ... things that cover the screen, or something like that, the normal hud comes back, and if I give / showhud anyway it comes back if I open the F11 map or do some other actions then does not advance that script to remove it in the login ... Players already reported this occur with the chat, it disappeared, does anyone have any solution? There are
  14. السلام عليكم و رحمة الله و بركاته كنت فاضي و ماني عارف وش اسوي ف حبيت اسوي ذا السكربت البسيط و احطه هنا ك اول سكربت اسويه و ذا اول سكربت كامل اسويه بيدي يعني ما بكون ماخذ من مودات ثانية او موداتي الثاني ..إلخ مع العلم اني مبتدء صور مدري اذا التصميم انعمل قبل كذا بالمنتدى لكن احس اني شايفها قبل كذا علشان كذا عملت مثلها المميزات 1- ما تجيب لاق و ذا اهم شي 2- تناسب كل الشاشات 3- الدم لو صار 200 ما يتغير و يضل بحجمه يعني ما يخرب 4- في اف8 hud لو تبي ترجع الشكل القديم تقدر عن طريقة كتابة كلمة 5- شكل حلو و لائق للاسلحة
  15. I got a custom hud in my MTA server,but the default one is glitching in it! how to fix this error hud downloaded from here pls help me to fix this eror
  16. Hey Dear MTA Community! Today i wanna show you my new works (almost all of them aren't finished because i didnt have to finish them). And i want to offer myself as an UI/GUI/Web designer, i've really cheap designs (depends on what do you need). Before you contact me you have to know that i'm really bad in logos. Thanks for reading and enjoy watching. SKYPE: Jekorgi DISCORD: Jekorgi #8655 E-Mail: jekorgi@gmail.com You can find my all works there: https://imgur.com/a/VFKnQhY Simple avatar: YouTube Banner: Race HUD: Wallpaper:
  17. Hani2001

    [Help] Hud

    Please help me If i past image colored will be change all colors to black i need to still colored not black client: local texturesimg = { { "img/radardisc.png", "radardisc" } } addEventHandler("onClientResourceStart", resourceRoot, function() for i = 1, #texturesimg do local shader = dxCreateShader("shader/shader.fx") engineApplyShaderToWorldTexture(shader, texturesimg[i][2]) dxSetShaderValue(shader, "gTexture", dxCreateTexture(texturesimg[i][1])) end end) shader.fx: texture gTexture; technique TexReplace { pass P0 { Texture[0] = g
  18. Eu tenho uma hud modificada em meu servidor, mas tem momentos que a original aparece atrás da nova, tipo quando abro alguma coisa na tela como algum painel e etc, eu tenho um cinema, se eu abro ele a hud vem tmb, mas mesmo removendo cinema do servidor ela vem em outros scripts, as vezes o chat some também com isso, e tipo digamos que eu dei restart no painel de login, eu vou bugar se eu clicar em não logar e jogar como guest e o chat vai sumir. Resumindo ele some ou a hud antiga volta, e não achei nada que ativasse a antiga denovo, tanto que usei o prórpio tópico de ajuda daqui e fiz um script
  19. Hy! I would like to make a dxDraw indicator that shows stamina. I wanted to make a picture, that fills up to a certain level based on a value, so I tried using dxDrawImageSection and RenderTarget too, but I couldn't make it. It is important that I want it to be relative, so like I have a 200x200 size picture that I draw in 80x80, or in 50x50 and so on based on the user's resolution. Could someone help me in this?
  20. i created a HUD with rectangles (bg rectangle, hp, armor...etc), and i want this make movable, so that move at the same time, but i don't know how to make this possible anyone can help? sorry for my bad english :c
  21. Una consulta chicos como hago para que este local sounds sea infinito ya que cuando activo esta script solo se reproduce una vez y luego se corta.. function onResourceStart() local Zx,Zy,Zz = getElementPosition( ped ) --- Puede ser que halla un mal argumento aquí? porque el debugscript 3 me dice que sí!!!... local sound = playSound("sounds/respiracion.ogg", Zx, Zy, Zz, false) setSoundMaxDistance(sound, 20) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), onResourceStart)
  22. i created a 'circle-hud' but it does not work well this is the problem: (when my Health = 14hp) and when my Health = 100hp the 100hp is fine, but the 14 hp not... i want something like that when my hp <100 how to fix this?
  23. DOWNLOAD https://community.mtasa.com/index.php?p=resources&s=details&id=14302 or https://nexusmtasa.wordpress.com/2017/04/11/hud-dx-mta-sa/ VIDEO
  24. السلام عليكم شباب شباب ازاى اصنع HUD HUDو لسرعه السياره وحال السياره والبنزين وشكرا شباب
  25. Hello guys. So, I'm working on a HUD and i want it to look good for every size of monitor. The size of the recentagles and the images is just easly declared relativly to the screen width or height (It's ok it's looks good on FullHD and 1377x768) My biggest problem is the fonts. I want it to be easily readable for everyone but to achieve that i should now the ppi or somethink like that. Is there any way to get it (ppi or diameter)? Any suggestion how should i do this if i can get those data?
×
×
  • Create New...