Jump to content

Hydra

Members
  • Posts

    373
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by Hydra

  1. Here you should post suggestions for MTA. Make a topic in ,,scripting" about your question.
  2. Yes you are right, this topic can be closed now
  3. function asd() setElementModel(localPlayer, 0) end addEventHandler("onClientPlayerSpawn", getRootElement(), asd)
  4. Hey, I made this topic to make a suggestion if it would possible in version 1.5.8 or in the future to have an ,,MTA Chat" in game with two categories, "Private Messages" and "Global Chat" in weach we can talk more easily with other players and mta team members. This is the design I made (Is not really the default design but I hope you understand what I mean).
  5. Rename ,,verdana.ttf" with the default font names in MTA->CGUI if you want to change the font. * And i think is the wrong section to ask that here.
  6. Update v1.3: Nou: Am pus sunete in loc de text cand deschizi/inchizi capota,usa,portbagaju,farurile si motorul. Link v1.3: https://mega.nz/#!7PYlWKJA!LZu9VetW20AxkHA4lVrkZjTmItet1QsV0sMDUQYBM08
  7. Hydra

    i need help

    Try this resource if you don't know how to do it yourself * Change radar.jpg with your map * Also the resource has custom blips you can change with your own blips Resource: https://community.multitheftauto.com/index.php?p=resources&s=details&id=10596
  8. Un simplu script in care poti sta afk fara sa fi omorat Video: https://streamable.com/twyuq * 720p deoarece nu am mai stat sa il randez in ae *
  9. Salut, as vrea sa va prezint un vip panel facut pentru serverele de freeroam. O sa va las un link catre videoclip pentru a vedea ce contine. Link video: * Imi pare rau daca calitatea videoclipului nu este prea buna dar nu am mai stat sa rendez clipu in 1080p * Link-ul de la resursa il aveti tot acolo * Key "f7" | comanda /vip * O sa schimb pe tasta Z
  10. Salut, am creat un vehicle system care sper ca o sa va placa. Cu ce e diferit? Pai este adaugata optiunea pentru a deschide toate usile, portbagajul si capota si este adaugat ca bonus camber pe masina. * Merge perfect si pe masinile modate doar ca la unele poate mai trebuie sa ridici suspensia. Poze: https://pasteboard.co/ItTFiKw.png Download Link: http://www.mediafire.com/file/96c7594j3rnh7jm/rcn_carcontrols.zip/file
  11. Daca vrei sa-ti faci o casa goala o poti crea in zmodeler http://www.zmodeler2.com/
  12. Salut, as vrea sa va prezint un sound system cu bass efect. Download Link: - Video: https://youtu.be/NQ8cwBeAd0s ® Resource created by Me & F0rest
  13. Hydra

    Pursuit

    Salut, cum as putea sa pun sa se spawneze masini cand intri intr-un marker si sa te urmareasca gen ca pe nfs. test = createMarker(-2596.625, 579.358, 15.626, 'cylinder', 1.1, 255, 0, 0, 150) function pursuit(hitmarker) if hitmarker == localPlayer then playSound("pursuit.mp3") setElementDimension(hitmarker, 2) outputChatBox("[SERVER] You are now in pursuit mode", 255, 255 ,255) outputChatBox("[SERVER] Try to get rid of the cops", 255, 255, 255) end end addEventHandler( "onClientMarkerHit", test, pursuit ) Doar asta am facut deocamdata
  14. Scrie in consola de la server ,,openports"
  15. Hydra

    Problema HUD

    Recunosc ca nu l-am facut eu singur ci cu ajutor de la un prieten. Doar ce m-am apucat sa invat lucrurile de baza de pe wiki.
  16. Hydra

    Problema HUD

    Salut, am reusit sa-mi fac un hud simplu dar cand il pornesc nu merge. (P.S:Sunt la inceput de scripting) local screenW, screenH = guiGetScreenSize() addEventHandler("onClientRender", root, hud) function hudrcn () -------------------------------------------------- local health = getElementHealth(localPlayer) local armour = getPedArmor(localPlayer) local currentammo = getPedAmmoInClip(localPlayer) local maxammo = getPedTotalAmmo(localPlayer)-(currentammo) local oxygen = getPedOxygenLevel(localPlayer) local money = getPlayerMoney(localPlayer) -------------------------------------------------- setPlayerHudComponentVisible("clock",false) setPlayerHudComponentVisible("armour",false) setPlayerHudComponentVisible("breath",false) setPlayerHudComponentVisible("health",false) setPlayerHudComponentVisible("money",false) setPlayerHudComponentVisible("wanted",false) setPlayerHudComponentVisible("weapon",false) setPlayerHudComponentVisible("ammo",false) ---------------------------------------------------- dxDrawLine((screenW * 0.8625) - 1, (screenH * 0.0511) - 1, (screenW * 0.8625) - 1, screenH * 0.0889, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.9769, (screenH * 0.0511) - 1, (screenW * 0.8625) - 1, (screenH * 0.0511) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine((screenW * 0.8625) - 1, screenH * 0.0889, screenW * 0.9769, screenH * 0.0889, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.9769, screenH * 0.0889, screenW * 0.9769, (screenH * 0.0511) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(screenW * 0.8625, screenH * 0.0511, screenW * 0.1144, screenH * 0.0378, tocolor(31, 30, 31, 170), false) dxDrawLine((screenW * 0.8625) - 1, (screenH * 0.0511) - 1, (screenW * 0.8625) - 1, screenH * 0.0889, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.9769, (screenH * 0.0511) - 1, (screenW * 0.8625) - 1, (screenH * 0.0511) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine((screenW * 0.8625) - 1, screenH * 0.0889, screenW * 0.9769, screenH * 0.0889, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.9769, screenH * 0.0889, screenW * 0.9769, (screenH * 0.0511) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(screenW * 0.8625, screenH * 0.0511, screenW * 0.1144, screenH * 0.0378, tocolor(201, 0, 0, 255), false) dxDrawText("Health 0%",..math.floor(health).."%", (screenW * 0.9000) - 1, (screenH * 0.0622) - 1, (screenW * 1.1019) - 1, (screenH * 0.1522) - 1, tocolor(0, 0, 0, 255), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Health 0%",..math.floor(health).."%", (screenW * 0.9000) + 1, (screenH * 0.0622) - 1, (screenW * 1.1019) + 1, (screenH * 0.1522) - 1, tocolor(0, 0, 0, 255), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Health 0%",..math.floor(health).."%", (screenW * 0.9000) - 1, (screenH * 0.0622) + 1, (screenW * 1.1019) - 1, (screenH * 0.1522) + 1, tocolor(0, 0, 0, 255), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Health 0%",..math.floor(health).."%", (screenW * 0.9000) + 1, (screenH * 0.0622) + 1, (screenW * 1.1019) + 1, (screenH * 0.1522) + 1, tocolor(0, 0, 0, 255), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Health 0%",..math.floor(health).."%", screenW * 0.9000, screenH * 0.0622, screenW * 1.1019, screenH * 0.1522, tocolor(255, 254, 254, 255), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawRectangle(screenW * 0.8625, screenH * 0.1078, screenW * 0.1144, screenH * 0.0389, tocolor(38, 39, 38, 212), false) dxDrawLine((screenW * 0.8625) - 1, (screenH * 0.1089) - 1, (screenW * 0.8625) - 1, screenH * 0.1467, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.9769, (screenH * 0.1089) - 1, (screenW * 0.8625) - 1, (screenH * 0.1089) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine((screenW * 0.8625) - 1, screenH * 0.1467, screenW * 0.9769, screenH * 0.1467, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.9769, screenH * 0.1467, screenW * 0.9769, (screenH * 0.1089) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(screenW * 0.8625, screenH * 0.1089, screenW * 0.1144, screenH * 0.0378, tocolor(255, 255, 255, 187), false) dxDrawText("Armour 0%",..math.floor(armour).."%", (screenW * 0.9000) - 1, (screenH * 0.1200) - 1, (screenW * 1.0263) - 1, (screenH * 0.1844) - 1, tocolor(0, 0, 0, 255), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Armour 0%",..math.floor(armour).."%", (screenW * 0.9000) + 1, (screenH * 0.1200) - 1, (screenW * 1.0263) + 1, (screenH * 0.1844) - 1, tocolor(0, 0, 0, 255), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Armour 0%",..math.floor(armour).."%", (screenW * 0.9000) - 1, (screenH * 0.1200) + 1, (screenW * 1.0263) - 1, (screenH * 0.1844) + 1, tocolor(0, 0, 0, 255), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Armour 0%",..math.floor(armour).."%", (screenW * 0.9000) + 1, (screenH * 0.1200) + 1, (screenW * 1.0263) + 1, (screenH * 0.1844) + 1, tocolor(0, 0, 0, 255), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Armour 0%",..math.floor(armour).."%", screenW * 0.9000, screenH * 0.1200, screenW * 1.0263, screenH * 0.1844, tocolor(255, 255, 255, 255), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawLine((screenW * 0.8625) - 1, (screenH * 0.1633) - 1, (screenW * 0.8625) - 1, screenH * 0.2011, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.9769, (screenH * 0.1633) - 1, (screenW * 0.8625) - 1, (screenH * 0.1633) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine((screenW * 0.8625) - 1, screenH * 0.2011, screenW * 0.9769, screenH * 0.2011, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.9769, screenH * 0.2011, screenW * 0.9769, (screenH * 0.1633) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(screenW * 0.8625, screenH * 0.1633, screenW * 0.1144, screenH * 0.0378, tocolor(66, 66, 66, 224), false) dxDrawLine((screenW * 0.8625) - 1, (screenH * 0.1633) - 1, (screenW * 0.8625) - 1, screenH * 0.2011, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.9769, (screenH * 0.1633) - 1, (screenW * 0.8625) - 1, (screenH * 0.1633) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawLine((screenW * 0.8625) - 1, screenH * 0.2011, screenW * 0.9769, screenH * 0.2011, tocolor(0, 0, 0, 255), 1, false) dxDrawLine(screenW * 0.9769, screenH * 0.2011, screenW * 0.9769, (screenH * 0.1633) - 1, tocolor(0, 0, 0, 255), 1, false) dxDrawRectangle(screenW * 0.8625, screenH * 0.1633, screenW * 0.1144, screenH * 0.0378, tocolor(22, 234, 226, 246), false) if isElementinWater(localPlayer) then ------------ Oxygen -------------------------------------------------- dxDrawText("Oxygen: "..math.floor(oxygen).."%", 1440 - 1, 156 - 1, 1651 - 1, 196 - 1, tocolor(0, 0, 0, 255), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Oxygen: "..math.floor(oxygen).."%", 1440 + 1, 156 - 1, 1651 + 1, 196 - 1, tocolor(0, 0, 0, 255), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Oxygen: "..math.floor(oxygen).."%", 1440 - 1, 156 + 1, 1651 - 1, 196 + 1, tocolor(0, 0, 0, 255), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Oxygen: "..math.floor(oxygen).."%", 1440 + 1, 156 + 1, 1651 + 1, 196 + 1, tocolor(0, 0, 0, 255), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Oxygen: "..math.floor(oxygen).."%", 1440, 156, 1651, 196, tocolor(255, 255, 255, 255), 0.55, "bankgothic", "left", "top", false, false, false, false, false) end --------------------------------- dxDrawText("$"..money, (screenW * 0.9000) - 1, (screenH * 0.1733) - 1, (screenW * 1.0319) - 1, (screenH * 0.2178) - 1, tocolor(0, 0, 0, 255), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("$"..money, (screenW * 0.9000) + 1, (screenH * 0.1733) - 1, (screenW * 1.0319) + 1, (screenH * 0.2178) - 1, tocolor(0, 0, 0, 255), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("$"..money, (screenW * 0.9000) - 1, (screenH * 0.1733) + 1, (screenW * 1.0319) - 1, (screenH * 0.2178) + 1, tocolor(0, 0, 0, 255), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("$"..money, (screenW * 0.9000) + 1, (screenH * 0.1733) + 1, (screenW * 1.0319) + 1, (screenH * 0.2178) + 1, tocolor(0, 0, 0, 255), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("$"..money, screenW * 0.9000, screenH * 0.1733, screenW * 1.0319, screenH * 0.2178, tocolor(255, 255, 255, 255), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("$"..money, (screenW * 0.8469) - 1, (screenH * 0.2178) - 1, (screenW * 1.0000) - 1, (screenH * 0.2578) - 1, tocolor(171, 0, 0, 252), 1.00, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("$"..money, (screenW * 0.8469) + 1, (screenH * 0.2178) - 1, (screenW * 1.0000) + 1, (screenH * 0.2578) - 1, tocolor(171, 0, 0, 252), 1.00, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("$"..money, (screenW * 0.8469) - 1, (screenH * 0.2178) + 1, (screenW * 1.0000) - 1, (screenH * 0.2578) + 1, tocolor(171, 0, 0, 252), 1.00, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("$"..money, (screenW * 0.8469) + 1, (screenH * 0.2178) + 1, (screenW * 1.0000) + 1, (screenH * 0.2578) + 1, tocolor(171, 0, 0, 252), 1.00, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("$"..money, screenW * 0.8469, screenH * 0.2178, screenW * 1.0000, screenH * 0.2578, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false) ---------------------------------- dxDrawText("Romania Chill Nation", (screenW * 0.8375) - 1, (screenH * 0.2378) - 1, (screenW * 1.0106) - 1, (screenH * 0.2644) - 1, tocolor(221, 0, 0, 252), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Romania Chill Nation", (screenW * 0.8375) + 1, (screenH * 0.2378) - 1, (screenW * 1.0106) + 1, (screenH * 0.2644) - 1, tocolor(221, 0, 0, 252), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Romania Chill Nation", (screenW * 0.8375) - 1, (screenH * 0.2378) + 1, (screenW * 1.0106) - 1, (screenH * 0.2644) + 1, tocolor(221, 0, 0, 252), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Romania Chill Nation", (screenW * 0.8375) + 1, (screenH * 0.2378) + 1, (screenW * 1.0106) + 1, (screenH * 0.2644) + 1, tocolor(221, 0, 0, 252), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText("Romania Chill Nation", screenW * 0.8375, screenH * 0.2378, screenW * 1.0106, screenH * 0.2644, tocolor(255, 255, 255, 255), 0.55, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText(currentammo.." | "..maxammo, (screenW * 0.8756) - 1, (screenH * 0.2689) - 1, (screenW * 0.9769) - 1, (screenH * 0.2933) - 1, tocolor(221, 0, 0, 252), 0.77, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText(currentammo.." | "..maxammo, (screenW * 0.8756) + 1, (screenH * 0.2689) - 1, (screenW * 0.9769) + 1, (screenH * 0.2933) - 1, tocolor(221, 0, 0, 252), 0.77, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText(currentammo.." | "..maxammo, (screenW * 0.8756) - 1, (screenH * 0.2689) + 1, (screenW * 0.9769) - 1, (screenH * 0.2933) + 1, tocolor(221, 0, 0, 252), 0.77, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText(currentammo.." | "..maxammo, (screenW * 0.8756) + 1, (screenH * 0.2689) + 1, (screenW * 0.9769) + 1, (screenH * 0.2933) + 1, tocolor(221, 0, 0, 252), 0.77, "bankgothic", "left", "top", false, false, false, false, false) dxDrawText(currentammo.." | "..maxammo, screenW * 0.8756, screenH * 0.2689, screenW * 0.9769, screenH * 0.2933, tocolor(254, 254, 254, 252), 0.77, "bankgothic", "left", "top", false, false, false, false, false) end ) addEventHandler("onClientRender,root,hud) function closehud() setPlayerHudComponentVisible("clock",true) setPlayerHudComponentVisible("armour",true) setPlayerHudComponentVisible("breath",true) setPlayerHudComponentVisible("health",true) setPlayerHudComponentVisible("money",true) setPlayerHudComponentVisible("wanted",true) setPlayerHudComponentVisible("weapon",true) setPlayerHudComponentVisible("ammo",true) end addEventHandler("onResrouceStop", root, closehud)
×
×
  • Create New...