; Mr.T76eM # Posted April 11, 2015 Share Posted April 11, 2015 السلام عليكم ورحمة الله وبركاته .. بسم الله ا لرحمن الرحيم أمــآ بعــَد عندي مشكلة في سكريت بسيط مررة الي هو4 اماكن لبيد (شخصية ) والبيد لها انيميشن معين لكن الانيميشن مــَأ يشتغل الكود : : . ped1 = createPed ( 56,-6796.16309,463.41379,4.71688, 90 ) ped2 = createPed ( 46,-6818.41455,466.58963,4.76719 , 270 ) ped3 = createPed ( 46,-6817.87695,458.13892,4.76719 , 270 ) ped4 = createPed ( 56,-6817.76416,462.08676,4.62656 , 270 ) ------------------------------------------------------------- setPedAnimation ( ped1, "DANCING", "dnce_m_b") setElementFrozen ( ped1, true ) --- setPedAnimation ( ped2, "DANCING", "dnce_m_b") setElementFrozen ( ped2, true ) -- setPedAnimation ( ped3, "DANCING", "dnce_m_b") setElementFrozen ( ped3, true ) -- setPedAnimation ( ped4, "DANCING", "dnce_m_b") setElementFrozen ( ped4, true ) -- أمــآ الاستفسار الثاني ]..ِ[ عندي سكربت شغال لما ادخل Host Game لكن لما افتح السيرفر المجاني ادخل انا وخويي اجربه اشغل المود يطلع لي كذا في اف 8 start: Resource 'highjump' start was requested () Link to comment
yazan Posted April 12, 2015 Share Posted April 12, 2015 وين الايقنت حق عمل الحركة ! addEventHandler("onResourceStart", resourceRoot, function() setPedAnimation ( ped1, "DANCING", "dnce_m_b") setElementFrozen ( ped1, true ) setPedAnimation ( ped2, "DANCING", "dnce_m_b") setElementFrozen ( ped2, true ) setPedAnimation ( ped3, "DANCING", "dnce_m_b") setElementFrozen ( ped3, true ) setPedAnimation ( ped4, "DANCING", "dnce_m_b") setElementFrozen ( ped4, true ) end) Link to comment
; Mr.T76eM # Posted April 12, 2015 Author Share Posted April 12, 2015 وين الايقنت حق عمل الحركة ! addEventHandler("onResourceStart", resourceRoot, function() setPedAnimation ( ped1, "DANCING", "dnce_m_b") setElementFrozen ( ped1, true ) setPedAnimation ( ped2, "DANCING", "dnce_m_b") setElementFrozen ( ped2, true ) setPedAnimation ( ped3, "DANCING", "dnce_m_b") setElementFrozen ( ped3, true ) setPedAnimation ( ped4, "DANCING", "dnce_m_b") setElementFrozen ( ped4, true ) end) كودك خآطئ أسآسآ .. وش تعريف الشخصيات Ped 1 Ped2 >> << -- Link to comment
yazan Posted April 12, 2015 Share Posted April 12, 2015 ذول يا نوب ped1 = createPed ( 56,-6796.16309,463.41379,4.71688, 90 ) ped2 = createPed ( 46,-6818.41455,466.58963,4.76719 , 270 ) ped3 = createPed ( 46,-6817.87695,458.13892,4.76719 , 270 ) ped4 = createPed ( 56,-6817.76416,462.08676,4.62656 , 270 ) تبي انسخ لك بعد البيدات تبيه rar/zip خخخخخخخ Link to comment
iPrestege Posted April 12, 2015 Share Posted April 12, 2015 اعتقد الخطأ في ملف الـ meta.xml اطرحة Link to comment
yazan Posted April 12, 2015 Share Posted April 12, 2015 يب لانه ما يعرف للميتا ابد يحط ملف سيرفر ماب ما يعرف يعمل الميتا للاسف Link to comment
TAPL Posted April 12, 2015 Share Posted April 12, 2015 جرب ped1 = createPed(56, -6796.16309, 463.41379, 4.71688, 90) ped2 = createPed(46, -6818.41455, 466.58963, 4.76719, 270) ped3 = createPed(46, -6817.87695, 458.13892, 4.76719, 270) ped4 = createPed(56, -6817.76416, 462.08676, 4.62656, 270) setTimer(function() setPedAnimation(ped1, "DANCING", "dnce_m_b") setElementFrozen(ped1, true) setPedAnimation(ped2, "DANCING", "dnce_m_b") setElementFrozen(ped2, true) setPedAnimation(ped3, "DANCING", "dnce_m_b") setElementFrozen(ped3, true) setPedAnimation(ped4, "DANCING", "dnce_m_b") setElementFrozen(ped4, true) end, 100, 1) Link to comment
terreus Posted April 12, 2015 Share Posted April 12, 2015 جرب ped1 = createPed(56, -6796.16309, 463.41379, 4.71688, 90) ped2 = createPed(46, -6818.41455, 466.58963, 4.76719, 270) ped3 = createPed(46, -6817.87695, 458.13892, 4.76719, 270) ped4 = createPed(56, -6817.76416, 462.08676, 4.62656, 270) setTimer(function() setPedAnimation(ped1, "DANCING", "dnce_m_b") setElementFrozen(ped1, true) setPedAnimation(ped2, "DANCING", "dnce_m_b") setElementFrozen(ped2, true) setPedAnimation(ped3, "DANCING", "dnce_m_b") setElementFrozen(ped3, true) setPedAnimation(ped4, "DANCING", "dnce_m_b") setElementFrozen(ped4, true) end, 100, 1) كودك شغال ’ أسف علي تدخلي كيف أعرف أسم حركة ^^ Link to comment
TAPL Posted April 12, 2015 Share Posted April 12, 2015 ^^ https://wiki.multitheftauto.com/wiki/Animations Link to comment
terreus Posted April 12, 2015 Share Posted April 12, 2015 ^^https://wiki.multitheftauto.com/wiki/Animations Thank you tried it and worked . شكر جربته واشتغل . Link to comment
; Mr.T76eM # Posted April 12, 2015 Author Share Posted April 12, 2015 جرب ped1 = createPed(56, -6796.16309, 463.41379, 4.71688, 90) ped2 = createPed(46, -6818.41455, 466.58963, 4.76719, 270) ped3 = createPed(46, -6817.87695, 458.13892, 4.76719, 270) ped4 = createPed(56, -6817.76416, 462.08676, 4.62656, 270) setTimer(function() setPedAnimation(ped1, "DANCING", "dnce_m_b") setElementFrozen(ped1, true) setPedAnimation(ped2, "DANCING", "dnce_m_b") setElementFrozen(ped2, true) setPedAnimation(ped3, "DANCING", "dnce_m_b") setElementFrozen(ped3, true) setPedAnimation(ped4, "DANCING", "dnce_m_b") setElementFrozen(ped4, true) end, 100, 1) قبل مـَ اجربه أنا متأكد 100% أنه شغال شكرا ممكن تقول وش ضفت ووش كان خطأي عشان اتعلم من اخطائي Link to comment
TAPL Posted April 12, 2015 Share Posted April 12, 2015 ^ اضفت تايمر و مسحت المسافات الي ما لها داعي (MTA بعض الفنكشات تحتاج تايمر عشان تشتغل (مشكلة من 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