Szerző Téma: Blipek készítése  (Megtekintve 955 alkalommal)

Blipek készítése
« Dátum: 2014. December 17. - 19:45:44 »
0
Sziasztok!
Az lenne hogy van egy alap community-s GTA V-ös radarom amire ha berakom ez a scriptet nem tölt be:
 
if setup.blips then
        for _, e in ipairs(getElementsByType(\"blip\")) do   
          if not getElementData(e, \"bigradar.noblip\") then
            r,g,b,a = 255,255,255,200     
            local ex, ey, ez = getElementPosition(e)
            local dist = getDistanceBetweenPoints2D(px,py,ex,ey)
            if dist <= radar.range or setup.blipsoutofrange then
              if dist > radar.range then dist = radar.range end
              local angle = 180-north+findRotation(px,py,ex,ey)
              local blipx, blipy = getDistanceRotation(0, 0, radar.radius*(dist/radar.range), angle)
              local icon = getBlipIcon(e)
              if icon == 0 or icon == 1 then r,g,b,a = getBlipColor(e) end
              blipx = radar.xc+blipx-blip.bhalf
              blipy = radar.yc+blipy-blip.bhalf
              dxDrawImage(blipx, blipy, blip.big, blip.big, \"radar_frire.png\", 0, 0, 0, tocolor(r,g,b,a)) 
              if setup.blipnames then
                local name = getElementData(e, \"bigradar.blipname\")
                if name then dxDrawText(name, blipx+blip.big, blipy+blip.half*radar.scale, blipx, blipy, tocolor(r,g,b,a), blip.textsize, \"default\") end
              end 
            end 
          end 
        end
      end 
min(608 + 154, blipY))

Nem elérhető Xenius

  • 668
    • Profil megtekintése
Blipek készítése
« Válasz #1 Dátum: 2014. December 17. - 20:11:15 »
0
debugscript 3

Blipek készítése
« Válasz #2 Dátum: 2014. December 17. - 20:13:07 »
0
De nem ír ki semmi errort.

Nem elérhető Toxic

  • 798
  • #elfújalágyszellő
    • Profil megtekintése
Blipek készítése
« Válasz #3 Dátum: 2015. Január 07. - 16:44:17 »
0
[gmod]Elavult, zárom.[/gmod]

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal