Jump to content

مساعده


Recommended Posts

On 10/10/2017 at 20:58, Ahmed Ly said:

function refreshgirdlist ()
 for _,v in ipairs ( getElementsByType ( "player" ) ) do 
 x,y,z = getElementPosition(localPlayer)
 x1,y1,z1 = getElementPosition(v)
 Distance = getDistanceBetweenPoints3D (x,y,z,x1,y1,z1)
 if Distance <= 50 then 
 
 -- your code 
 
 end 
 end 
 end 

 

--your code 

 

كود حق لوحه ولا وشش 

Link to comment
2 hours ago, Ghost-Gamer said:

--your code 

 

كود حق لوحه ولا وشش 

function refreshgirdlist ()
  guiGridListClear(yourgrid)
for _,v in ipairs ( getElementsByType ( "player" ) ) do 
x,y,z = getElementPosition(localPlayer)
x1,y1,z1 = getElementPosition(v)
Distance = getDistanceBetweenPoints3D (x,y,z,x1,y1,z1)
if Distance <= 50 then 

-- your code  اتوقع مثل
     guiGridListSetItemText

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...