Jump to content

WASSIm.

Members
  • Posts

    1,412
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by WASSIm.

  1. i know but i say i have problem all rotation not working only rotation(ly) working : /
  2. slm. balahi kif na3ml dxDrawText yap9a 5 sec wa mba3ed itna7a ama bchwaya
  3. i guys. this script for test dxDrawImage3D and i test it now. but i have problem to rotation --Rectangle3D local dot = dxCreateTexture(1,1) local white = tocolor(255,255,255,255) function dxDrawRectangle3D(x,y,z,w,h,c,r,...) local lx, ly, lz = x+w, y+h, (z+tonumber(r or 0)) or z return dxDrawMaterialLine3D(x,y,z, lx, ly, lz, dot, h, c or white, ...) end ---Image3D local white = tocolor(255,255,255,255) function dxDrawImage3D(x,y,z,w,h,m,c,r,...) local lx, ly, lz = x+w, y+h, (z+tonumber(r or 0)) or z return dxDrawMaterialLine3D(x,y,z, lx, ly, lz, m, h, c or white, ...) end --test local face = dxCreateTexture("test.png") addEventHandler("onClientRender", root, function() local xc, yc, zc, lxc, lyc, lzc = getCameraMatrix( ) dxDrawImage3D(2410,-1733, 14, 20, 20, face, tocolor(255,255,255,255)) end )
  4. ressource have problems. group admin not working . and i can't make group have space. if make it chat say ( ** [Group System] : Group name must be in english !
  5. function dxDrawBorderedText( text, x, y, w, h, color, scale, font, alignX, alignY, clip, wordBreak, postGUI, colorCoded ) dxDrawText ( text, x - 2, y - 2, w - 2, h - 2, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false, true ) -- black dxDrawText ( text, x + 2, y - 2, w + 2, h - 2, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false, true ) dxDrawText ( text, x - 2, y + 2, w - 2, h + 2, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false, true ) dxDrawText ( text, x + 2, y + 2, w + 2, h + 2, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false, true ) dxDrawText ( text, x - 2, y, w - 2, h, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false, true ) dxDrawText ( text, x + 2, y, w + 2, h, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false, true ) dxDrawText ( text, x, y - 2, w, h - 2, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false, true ) dxDrawText ( text, x, y + 2, w, h + 2, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false, true ) dxDrawText ( text, x, y, w, h, color, scale, font, alignX, alignY, clip, wordBreak, postGUI, colorCoded ) end and this dxDrawBorderedText(""..tostring(showammo1).." #646464"..tostring(showammo3).."",amx1, amy1, amx2, amy2,tocolor(220,220,220,255),1,"pricedown","right","top",false,false,false,true)
  6. idk function dxDrawBorderedText( text, x, y, w, h, color, scale, font, alignX, alignY, clip, wordBreak, postGUI ) dxDrawText ( text, x - 2, y - 2, w - 2, h - 2, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false ) -- black dxDrawText ( text, x + 2, y - 2, w + 2, h - 2, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x - 2, y + 2, w - 2, h + 2, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x + 2, y + 2, w + 2, h + 2, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x - 2, y, w - 2, h, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x + 2, y, w + 2, h, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x, y - 2, w, h - 2, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false ) dxDrawText ( text, x, y + 2, w, h + 2, tocolor ( 0, 0, 0, 255 ), scale, font, alignX, alignY, clip, wordBreak, false )
  7. hi guys i have problem i add code color #646464 but show me to screen and dont change color how fiX ? dxDrawBorderedText(""..tostring(showammo1).." #646464"..tostring(showammo3).."",amx1, amy1, amx2, amy2,tocolor(220,220,220,255),1,"pricedown","right","top",false,false,false) sry for bad english
  8. WASSIm.

    DM Levels

    use this exports.scoreboard:addScoreboardColumn('Level') local levelplayer = getElementData(player,"level") or 0 function levelboard ( ) for index, player in ipairs ( getElementsByType "player" ) do setElementData ( player, "Level", levelplayer ) end end setTimer ( levelboard, 500, 0 ) function giveexp ( ammo, killer, killerweapon, bodypart ) if ( killer ) and ( killer ~= source ) then exports.exp_system:addPlayerEXP ( killer, 5 ) end end addEventHandler ( "onPlayerWasted", getRootElement(), giveexp )
  9. https://community.multitheftauto.com/index.php?p= ... ls&id=6736 DONE
  10. WASSIm.

    help plis

    no no no me i made this script jus i need help fix my problem
  11. WASSIm.

    help plis

    hi guys i have problem plis help local sx,sy = guiGetScreenSize ( ) addEventHandler ( "onClientRender", root, function ( ) local noreloadweapons = {} noreloadweapons[16] = true noreloadweapons[17] = true noreloadweapons[18] = true noreloadweapons[19] = true noreloadweapons[25] = true noreloadweapons[33] = true noreloadweapons[34] = true noreloadweapons[35] = true noreloadweapons[36] = true noreloadweapons[37] = true noreloadweapons[38] = true noreloadweapons[39] = true noreloadweapons[41] = true noreloadweapons[42] = true noreloadweapons[43] = true local meleespecialweapons = {} meleespecialweapons[0] = true meleespecialweapons[1] = true meleespecialweapons[2] = true meleespecialweapons[3] = true meleespecialweapons[4] = true meleespecialweapons[5] = true meleespecialweapons[6] = true meleespecialweapons[7] = true meleespecialweapons[8] = true meleespecialweapons[9] = true meleespecialweapons[10] = true meleespecialweapons[11] = true meleespecialweapons[12] = true meleespecialweapons[13] = true meleespecialweapons[14] = true meleespecialweapons[15] = true meleespecialweapons[40] = true meleespecialweapons[44] = true meleespecialweapons[45] = true meleespecialweapons[46] = true local playerWeapon = getPedWeapon ( localPlayer ) local playerAmmo = getPedTotalAmmo ( localPlayer ) local playerAmmo2 = getPedTotalAmmo(localPlayer)-getPedAmmoInClip(localPlayer) local playerAmmoc = getPedAmmoInClip (localPlayer) local playerHealth = getElementHealth ( localPlayer ) local playerArmor = getPedArmor ( localPlayer ) local hour, mins = getTime ( ) local money = getPlayerMoney ( ) local wanted = getPlayerWantedLevel ( ) -------------------- weapon local wpx1, wpy1, wpx2, wpy2 = sx*(1205.0/1440),sy*(75.0/900),sx*(232.0/1440),sy*(27.0/900) local wpx5, wpy5, wpx6, wpy6 = sx*(1310.0/1440),sy*(76.0/900),sx*(20.0/1440),sy*(20.0/900) -------------------- ammo local amx1, amy1, amx2, amy2 = sx*(1205.0/1440),sy*(117.0/900),sx*(232.0/1440),sy*(27.0/900) local amx3, amy3, amx4, amy4 = sx*(1209.0/1440),sy*(119.0/900),playerAmmo*sx*(224.0/1440)/100,sy*(19.0/900) local amx5, amy5, amx6, amy6 = sx*(1310.0/1440),sy*(118.0/900),sx*(20.0/1440),sy*(20.0/900) -------------------- health local hx1, hy1, hx2, hy2 = sx*(1205.0/1440),sy*(157.0/900),sx*(232.0/1440),sy*(27.0/900) local hx3, hy3, hx4, hy4 = sx*(1209.0/1440),sy*(161.0/900),playerHealth*sx*(224.0/1440)/100,sy*(19.0/900) local hx5, hy5, hx6, hy6 = sx*(1310.0/1440),sy*(160.0/900),sx*(20.0/1440),sy*(20.0/900) -------------------- Armor local ax1, ay1, ax2, ay2 = sx*(1205.0/1440),sy*(197.0/900),sx*(232.0/1440),sy*(27.0/900) local ax3, ay3, ax4, ay4 = sx*(1209.0/1440),sy*(201.0/900),playerArmor*sx*(224.0/1440)/100,sy*(19.0/900) local ax5, ay5, ax6, ay6 = sx*(1310.0/1440),sy*(202.0/900),sx*(23.0/1440),sy*(20.0/900) --------------------time local tx1, ty1, tx2, ty2 = sx*(1205.0/1440),sy*(235.0/900),sx*(232.0/1440),sy*(27.0/900) local tx5, ty5, tx6, ty6 = sx*(1310.0/1440),sy*(238.0/900),sx*(20.0/1440),sy*(20.0/900) --------------------money local mx1, my1, mx2, my2 = sx*(1205.0/1440),sy*(275.0/900),sx*(232.0/1440),sy*(27.0/900) local mx5, my5, mx6, my6 = sx*(1310.0/1440),sy*(278.0/900),sx*(20.0/1440),sy*(20.0/900) --------------------wanted local wx1, wy1, wx2, wy2 = sx*(1205.0/1440),sy*(315.0/900),sx*(232.0/1440),sy*(27.0/900) local wx5, wy5, wx6, wy6 = sx*(1310.0/1440),sy*(314.0/900),sx*(20.0/1440),sy*(20.0/900) local showammo1 = playerAmmoc local showammo2 = playerAmmo local showammo3 = playerAmmo2 local currenthealth = math.floor(playerHealth) local currentarmor = math.floor(playerArmor) local currentammo = math.floor(playerAmmo) local time = hour .. ":" .. (((mins < 10) and "0"..mins) or mins) theAmmo = ( currentammo * 10 ) local AmmoColor = math.max(theAmmo - 250, 0)/750 local AmmoColorMath = -510*(AmmoColor^2) local rh, gh = math.max(math.min(AmmoColorMath + 255*AmmoColor + 255, 255), 0), math.max(math.min(AmmoColorMath + 765*AmmoColor, 255), 0) theHealth = ( playerHealth * 10 ) local HealthColor = math.max(theHealth - 250, 0)/750 local HealthColorMath = -510*(HealthColor^2) local rh, gh = math.max(math.min(HealthColorMath + 255*HealthColor + 255, 255), 0), math.max(math.min(HealthColorMath + 765*HealthColor, 255), 0) theArmor = ( playerArmor * 10 ) local ArmorColor = math.max(theArmor - 250, 0)/750 local ArmorColorMath = -510*(ArmorColor^2) local ra, ga = math.max(math.min(ArmorColorMath + 255*ArmorColor + 255, 255), 0), math.max(math.min(ArmorColorMath + 765*ArmorColor, 255), 0) if ( playerWeapon ) then dxDrawRectangle(wpx1, wpy1, wpx2, wpy2,tocolor(0,0,0,150),false) dxDrawImage(wpx5-150, wpy5+1, wpx6, wpy6,"images/health.png",0.0,0.0,0.0,tocolor(255,255,255,255),false) dxDrawText(""..tostring(playerWeapon).."%",wpx1+100, wpy1-2, wpx2, wpy2,tocolor(255,255,255,255),1.6,"sans","left","top",false,false,false) end if ( playerAmmo ) then dxDrawRectangle(amx1, amy1, amx2, amy2,tocolor(0,0,0,150),false) dxDrawRectangle(amx3, amy3, amx4, amy4,tocolor(rh,gh,0,170),false) dxDrawImage(amx5-150, amy5+1, amx6, amy6,"images/health.png",0.0,0.0,0.0,tocolor(255,255,255,255),false) if noreloadweapons [playerWeapon] then dxDrawText(""..tostring(showammo3).."",amx3+100, amy3-2, amx4, amy4,tocolor(255,255,255,255),1.6,"sans","left","top",false,false,false) elseif meleespecialweapons [playerWeapon] then --nothing else noreloadweapons [playerWeapon] dxDrawText(""..tostring(showammo1).."-",amx3+50, amy3-2, amx4, amy4,tocolor(255,255,255,255),1.6,"sans","left","top",false,false,false) dxDrawText(""..tostring(showammo2).."",amx3+100, amy3-2, amx4, amy4,tocolor(255,255,255,255),1.6,"sans","left","top",false,false,false) end end if ( playerHealth ) then dxDrawRectangle(hx1, hy1, hx2, hy2,tocolor(0,0,0,150),false) dxDrawRectangle(hx3, hy3, hx4, hy4,tocolor(rh,gh,0,170),false) dxDrawImage(hx5-150, hy5+1, hx6, hy6,"images/health.png",0.0,0.0,0.0,tocolor(255,255,255,255),false) dxDrawText(""..tostring(currenthealth).."%",hx3+100, hy3-2, hx4, hy4,tocolor(255,255,255,255),1.6,"sans","left","top",false,false,false) end if ( playerArmor ) then dxDrawRectangle(ax1, ay1, ax2, ay2,tocolor(0,0,0,150),false) dxDrawRectangle(ax3, ay3, ax4, ay4,tocolor(ra,ga,0,170),false) dxDrawImage(ax5-150, ay5+1, ax6, ay6,"images/armor.png",0.0,0.0,0.0,tocolor(255,255,255,255),false) dxDrawText(""..tostring(currentarmor).."%",ax3+100, ay3-2, ax4, ay4,tocolor(255,255,255,255),1.6,"sans","left","top",false,false,false) end if ( hour ) then dxDrawRectangle(tx1, ty1, tx2, ty2,tocolor(0,0,0,150),false) dxDrawImage(tx5-150, ty5+1, tx6, ty6,"images/time.png",0.0,0.0,0.0,tocolor(255,255,255,255),false) dxDrawText(""..tostring(time).."",tx1+110, ty1+2, tx2, ty4,tocolor(255,255,255,255),1.6,"sans","left","top",false,false,false) end if ( money ) then dxDrawRectangle(mx1, my1, mx2, my2,tocolor(0,0,0,150),false) dxDrawImage(mx5-150, my5+1, mx6, my6,"images/money.png",0.0,0.0,0.0,tocolor(255,255,255,255),false) dxDrawText(""..tostring(money).."",mx1+125, my1+2, mx2, my4,tocolor(255,255,255,255),1.6,"sans","left","top",false,false,false) end if ( wanted ) then dxDrawRectangle(wx1, wy1, wx2, wy2,tocolor(0,0,0,150),false) dxDrawImage(wx5-150, wy5+1, wx6, wy6,"images/wanted.png",0.0,0.0,0.0,tocolor(255,255,255,255),false) dxDrawText(""..tostring(wanted).."",wx1+125, wy1+2, wx2, wy4,tocolor(255,255,255,255),1.6,"sans","left","top",false,false,false) end end )
  12. WASSIm.

    help

    exm: this dxDrawRectangle(hx3, hy3, hx4, hy4,tocolor(rh,gh,0,170),false) <--- health normally color Rectangle green and if down change color red but now black and if down dont change color
  13. WASSIm.

    question

    thank you and i want like this to light
  14. WASSIm.

    help

    nothing. i think problem here if ( playerHealthcolor ) then HealthColor = math.max(playerHealth - 250, 0)/750 HealthColorMath = -510*(HealthColor^2) rh, gh = math.max(math.min(HealthColorMath + 255*HealthColor + 255, 255), 0), math.max(math.min(HealthColorMath + 765*HealthColor, 255), 0) end if ( playerArmorcolor ) then ArmorColor = math.max(playerArmor - 250, 0)/750 ArmorColorMath = -510*(ArmorColor^2) ra, ga = math.max(math.min(ArmorColorMath + 255*ArmorColor + 255, 255), 0), math.max(math.min(ArmorColorMath + 765*ArmorColor, 255), 0) end
  15. WASSIm.

    question

    local ids = { [ 1008 ] = true, [ 1009 ] = true, [ 1010 ] = true } local sx,sy = guiGetScreenSize() local enableVehicleHealth = true local enableFuelHealth = true local enableSpeedMeter = true local enablegps = true local enablelock = true local enableengine= true local enablenitro = true addEvent( "onClientSwitchDamageMeter" ) addEventHandler( "onClientSwitchDamageMeter", root, function ( state ) enableVehicleHealth = state end ) addEvent( "onClientSwitchFuelMeter" ) addEventHandler( "onClientSwitchFuelMeter", root, function ( state ) enableFuelHealth = state end ) addEvent( "onClientSwitchSpeedMeter" ) addEventHandler( "onClientSwitchSpeedMeter", root, function ( state ) enableSpeedMeter = state end ) addEventHandler( "onClientRender", root, function() local theVehicle = getPedOccupiedVehicle ( localPlayer ) if ( theVehicle ) then local spx, spy, spz = getElementVelocity( theVehicle ) local kphSpeed = ( spx^2 + spy^2 + spz^2 ) ^ 0.5 * 1.61 * 100 local mphSpeed = ( spx^2 + spy^2 + spz^2 ) ^ 0.5 * 100 local vehiclespeed = mphSpeed local vehicleHealth = ( getElementHealth( theVehicle ) ) local vehicleFuel = getElementData( theVehicle, "vehicleFuel" ) if ( enableVehicleHealth ) and ( enableFuelHealth ) and ( vehicleFuel ) then hx1, hy1, hx2, hy2 = sx*(1155.0/1440),sy*(857.0/900),sx*(232.0/1440),sy*(27.0/900) hx3, hy3, hx4, hy4 = sx*(1159.0/1440),sy*(861.0/900),vehicleHealth/10*sx*(224.0/1440)/100,sy*(19.0/900) hx5, hy5, hx6, hy6 = sx*(1260.0/1440),sy*(860.0/900),sx*(26.0/1440),sy*(26.0/900) elseif not ( vehicleFuel ) and ( enableVehicleHealth ) or ( enableVehicleHealth ) and not ( enableFuelHealth ) then hx1, hy1, hx2, hy2 = sx*(1155.0/1440),sy*(857.0/900),sx*(232.0/1440),sy*(27.0/900) hx3, hy3, hx4, hy4 = sx*(1159.0/1440),sy*(861.0/900),vehicleHealth/10*sx*(224.0/1440)/100,sy*(19.0/900) hx5, hy5, hx6, hy6 = sx*(1260.0/1440),sy*(860.0/900),sx*(26.0/1440),sy*(26.0/900) end if ( enableFuelHealth ) and ( enableVehicleHealth ) and ( vehicleFuel ) then fx1, fy1, fx2, fy2 = sx*(1155.0/1440),sy*(817.0/900),sx*(232.0/1440),sy*(27.0/900) fx3, fy3, fx4, fy4 = sx*(1159.0/1440),sy*(821.0/900),vehicleFuel*sx*(224.0/1440)/100,sy*(19.0/900) fx5, fy5, fx6, fy6 = sx*(1260.0/1440),sy*(820.0/900),sx*(30.0/1440),sy*(30.0/900) elseif ( vehicleFuel ) and ( enableFuelHealth ) and not ( enableVehicleHealth ) then fx1, fy1, fx2, fy2 = sx*(1155.0/1440),sy*(817.0/900),sx*(232.0/1440),sy*(27.0/900) fx3, fy3, fx4, fy4 = sx*(1159.0/1440),sy*(821.0/900),vehicleFuel*sx*(224.0/1440)/100,sy*(19.0/900) fx5, fy5, fx6, fy6 = sx*(1260.0/1440),sy*(820.0/900),sx*(26.0/1440),sy*(26.0/900) end if ( enableSpeedMeter ) then sx1, sy1, sx2, sy2 = sx*(1155.0/1440),sy*(777.0/900),sx*(232.0/1440),sy*(27.0/900) sx3, sy3, sx4, sy4 = sx*(1159.0/1440),sy*(781.0/900),vehiclespeed/1.5*sx*(224.0/1440)/100,sy*(19.0/900) sx5, sy5, sx6, sy6 = sx*(1260.0/1440),sy*(780.0/900),sx*(26.0/1440),sy*(26.0/900) local upgrades = getVehicleUpgrades ( theVehicle ) local playerX, playerY, playerZ = getElementPosition ( localPlayer ) local playerZoneName = getZoneName ( playerX, playerY, playerZ ) local currenthealth = math.floor(vehicleHealth/10) if ( vehicleHealth ) then vehHealthColor = math.max(vehicleHealth - 250, 0)/750 vehHealthColorMath = -510*(vehHealthColor^2) rh, gh = math.max(math.min(vehHealthColorMath + 255*vehHealthColor + 255, 255), 0), math.max(math.min(vehHealthColorMath + 765*vehHealthColor, 255), 0) end if ( vehicleFuel ) then theFuel = ( vehicleFuel * 10 ) vehFuelColor = math.max(theFuel - 250, 0)/750 vehFuelthColorMath = -510*(vehFuelColor^2) rf, gf = math.max(math.min(vehFuelthColorMath + 255*vehFuelColor + 255, 255), 0), math.max(math.min(vehFuelthColorMath + 750*vehFuelColor, 255), 0) end if ( vehiclespeed ) then theSpeed = ( vehiclespeed * 6.5 ) vehSpeedColor = math.max(theSpeed - 250 , 0)/750 vehSpeedColorMath = -510*(vehSpeedColor^2) rs, gs = math.max(math.min(vehSpeedColorMath + 255*vehSpeedColor + 0, 255), 0), math.max(math.min(vehSpeedColorMath + 750*vehSpeedColor, 255), 0) end if ( enableVehicleHealth ) then dxDrawRectangle(hx1, hy1, hx2, hy2,tocolor(0,0,0,150),false) dxDrawRectangle(hx3, hy3, hx4, hy4,tocolor(rh,gh,0,170),false) dxDrawImage(hx5-150, hy5-2, hx6, hy6,"images/health.png",0.0,0.0,0.0,tocolor(255,255,255,0),false) dxDrawText(""..tostring(currenthealth).."%",hx3+100, hy3-2, hx4, hy4,tocolor(255,255,255,255),1.6,"sans","left","top",false,false,false) end if ( enableFuelHealth ) and ( vehicleFuel ) then dxDrawRectangle(fx1, fy1, fx2, fy2,tocolor(0,0,0,150),false) dxDrawRectangle(fx3, fy3, fx4, fy4,tocolor(rf,gf,0,170),false) dxDrawImage(fx5-150, fy5-5, fx6, fy6,"images/fuel.png",0.0,0.0,0.0,tocolor(255,255,255,255),false) dxDrawText(""..tostring(vehicleFuel).."%",fx3+100, fy3-2, fx4, fy4,tocolor(255,255,255,255),1.6,"sans","left","top",false,false,false) end if ( enableSpeedMeter ) then dxDrawRectangle(sx1, sy1, sx2, sy2,tocolor(0,0,0,150),false) dxDrawRectangle(sx3, sy3, sx4, sy4,tocolor(rs,gs,0,170),false) dxDrawText(math.ceil(kphSpeed).." Kmh / "..math.ceil(mphSpeed).." Mph",sx*(1120/1440),sy*(779/900),sx*(1435.0/1440),sy*(857.0/900),tocolor (255,255,255,255),1.6,"sans","center","top",false,false,false) end if ( enablegps ) and ( getVehicleEngineState ( theVehicle) ) then dxDrawText(""..tostring(playerZoneName).."",sx*(1158/1440),sy*(745.0/900),sx*(1435.0/1440),sy*(850.0/900),tocolor (255,255,255,255),1.6,"sans","left","top",false,false,false) else dxDrawText("Off",sx*(1158/1440),sy*(745.0/900),sx*(1435.0/1440),sy*(850.0/900),tocolor(255,255,255,255),1.6,"sans","left","top",false,false,false) end if ( enablelock ) and ( isVehicleLocked( theVehicle ) ) or ( getElementData( theVehicle, "vehicleLocked" ) ) then dxDrawImage(sx*(1390.0/1440),sy*(817.0/900),sx*(26.0/1440),sy*(26.0/900),"images/lock.png",0.0,0.0,0.0,tocolor(250,255,255,255),false) else dxDrawImage(sx*(1390.0/1440),sy*(817.0/900),sx*(26.0/1440),sy*(26.0/900),"images/lock.png",0.0,0.0,0.0,tocolor(0,0,0,170),false) end if ( enablenitro ) and ( ids [ upgrades [ 8 ] ] ) then dxDrawImage(sx*(1390.0/1440),sy*(857.0/900),sx*(26.0/1440),sy*(26.0/900),"images/light.png",0.0,0.0,0.0,tocolor(250,255,255,255),false) else dxDrawImage(sx*(1390.0/1440),sy*(857.0/900),sx*(26.0/1440),sy*(26.0/900),"images/light.png",0.0,0.0,0.0,tocolor(0,0,0,170),false) end if ( enableengine ) and ( getVehicleEngineState ( theVehicle) ) then dxDrawImage(hx5-150, hy5-2, hx6, hy6,"images/health.png",0.0,0.0,0.0,tocolor(255,255,255,255),false) dxDrawImage(sx5-150, sy5-2, sx6, sy6,"images/speed.png",0.0,0.0,0.0,tocolor(255,255,255,255),false) dxDrawImage(sx5-150, sy5-35, sx6, sy6,"images/gps.png",0.0,0.0,0.0,tocolor(255,255,255,255),false) else dxDrawImage(hx5-150, hy5-2, hx6, hy6,"images/health.png",0.0,0.0,0.0,tocolor(0,0,0,170),false) dxDrawImage(sx5-150, sy5-2, sx6, sy6,"images/speed.png",0.0,0.0,0.0,tocolor(0,0,0,170),false) dxDrawImage(sx5-150, sy5-35, sx6, sy6,"images/gps.png",0.0,0.0,0.0,tocolor(0,0,0,170),false) end end end end )
  16. WASSIm.

    question

    if player have nos in car show icon
×
×
  • Create New...