abos3od02 Posted January 29, 2014 Share Posted January 29, 2014 آلسسلآم عليكم أنا أخخذت كود من الديث مآتش , الي يكتب بأعلى الشاشة Team Death Match Arena زبطت الاحداثيات وخليته تحت الشات بـ شوي وزبط لكن يوم أخذت الكود وحطيته بـ مود لححآله ماأشتغل versionDisplay = textCreateDisplay () local versionText = textCreateTextItem ( "Welcome In Server", 0.195, 0.70, "medium", 8, 255, 255, 255, 1, "right" ) textDisplayAddText ( versionDisplay, versionText ) end end Link to comment
xFace[B]ook Posted January 29, 2014 Share Posted January 29, 2014 (edited) versionDisplay = textCreateDisplay () local versionText = textCreateTextItem ( "Welcome In Server", 0.195, 0.70, "medium", 8, 255, 255, 255, 1, "right" ) textDisplayAddText ( versionDisplay, versionText ) Edited January 29, 2014 by Guest Link to comment
فاّرس Posted January 29, 2014 Share Posted January 29, 2014 فنكشن بدون اسم بيجي خطأ بالديبوق , ما يحتاج تحط فنكشن الاصل, abos3od02 @ الي بالسطر الخامس والسادس end شيل Link to comment
Quited Posted January 29, 2014 Share Posted January 29, 2014 مازبط تأكد من اسماء الملفات بالميتا و ملفات lua + luac تأكد من مطابقة الاسماء Link to comment
abos3od02 Posted January 29, 2014 Author Share Posted January 29, 2014 كل شي تمام والمود اشتغل بس الـ كلام مايطلع Link to comment
TAPL Posted January 29, 2014 Share Posted January 29, 2014 كل شي تمام والمود اشتغل بس الـ كلام مايطلع لازم تستخدم الفنكشن ذا عشان تضيف لاعب يظهر له الكلام textDisplayAddObserver Link to comment
!#NssoR_) Posted January 29, 2014 Share Posted January 29, 2014 اطرح اكوادك يمكن انت ماعرفت تستخدمها .. Link to comment
TAPL Posted January 29, 2014 Share Posted January 29, 2014 إلا جاب العيد^ شفت كوده بسكايب من الويكي و حطها بكوده Syntax اخذ جرب ذا versionDisplay = textCreateDisplay() versionText = textCreateTextItem("Welcome In Server", 0.195, 0.70, "medium", 8, 255, 255, 255, 1, "right") textDisplayAddText(versionDisplay, versionText) addEventHandler("onResourceStart", resourceRoot, function() for i, player in ipairs(getElementsByType("player")) do textDisplayAddObserver(versionDisplay, player) end end) addEventHandler("onPlayerJoin", root, function() textDisplayAddObserver(versionDisplay, source) end) Link to comment
abos3od02 Posted January 29, 2014 Author Share Posted January 29, 2014 ثآنك يؤ تابل.. زبط الكؤد 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