Professional Posted July 17, 2015 Share Posted July 17, 2015 السلام عليكم ابي فنكنش اني الزق اوبجكت مثل الخلاط هو بس يضرب 4 صواريخ مثل الي بمقر ارمي الذقه بسياره وبس يضغط الكبسه اليسار للفاره يبدا يضرب صواريخ لو سمحتو ابيه محتاجه الذقه بسياره Link to comment
Professional Posted July 17, 2015 Author Share Posted July 17, 2015 لا تعطوني مود انا ابي اصمم صوره عشان تعرفو كيف ابيه Link to comment
; Mr.T76eM # Posted July 17, 2015 Share Posted July 17, 2015 createProjectile ( element creator, int weaponType [, float posX, float posY, float posZ, float force = 1.0, element target = nil, float rotX, float rotY, float rotZ, float velX, float velY, float velZ, int model ] ) Link to comment
Professional Posted July 17, 2015 Author Share Posted July 17, 2015 هاتو الفنكشات مرتبات من الاول للاخر وربي ما فهمت شيئ Link to comment
#Mr.Rajo~,< Posted July 17, 2015 Share Posted July 17, 2015 bindKey createProjectile https://wiki.multitheftauto.com/wiki/CreateProjectile شوف المثال الثاني Link to comment
Professional Posted July 17, 2015 Author Share Posted July 17, 2015 بس انا كمان ابي الزق اوبجكت عل ىالسياره مثل ذاك الصاروخ وانا بدات احركه وابي احطله تصويبه ابي كل الفنكشات bindKey ( "z", "down" function ( ) local x, y, z = getElementPosition ( localPlayer) createProjectile ( localPlayer, 19, x, y, z, 200 ) end ) Link to comment
#Mr.Rajo~,< Posted July 17, 2015 Share Posted July 17, 2015 createObject bindKey getPedOccupiedVehicle -- getElementPosition createProjectile في فنكشن ناقص حق التلصيق Link to comment
#|_oskar_|# Posted July 17, 2015 Share Posted July 17, 2015 بس انا كمان ابي الزق اوبجكت عل ىالسياره مثل ذاك الصاروخ وانا بدات احركه وابي احطله تصويبه ابي كل الفنكشات bindKey ( "z", "down" function ( ) local x, y, z = getElementPosition ( localPlayer) createProjectile ( localPlayer, 19, x, y, z, 200 ) end ) استخدم معهم createObject attachElementToElement Link to comment
Professional Posted July 17, 2015 Author Share Posted July 17, 2015 bindKey ( "z", "down" function ( ) local hassan = createObject ( id , x, y, z, ) local hassan = getPedOccupiedVehicle(localPlayer) local x, y, z = getElementPosition ( localPlayer) createProjectile ( localPlayer, 19, x, y, z, 200 ) end end) Link to comment
#|_oskar_|# Posted July 17, 2015 Share Posted July 17, 2015 bindKey ( "z", "down" function ( ) local hassan = createObject ( id , x, y, z, ) local hassan = getPedOccupiedVehicle(localPlayer) local x, y, z = getElementPosition ( localPlayer) createProjectile ( localPlayer, 19, x, y, z, 200 ) end end) X Link to comment
#Mr.Rajo~,< Posted July 17, 2015 Share Posted July 17, 2015 bindKey ( "z", "down" function ( ) local hassan = getPedOccupiedVehicle(localPlayer) local x, y, z = getElementPosition ( hassan ) if x, y,z then createObject ( id , x, y , z +2 ) createProjectile ( hassan , 19, x, y, z) end end) يمكن كذا الله اعلم 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