Jump to content

صورة فوق لاعب رتبة فيب


Recommended Posts

استبدل كملة ماركر الى لوكال بلير

وسوي تحقق من انه اللاعب عندهـ فيب

. لين يصير زي ما تبي zUP جرب زود ع متغير

local Url = "Image.png" --- اسسم الصورة هنا 
local zUP = 16 ---- ارتفأع الصورة 
  
addEventHandler( "onClientRender", root, function (  ) 
       local x, y, z = getElementPosition( marker ) 
       local Mx, My, Mz = getCameraMatrix(   ) 
        if ( getDistanceBetweenPoints3D( x, y, z, Mx, My, Mz ) <= 15 ) then 
           local WorldPositionX, WorldPositionY = getScreenFromWorldPosition( x, y, z + zUP, 0.07 ) 
            if ( WorldPositionX and WorldPositionY ) then 
               dxDrawImage( WorldPositionX, WorldPositionY, WorldPositionX, WorldPositionY, Url ) 
          end 
      end 
end ) 
Link to comment
زاحف ا نا ابي صورة تطلع فوق راس وحدة معة فيب مو كل ناس

طيب قالك سوي تحقق اذا الاعب بقروب الفيب

تطلع الصورة فوقه . . .

+1 ^ + ولكم

تسلم يابعدي ,

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...