Jump to content

طلب كود


Recommended Posts

السلام عليكم ورحمه الله وبركاته

شسمه ابي كود

انا عندي 90 اللف مليون سكن معدل وابي اركبهم ف السيرفر بحط من الماب اددتور واحد لابس السكن وقدامه ماركر تدخل فيه ويعطيك السكن بدون م تضغط اي زر

Link to comment
برضو لو بحثت بتلقى طلبكـ .. هذا كتابة ع ماركر
Just remove marker on line 2 and set ur marker name and set Text
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 +1, 0.07 ) 
            if ( WorldPositionX and WorldPositionY ) then 
                 dxDrawText ( "Text", WorldPositionX, WorldPositionY, WorldPositionX, WorldPositionY, tocolor(255,255,255,255), 1, "arial" ) 
            end 
      end 
end ) 
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...