0 Üye ve 1 Ziyaretçi konuyu incelemekte.
function tik()local sx,sy = guiGetScreenSize()local px,py = 1600,900local x,y = (sx/px), (sy/py) local components = { "weapon", "ammo", "health", "clock", "money", "breath", "armour", "wanted", "area_name", "radio", "vehicle_name" } addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()),function () for _, component in ipairs( components ) do setPlayerHudComponentVisible( component, false ) endend)addEventHandler("onClientRender", root, function() local ammo = getPedAmmoInClip (localPlayer,getPedWeaponSlot(localPlayer)) local ammo1 = getPedTotalAmmo (localPlayer,getPedWeaponSlot(localPlayer)) local armaID = getPedWeapon(localPlayer) local Money = getPlayerMoney ( getLocalPlayer() ) local altura = 28 local imageL, imageA = 25,25 local image = "star.png" vida = getElementHealth ( getLocalPlayer() ) + 0.40000152596 oxigenio= getPedOxygenLevel ( getLocalPlayer() ) stat = getPedStat ( getLocalPlayer(), 24 ) showammo1 = getPedAmmoInClip (localPlayer,getPedWeaponSlot(localPlayer)) showammo2 = getPedTotalAmmo(localPlayer)-getPedAmmoInClip(localPlayer) showammo3 = getPedTotalAmmo(getLocalPlayer()) wanted = getPlayerWantedLevel (getLocalPlayer()) if oxigenio < 1000 or isElementInWater (getLocalPlayer()) then dxDrawRectangle(x*1386, y*120, x*149/1000*oxigenio, y*11, tocolor(255, 127,0), false) dxDrawEmptyRec(x*1386, y*120, x*149, y*11, tocolor(0, 0, 0, 255), 1)--BarrinhaOxigenio end if stat < 1000 then dxDrawRectangle(x*1386, y*84, x*149/100*vida, y*11, tocolor(244, 36, 0), false) else dxDrawRectangle(x*1386, y*84, x*149/200*vida, y*11, tocolor(0, 0, 0, 180), false) end local armour = getPedArmor ( getLocalPlayer() ) dxDrawRectangle(x*1386, y*102, x*149, y*11, tocolor(0, 0, 0, 180), false)--fundo if armour>0 then dxDrawRectangle(x*1386, y*102, x*149/100*armour, y*11, tocolor(41, 134, 199, 255), false) end dxDrawEmptyRec(x*1386, y*84, x*149, y*11, tocolor(0, 0, 0, 255), 1) --Can dxDrawEmptyRec(x*1386, y*102, x*149, y*11, tocolor(0, 0, 0, 255), 1)--Çelik Yelek dxDrawBorderedText(ammo1.." | "..ammo, x*1390, y*250, x*1513, y*120, tocolor(255, 255, 255, 255), 1.0, "default-bold", "center", "center", false, false, true, false, false) dxDrawBorderedText(("%09d"):format(getPlayerMoney(localPlayer)).."$", x*1410, y*15, x*1510, y*120, tocolor(4, 122, 24), 1.0, "pricedown","center","center",false, false,true, false, false) weapon = getPedWeapon ( getLocalPlayer() ) if ( weapon == 0 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/0.png" ) end if ( weapon == 1 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/1.png" ) end if ( weapon == 2 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/2.png" ) end if ( weapon == 3 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/3.png" ) end if ( weapon == 4 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/4.png" ) end if ( weapon == 5 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/5.png" ) end if ( weapon == 6 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/6.png" ) end if ( weapon == 7 ) then dxDrawImage ( xx*1375, y*110, x*160, y*90, "img/7.png" ) end if ( weapon == 8 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/8.png" ) end if ( weapon == 9 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/9.png" ) end if ( weapon == 10 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/10.png" ) end if ( weapon == 11 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/11.png" ) end if ( weapon == 12 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/12.png" ) end if ( weapon == 14 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/14.png" ) end if ( weapon == 15 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/15.png" ) end if ( weapon == 16 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/16.png" ) end if ( weapon == 17 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/17.png" ) end if ( weapon == 18 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/18.png" ) end if ( weapon == 22 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/22.png" ) end if ( weapon == 23 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/23.png" ) end if ( weapon == 24 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/24.png" ) end if ( weapon == 25 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/25.png" ) end if ( weapon == 26 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/26.png" ) end if ( weapon == 27 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/27.png" ) end if ( weapon == 28 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/28.png" ) end if ( weapon == 29 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/29.png" ) end if ( weapon == 30 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/30.png" ) end if ( weapon == 31 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/31.png" ) end if ( weapon == 32 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/32.png" ) end if ( weapon == 33 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/33.png" ) end if ( weapon == 34 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/34.png" ) end if ( weapon == 35 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/35.png" ) end if ( weapon == 36 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/36.png" ) end if ( weapon == 37 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/37.png" ) end if ( weapon == 38 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/38.png" ) end if ( weapon == 39 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/39.png" ) end if ( weapon == 40 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/40.png" ) end if ( weapon == 41 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/41.png" ) end if ( weapon == 42 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/42.png" ) end if ( weapon == 43 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/43.png" ) end if ( weapon == 44 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/44.png" ) end if ( weapon == 45 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/45.png" ) end if ( weapon == 46 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/46.png" ) end end)function dxDrawEmptyRec(absX, absY, sizeX, sizeY, color, ancho) dxDrawRectangle(absX, absY, sizeX, ancho, color) dxDrawRectangle(absX, absY + ancho, ancho, sizeY - ancho, color) dxDrawRectangle(absX + ancho, absY + sizeY - ancho, sizeX - ancho, ancho, color) dxDrawRectangle(absX + sizeX - ancho, absY + ancho, ancho, sizeY - ancho * 2, color)endfunction dxDrawBorderedText( text, x, y, w, h, color, scale, font, alignX, alignY, clip, wordBreak, postGUI ) dxDrawText ( text, x - 1, y - 1, w - 1, h - 1, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x + 1, y - 1, w + 1, h - 1, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x - 1, y + 1, w - 1, h + 1, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x + 1, y + 1, w + 1, h + 1, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x - 1, y, w - 1, h, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x + 1, y, w + 1, h, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x, y - 1, w, h - 1, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x, y + 1, w, h + 1, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x, y, w, h, color, scale, font, alignX, alignY, clip, wordBreak, postGUI )end
function tik()local sx,sy = guiGetScreenSize()local px,py = 1600,900local x,y = (sx/px), (sy/py) local components = { "weapon", "ammo", "health", "clock", "money", "breath", "armour", "wanted", "area_name", "radio", "vehicle_name" } addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()),function () for _, component in ipairs( components ) do setPlayerHudComponentVisible( component, false ) endend) addEventHandler("onClientRender", root, function() local ammo = getPedAmmoInClip (localPlayer,getPedWeaponSlot(localPlayer)) local ammo1 = getPedTotalAmmo (localPlayer,getPedWeaponSlot(localPlayer)) local armaID = getPedWeapon(localPlayer) local Money = getPlayerMoney ( getLocalPlayer() ) local altura = 28 local imageL, imageA = 25,25 local image = "star.png" vida = getElementHealth ( getLocalPlayer() ) + 0.40000152596 oxigenio= getPedOxygenLevel ( getLocalPlayer() ) stat = getPedStat ( getLocalPlayer(), 24 ) showammo1 = getPedAmmoInClip (localPlayer,getPedWeaponSlot(localPlayer)) showammo2 = getPedTotalAmmo(localPlayer)-getPedAmmoInClip(localPlayer) showammo3 = getPedTotalAmmo(getLocalPlayer()) wanted = getPlayerWantedLevel (getLocalPlayer()) if oxigenio < 1000 or isElementInWater (getLocalPlayer()) then dxDrawRectangle(x*1386, y*120, x*149/1000*oxigenio, y*11, tocolor(255, 127,0), false) dxDrawEmptyRec(x*1386, y*120, x*149, y*11, tocolor(0, 0, 0, 255), 1)--BarrinhaOxigenio end if stat == 1000 then dxDrawRectangle(x*1386, y*84, x*149/200*vida, y*11, tocolor(244, 36, 0), false) else dxDrawRectangle(x*1386, y*84, (x*149/(100 + (stat - 569) / 4.31))*vida, y*11, tocolor(0, 0, 0, 180), false) end local armour = getPedArmor ( getLocalPlayer() ) dxDrawRectangle(x*1386, y*102, x*149, y*11, tocolor(0, 0, 0, 180), false)--fundo if armour>0 then dxDrawRectangle(x*1386, y*102, x*149/100*armour, y*11, tocolor(41, 134, 199, 255), false) end dxDrawEmptyRec(x*1386, y*84, x*149, y*11, tocolor(0, 0, 0, 255), 1) --Can dxDrawEmptyRec(x*1386, y*102, x*149, y*11, tocolor(0, 0, 0, 255), 1)--Çelik Yelek dxDrawBorderedText(ammo1.." | "..ammo, x*1390, y*250, x*1513, y*120, tocolor(255, 255, 255, 255), 1.0, "default-bold", "center", "center", false, false, true, false, false) dxDrawBorderedText(("%09d"):format(getPlayerMoney(localPlayer)).."$", x*1410, y*15, x*1510, y*120, tocolor(4, 122, 24), 1.0, "pricedown","center","center",false, false,true, false, false) weapon = getPedWeapon ( getLocalPlayer() ) if ( weapon == 0 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/0.png" ) end if ( weapon == 1 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/1.png" ) end if ( weapon == 2 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/2.png" ) end if ( weapon == 3 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/3.png" ) end if ( weapon == 4 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/4.png" ) end if ( weapon == 5 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/5.png" ) end if ( weapon == 6 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/6.png" ) end if ( weapon == 7 ) then dxDrawImage ( xx*1375, y*110, x*160, y*90, "img/7.png" ) end if ( weapon == 8 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/8.png" ) end if ( weapon == 9 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/9.png" ) end if ( weapon == 10 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/10.png" ) end if ( weapon == 11 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/11.png" ) end if ( weapon == 12 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/12.png" ) end if ( weapon == 14 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/14.png" ) end if ( weapon == 15 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/15.png" ) end if ( weapon == 16 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/16.png" ) end if ( weapon == 17 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/17.png" ) end if ( weapon == 18 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/18.png" ) end if ( weapon == 22 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/22.png" ) end if ( weapon == 23 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/23.png" ) end if ( weapon == 24 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/24.png" ) end if ( weapon == 25 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/25.png" ) end if ( weapon == 26 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/26.png" ) end if ( weapon == 27 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/27.png" ) end if ( weapon == 28 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/28.png" ) end if ( weapon == 29 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/29.png" ) end if ( weapon == 30 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/30.png" ) end if ( weapon == 31 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/31.png" ) end if ( weapon == 32 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/32.png" ) end if ( weapon == 33 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/33.png" ) end if ( weapon == 34 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/34.png" ) end if ( weapon == 35 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/35.png" ) end if ( weapon == 36 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/36.png" ) end if ( weapon == 37 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/37.png" ) end if ( weapon == 38 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/38.png" ) end if ( weapon == 39 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/39.png" ) end if ( weapon == 40 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/40.png" ) end if ( weapon == 41 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/41.png" ) end if ( weapon == 42 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/42.png" ) end if ( weapon == 43 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/43.png" ) end if ( weapon == 44 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/44.png" ) end if ( weapon == 45 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/45.png" ) end if ( weapon == 46 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/46.png" ) end endend) function dxDrawEmptyRec(absX, absY, sizeX, sizeY, color, ancho) dxDrawRectangle(absX, absY, sizeX, ancho, color) dxDrawRectangle(absX, absY + ancho, ancho, sizeY - ancho, color) dxDrawRectangle(absX + ancho, absY + sizeY - ancho, sizeX - ancho, ancho, color) dxDrawRectangle(absX + sizeX - ancho, absY + ancho, ancho, sizeY - ancho * 2, color)end function dxDrawBorderedText( text, x, y, w, h, color, scale, font, alignX, alignY, clip, wordBreak, postGUI ) dxDrawText ( text, x - 1, y - 1, w - 1, h - 1, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x + 1, y - 1, w + 1, h - 1, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x - 1, y + 1, w - 1, h + 1, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x + 1, y + 1, w + 1, h + 1, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x - 1, y, w - 1, h, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x + 1, y, w + 1, h, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x, y - 1, w, h - 1, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x, y + 1, w, h + 1, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x, y, w, h, color, scale, font, alignX, alignY, clip, wordBreak, postGUI )end
Kod: lua if stat < 1000 then dxDrawRectangle(x*1386, y*84, x*149/100*vida, y*11, tocolor(244, 36, 0), false) else dxDrawRectangle(x*1386, y*84, (x*149/(100 + (stat - 569) / 4.31))*vida, y*11, tocolor(0, 0, 0, 180), false) endBir şunu dene.
if stat < 1000 then dxDrawRectangle(x*1386, y*84, x*149/100*vida, y*11, tocolor(244, 36, 0), false) else dxDrawRectangle(x*1386, y*84, (x*149/(100 + (stat - 569) / 4.31))*vida, y*11, tocolor(0, 0, 0, 180), false) end
Sorun devam etmekte.
if vida >= 200 then vida = 100 else vida = getElementHealth ( getLocalPlayer() ) + 0.40000152596 end
local sx,sy = guiGetScreenSize()local px,py = 1600,900local x,y = (sx/px), (sy/py) local components = { "weapon", "ammo", "health", "clock", "money", "breath", "armour", "wanted", "area_name", "radio", "vehicle_name" } addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()),function () for _, component in ipairs( components ) do setPlayerHudComponentVisible( component, false ) endend) addEventHandler("onClientRender", root, function() local ammo = getPedAmmoInClip (localPlayer,getPedWeaponSlot(localPlayer)) local ammo1 = getPedTotalAmmo (localPlayer,getPedWeaponSlot(localPlayer)) local armaID = getPedWeapon(localPlayer) local Money = getPlayerMoney ( getLocalPlayer() ) local altura = 28 local imageL, imageA = 25,25 local image = "star.png" vida = getElementHealth ( getLocalPlayer() ) + 0.40000152596 oxigenio= getPedOxygenLevel ( getLocalPlayer() ) stat = getPedStat ( getLocalPlayer(), 24 ) showammo1 = getPedAmmoInClip (localPlayer,getPedWeaponSlot(localPlayer)) showammo2 = getPedTotalAmmo(localPlayer)-getPedAmmoInClip(localPlayer) showammo3 = getPedTotalAmmo(getLocalPlayer()) wanted = getPlayerWantedLevel (getLocalPlayer()) if oxigenio < 1000 or isElementInWater (getLocalPlayer()) then dxDrawRectangle(x*1386, y*120, x*149/1000*oxigenio, y*11, tocolor(255, 127,0), false) dxDrawEmptyRec(x*1386, y*120, x*149, y*11, tocolor(0, 0, 0, 255), 1)--BarrinhaOxigenio end if vida >= 200 then vida = 100 else vida = getElementHealth ( getLocalPlayer() ) + 0.40000152596 end if stat < 1000 then dxDrawRectangle(x*1386, y*84, x*149/100*vida, y*11, tocolor(244, 36, 0), false) else dxDrawRectangle(x*1386, y*84, x*149/200*vida, y*11, tocolor(0, 0, 0, 180), false) end local armour = getPedArmor ( getLocalPlayer() ) dxDrawRectangle(x*1386, y*102, x*149, y*11, tocolor(0, 0, 0, 180), false)--fundo if armour>0 then dxDrawRectangle(x*1386, y*102, x*149/100*armour, y*11, tocolor(41, 134, 199, 255), false) end dxDrawEmptyRec(x*1386, y*84, x*149, y*11, tocolor(0, 0, 0, 255), 1) --Can dxDrawEmptyRec(x*1386, y*102, x*149, y*11, tocolor(0, 0, 0, 255), 1)--Çelik Yelek dxDrawBorderedText(ammo1.." | "..ammo, x*1390, y*250, x*1513, y*120, tocolor(255, 255, 255, 255), 1.0, "default-bold", "center", "center", false, false, true, false, false) dxDrawBorderedText(("%09d"):format(getPlayerMoney(localPlayer)).."$", x*1410, y*15, x*1510, y*120, tocolor(4, 122, 24), 1.0, "pricedown","center","center",false, false,true, false, false) weapon = getPedWeapon ( getLocalPlayer() ) if ( weapon == 0 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/0.png" ) end if ( weapon == 1 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/1.png" ) end if ( weapon == 2 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/2.png" ) end if ( weapon == 3 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/3.png" ) end if ( weapon == 4 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/4.png" ) end if ( weapon == 5 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/5.png" ) end if ( weapon == 6 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/6.png" ) end if ( weapon == 7 ) then dxDrawImage ( xx*1375, y*110, x*160, y*90, "img/7.png" ) end if ( weapon == 8 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/8.png" ) end if ( weapon == 9 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/9.png" ) end if ( weapon == 10 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/10.png" ) end if ( weapon == 11 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/11.png" ) end if ( weapon == 12 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/12.png" ) end if ( weapon == 14 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/14.png" ) end if ( weapon == 15 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/15.png" ) end if ( weapon == 16 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/16.png" ) end if ( weapon == 17 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/17.png" ) end if ( weapon == 18 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/18.png" ) end if ( weapon == 22 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/22.png" ) end if ( weapon == 23 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/23.png" ) end if ( weapon == 24 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/24.png" ) end if ( weapon == 25 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/25.png" ) end if ( weapon == 26 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/26.png" ) end if ( weapon == 27 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/27.png" ) end if ( weapon == 28 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/28.png" ) end if ( weapon == 29 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/29.png" ) end if ( weapon == 30 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/30.png" ) end if ( weapon == 31 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/31.png" ) end if ( weapon == 32 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/32.png" ) end if ( weapon == 33 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/33.png" ) end if ( weapon == 34 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/34.png" ) end if ( weapon == 35 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/35.png" ) end if ( weapon == 36 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/36.png" ) end if ( weapon == 37 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/37.png" ) end if ( weapon == 38 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/38.png" ) end if ( weapon == 39 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/39.png" ) end if ( weapon == 40 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/40.png" ) end if ( weapon == 41 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/41.png" ) end if ( weapon == 42 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/42.png" ) end if ( weapon == 43 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/43.png" ) end if ( weapon == 44 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/44.png" ) end if ( weapon == 45 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/45.png" ) end if ( weapon == 46 ) then dxDrawImage ( x*1375, y*110, x*160, y*90, "img/46.png" ) end end) function dxDrawEmptyRec(absX, absY, sizeX, sizeY, color, ancho) dxDrawRectangle(absX, absY, sizeX, ancho, color) dxDrawRectangle(absX, absY + ancho, ancho, sizeY - ancho, color) dxDrawRectangle(absX + ancho, absY + sizeY - ancho, sizeX - ancho, ancho, color) dxDrawRectangle(absX + sizeX - ancho, absY + ancho, ancho, sizeY - ancho * 2, color)end function dxDrawBorderedText( text, x, y, w, h, color, scale, font, alignX, alignY, clip, wordBreak, postGUI ) dxDrawText ( text, x - 1, y - 1, w - 1, h - 1, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x + 1, y - 1, w + 1, h - 1, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x - 1, y + 1, w - 1, h + 1, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x + 1, y + 1, w + 1, h + 1, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x - 1, y, w - 1, h, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x + 1, y, w + 1, h, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x, y - 1, w, h - 1, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x, y + 1, w, h + 1, tocolor ( 0, 0, 0, 155 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x, y, w, h, color, scale, font, alignX, alignY, clip, wordBreak, postGUI )end
Üsteki iletiyi güncelledim birde onu denermisin.
Kod: lua if vida >= 200 then vida = 100 else vida = getElementHealth ( getLocalPlayer() ) + 0.40000152596 endKod: lua if vida >= 200 then vida = 100Bu satırlarda debugscript hata verdi, script bozuldu hiç açılmamakta.
if vida >= 200 then vida = 100Bu satırlarda debugscript hata verdi, script bozuldu hiç açılmamakta.
Kullanım koşullarında herhangi bir sorun yok.
Özel mesaj ile ilettim. Mesaj Birleştirildi: 24 Mayıs 2017, 22:23:00Paradox tarafından sorun çözülmüştür, ellerine sağlık teşekkür ederim.Konu kilitlenebilir. İyi forumlar.