hassan.k.s.a Posted July 25, 2012 Share Posted July 25, 2012 بسم الله الرحمن الرحيمَ . . . السًلأًمُ علًـيكم ورحمًـة اللـًه وبـًركاتهُـ . . . شباب اخواني عندي مشكله = لما احط باب في البنك يختفي البنك local gate = createObject ( 2634, 372.17053222656, 166.54083251953, 1008.3893432617 ) الحل؟ Link to comment
hassan.k.s.a Posted July 25, 2012 Author Share Posted July 25, 2012 يالحبيب البنك مكان مثل حرب العصابات مكان حق البنك مو سكربت او مود فهمت علي Link to comment
ahmedfef Posted July 25, 2012 Share Posted July 25, 2012 مافهمت قصدك بس اضن ان المشكلة في الأنترور Link to comment
3NAD Posted July 25, 2012 Share Posted July 25, 2012 (edited) يالحبيب البنك مكان مثل حرب العصابات مكان حق البنك مو سكربت او مود فهمت علي وانا وشش يعرفني عن حرب العصابات مآمرة لعبت فيه createObject إذا البنك اللي مسويه انت عن طريق المود اططرحه نششوف الأخطاء Edited July 25, 2012 by Guest Link to comment
Tete omar Posted July 25, 2012 Share Posted July 25, 2012 استخدم setElementInterior على الباب الي تبيه Link to comment
hassan.k.s.a Posted July 25, 2012 Author Share Posted July 25, 2012 local gate = createObject ( 2634, 372.17053222656, 166.54083251953, 1008.3893432617 ) setElementInterior ( getLocalPlayer(), 2634 ) ولا ذا local gate = createObject ( 2634, 372.17053222656, 166.54083251953, 1008.3893432617 ) setElementInterior ( source, 2634 ) Link to comment
3NAD Posted July 25, 2012 Share Posted July 25, 2012 local gate = createObject ( 2634, 372.17053222656, 166.54083251953, 1008.3893432617 ) setElementInterior ( getLocalPlayer(), 2634 ) ولا ذا local gate = createObject ( 2634, 372.17053222656, 166.54083251953, 1008.3893432617 ) setElementInterior ( source, 2634 ) if client = setElementInterior ( getLocalPlayer(), 2634 ) if server = setElementInterior ( source, 2634 ) Link to comment
hassan.k.s.a Posted July 25, 2012 Author Share Posted July 25, 2012 اسوي ايفنت وترايقل ولا كيف ؟ Link to comment
hassan.k.s.a Posted July 25, 2012 Author Share Posted July 25, 2012 كيذا local gate = createObject ( 2634, 372.17053222656, 166.54083251953, 1008.3893432617 ) setElementInterior ( source, 2634 ) if client = setElementInterior ( getLocalPlayer(), 2634 ) if server = setElementInterior ( source, 2634 ) ولا احط ايف سيرفر في ملف سيرفر واربطه في الكلينت ؟ يعني ترايقل وايفنت ولا كيذا صح؟ Link to comment
3NAD Posted July 25, 2012 Share Posted July 25, 2012 كيذا local gate = createObject ( 2634, 372.17053222656, 166.54083251953, 1008.3893432617 ) setElementInterior ( source, 2634 ) if client = setElementInterior ( getLocalPlayer(), 2634 ) if server = setElementInterior ( source, 2634 ) ولا احط ايف سيرفر في ملف سيرفر واربطه في الكلينت ؟ يعني ترايقل وايفنت ولا كيذا صح؟ WTF !!! اقولكـ إذا أنت شغال على كلنت حط الكود ذآ setElementInterior ( getLocalPlayer(), 2634 ) و إذا سيرفر حط ذا setElementInterior ( source, 2634 ) تروحح تنسخه كامل ليه Link to comment
hassan.k.s.a Posted July 25, 2012 Author Share Posted July 25, 2012 هههههه معليش افكر معاه عادي لأنه العاده تجي الأكواد كيذا Link to comment
hassan.k.s.a Posted July 25, 2012 Author Share Posted July 25, 2012 للحين المشكله مايختفي البنك لاكن مايبين الباب ضض1 Link to comment
TAPL Posted July 25, 2012 Share Posted July 25, 2012 local gate = createObject(2634, 372.17053222656, 166.54083251953, 1008.3893432617) setElementInterior(gate, هنا رقم الأنتيرو الي البنك فيه) Link to comment
hassan.k.s.a Posted July 25, 2012 Author Share Posted July 25, 2012 اها اوك حلو جاري التجربه عرفت اجيب الرقم من الادمنيه Link to comment
hassan.k.s.a Posted July 25, 2012 Author Share Posted July 25, 2012 تابل مو شغال وللمعلومه ابغى كلينت مو سيرفر local gate = createObject ( 371.95056152344, 166.4747467041, 1008.3893432617 ) setElementInterior ( gate, 3 ) مو شغال الباب Link to comment
Tete omar Posted July 25, 2012 Share Posted July 25, 2012 تابل مو شغال وللمعلومه ابغى كلينت مو سيرفر local gate = createObject ( 371.95056152344, 166.4747467041, 1008.3893432617 ) setElementInterior ( gate, 3 ) مو شغال الباب الكلنت راح يكون فيه أخطاء او تشوف الاعب الي دخل معك مختفي " عن تجربه " Link to comment
hassan.k.s.a Posted July 25, 2012 Author Share Posted July 25, 2012 يعني كل ذا اخليه سيرفر وراح يكون شغال شوفه local gate = createObject ( 371.95056152344, 166.4747467041, 1008.3893432617 ) setElementInterior ( gate, 3 ) function moveGate() moveObject ( gate, 9000, 2495.3000488281, -1686.9000244141, 13.699999809265 + 5 ) end addCommandHandler ( "open", moveGate ) function mmoveGate() moveObject ( gate, 5000, 2495.3000488281, -1687.9000244141, 13.699999809265 ) end addCommandHandler ( "close", mmoveGate ) ؟؟؟ Link to comment
Tete omar Posted July 25, 2012 Share Posted July 25, 2012 يعني كل ذا اخليه سيرفر وراح يكون شغال شوفه local gate = createObject ( 371.95056152344, 166.4747467041, 1008.3893432617 ) setElementInterior ( gate, 3 ) function moveGate() moveObject ( gate, 9000, 2495.3000488281, -1686.9000244141, 13.699999809265 + 5 ) end addCommandHandler ( "open", moveGate ) function mmoveGate() moveObject ( gate, 5000, 2495.3000488281, -1687.9000244141, 13.699999809265 ) end addCommandHandler ( "close", mmoveGate ) ؟؟؟ فيه غلط عندك في createObject وين ال rotation ? Link to comment
hassan.k.s.a Posted July 25, 2012 Author Share Posted July 25, 2012 يعني كل ذا اخليه سيرفر وراح يكون شغال شوفه local gate = createObject ( 371.95056152344, 166.4747467041, 1008.3893432617 ) setElementInterior ( gate, 3 ) function moveGate() moveObject ( gate, 9000, 2495.3000488281, -1686.9000244141, 13.699999809265 + 5 ) end addCommandHandler ( "open", moveGate ) function mmoveGate() moveObject ( gate, 5000, 2495.3000488281, -1687.9000244141, 13.699999809265 ) end addCommandHandler ( "close", mmoveGate ) ؟؟؟ فيه غلط عندك في createObject وين ال rotation ? خيو صححه ... وبنسبه للخطأ تراه شغال الباب لاكن لما اركبه في محل انترور مثل البنك مايطلع الباب لاكن مثلا احطه بشارع يطلع تمام . . وياريت تجربه بنفسك وتسلم يمناك على محاولة المساعده . . كمل جميلك وياريت تشوف حل . . Link to comment
Tete omar Posted July 25, 2012 Share Posted July 25, 2012 يعني كل ذا اخليه سيرفر وراح يكون شغال شوفه local gate = createObject ( 371.95056152344, 166.4747467041, 1008.3893432617 ) setElementInterior ( gate, 3 ) function moveGate() moveObject ( gate, 9000, 2495.3000488281, -1686.9000244141, 13.699999809265 + 5 ) end addCommandHandler ( "open", moveGate ) function mmoveGate() moveObject ( gate, 5000, 2495.3000488281, -1687.9000244141, 13.699999809265 ) end addCommandHandler ( "close", mmoveGate ) ؟؟؟ فيه غلط عندك في createObject وين ال rotation ? خيو صححه ... وبنسبه للخطأ تراه شغال الباب لاكن لما اركبه في محل انترور مثل البنك مايطلع الباب لاكن مثلا احطه بشارع يطلع تمام . . وياريت تجربه بنفسك وتسلم يمناك على محاولة المساعده . . كمل جميلك وياريت تشوف حل . . عشان الانترور كود الي انت سويته غلط راجع الويكي Link to comment
hassan.k.s.a Posted July 25, 2012 Author Share Posted July 25, 2012 هههههه حبيبي تعرف اطرح ماتعرف لاتقول غلط وانا مو جايبه اصلا الي جايبه تابل راجع الردود خيو Link to comment
Tete omar Posted July 26, 2012 Share Posted July 26, 2012 هههههه حبيبي تعرف اطرح ماتعرف لاتقول غلط وانا مو جايبه اصلاالي جايبه تابل راجع الردود خيو جرب ذا local gate = createObject ( 0, 0, 0 ) setElementInterior( gate, 3, 371.95056152344, 166.4747467041, 1008.3893432617 ) function moveGate() moveObject ( gate, 9000, 2495.3000488281, -1686.9000244141, 13.699999809265 + 5 ) end addCommandHandler ( "open", moveGate ) function mmoveGate() moveObject ( gate, 5000, 2495.3000488281, -1687.9000244141, 13.699999809265 ) end addCommandHandler ( "close", mmoveGate ) بس من الافضل انك تحط ال rotation حقتها عشان كذا يصير الباب في اتجاهه الطبيعي ويصير لخبطه Link to comment
Bssol Posted July 26, 2012 Share Posted July 26, 2012 المشكلة انك ما حطيت رقم الاوبجكت الي تبيه createObject ( 371.95056152344, 166.4747467041, 1008.3893432617 ) لازم تحط الاوبجكت createObject ( id, 371.95056152344, 166.4747467041, 1008.3893432617 ) وتصحيح لمعلومات teteomar الكود ما يحتاج rotation لانه مطلب ثانوي راجع الكود وتعرف Link to comment
Tete omar Posted July 26, 2012 Share Posted July 26, 2012 المشكلة انك ما حطيت رقم الاوبجكت الي تبيه createObject ( 371.95056152344, 166.4747467041, 1008.3893432617 ) لازم تحط الاوبجكت createObject ( id, 371.95056152344, 166.4747467041, 1008.3893432617 ) وتصحيح لمعلومات teteomar الكود ما يحتاج rotation لانه مطلب ثانوي راجع الكود وتعرف اخ نسيت .. جرب ذا local gate = createObject ( 2634 ,0, 0, 0, rotX, rotY, rotZ ) setElementInterior( gate, 3, 371.95056152344, 166.4747467041, 1008.3893432617 ) function moveGate() moveObject ( gate, 9000, 2495.3000488281, -1686.9000244141, 13.699999809265 + 5 ) end addCommandHandler ( "open", moveGate ) function mmoveGate() moveObject ( gate, 5000, 2495.3000488281, -1687.9000244141, 13.699999809265 ) end addCommandHandler ( "close", mmoveGate ) rotX, rotY, rotZ حط بدالهم ال rotation وتعليق على كلام Bssol الحين يجربه ويشوف كيف الباب راح يصير باتجاه ثاني غير الي هو يبيه 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