Jump to content

طلب كود البوابه لي تيم


Recommended Posts

d3 = createObject ( 968, x, y, z, 0, 0, 90 ) 
 d = createMarker ( x, y, z, "cylinder", 5, 0, 0, 0, 0 ) 
  
  
  
function ddf() 
    if getTeamName(getPlayerTeam(source)) == "No Team"  then 
 moveObject (d3, 5000,  x, y, z ) 
end 
end 
addEventHandler("onClientMarkerHit", d, ddf) 
---------------------------------------------------------------------- 
طريقة ثانيه ب زر  
  
---------------------------------------------------------------------- 
  
 d3 = createObject ( 968, x, y, z, 0, 0, 90 ) 
 d = createMarker ( x, y, z, "cylinder", 5, 0, 0, 0, 0 ) 
  
  
  
function cl() 
       moveObject (d, 5000,  x, y, z  ) 
end 
  
function op() 
       moveObject (d, 5000, x, y, z ) 
end 
  
addEventHandler ( "onClientMarkerHit", d, function () 
if getTeamName(getPlayerTeam(source)) == "No Team"  then 
bindKey("1","down", op)  
bindKey("2","down", cl)  
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...