Jump to content

طلب كود


Recommended Posts

1# https://wiki.multitheftauto.com/wiki/CreateMarker

#2

gate = createObject(3115,213.37258911133,1875.5131835938,7.0294618606567,90,0,0) 
  
function opendoor() 
       moveObject (gate, 5000, 4060.9077148438,-1819.9403076172,29.235511779785 ) 
end 
bindKey ( "tab", "down", opendoor )  
function closedoor() 
       moveObject (gate, 5000, 4060.9077148438,-1819.9403076172,346.60443115234 ) 
end 
bindKey ( "tab", "down", closedoor )  

Link to comment
gate = createObject(3115,213.37258911133,1875.5131835938,7.0294618606567,90,0,0) -- اول 3 ارقام تسمى احدثيات y,x,z تقدر تغيرها من الادمنية تجيب الارقام وتستبدلها 
  
function opendoor() --- وظيفة 
       moveObject (gate, 5000, 4060.9077148438,-1819.9403076172,29.235511779785 ) ---  تحريك البوابة الى الاحداثيات التالية y,x,z 
end-- اغلاق 
bindKey ( "tab", "down", opendoor ) ----- وضع مفتاح تحريك البوابة هو تاب 
function closedoor() -- وظيفة 
       moveObject (gate, 5000, 4060.9077148438,-1819.9403076172,346.60443115234 ) --- تحريك البوابة الى الاحداثيات التالية لاغلاقها 
end -- اغلاق 
bindKey ( "tab", "down", closedoor )  --- وضع مفتاح التحريك البوابة هو تاب 

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