-
Posts
1,518 -
Joined
-
Last visited
-
Days Won
8
Everything posted by Simple0x47
-
Please let me know the name of both gamemodes.
-
local screenW, screenH = guiGetScreenSize() 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, hudrcn) 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("onResourceStop", resourceRoot, closehud) Eu nu as zice ca lai facut tu dar na.
-
How much are you willing to pay?
-
Very nice, keep up the good work!
-
[LF]Looking For Head Scripter(Roleplay)[PAID]
Simple0x47 replied to China_Yann's topic in Looking for staff
Non-sense bull:~. Why would someone that does almost all the work get just 40%? Improve your offer otherwise you'll be looking for a partner longer than a year. -
Embed the html code in Lua, then create a temporal file into the clientside and after being used you delete it. But you can also try to execute that code directly without creating any file.
-
Forget what I've said. You are right.
-
It doesn't work only with scripts.
-
Look just make your html files with cache="false"
-
You could try by making use of SASS.
-
40% and I can give you tips and ways to fix bugs ( IF there are any ). [ Just kidding ].
-
La forumul acestui server, in cazul in care are macar un forum.
-
Aici nu reusesti nimic.
-
Good work.
-
[EUROPE]The Walking Dead DayZ[INTERNATIONAL]
Simple0x47 replied to BlueBoy's topic in Servers to play on
This name should be reserved for a high quality server. -
[ BL ] Business Life | Roleplay | Looking For Developers[PAID]
Simple0x47 replied to Mr.Solo's topic in Looking for staff
The most important question: Do you pay and with PayPal? -
Mă invata cineva sa scriptez un server roleplay
Simple0x47 replied to Alex Georgian's topic in Scripting
Daca platesti pentru ca sa inveti da, daca nu cautati viata invatand scripting. -
Aici nu o sa obtii prea mult ajutor de la ownerii serverului acesta. Iti recomendez sa cauti al server in cazul in care nu este staff responsabil pentru a dezvolta actiunile curaspunzatoare.