3tibe511 Posted May 19, 2012 Share Posted May 19, 2012 السلام عليكم طلب كود ماركر اذا ماعليكم امر وطلب ثاني ابى كود تحريك البوابة بضغطة تاب Link to comment
X-SHADOW Posted May 19, 2012 Share Posted May 19, 2012 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
X-SHADOW Posted May 19, 2012 Share Posted May 19, 2012 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now