Ahmed Ly Posted June 4, 2016 Share Posted June 4, 2016 السلام عليكم بدي اكود يخلي اكلام يظهر شوي في لLabel و يختفي ويجي كلام تاني بس مو نفسه Link to comment
Ahmed Ly Posted June 4, 2016 Author Share Posted June 4, 2016 setTimer guiSetText ممكن مثل او شرح ؟ Link to comment
Mr.R Posted June 4, 2016 Share Posted June 4, 2016 setTimer guiSetText ممكن مثل او شرح ؟ : مثال addCommandHandler ( "تغيير", function ( ) outputChatBox ( "! تم تغيير الكلام", 255, 255, 255, true ) setTimer ( function ( ) guiSetText ( اسم الليبل, "الكلام الي تبيه يتغير" ) end, 5000, 0 ) end ) Link to comment
Ahmed Ly Posted June 4, 2016 Author Share Posted June 4, 2016 setTimer guiSetText ممكن مثل او شرح ؟ : مثال addCommandHandler ( "تغيير", function ( ) outputChatBox ( "! تم تغيير الكلام", 255, 255, 255, true ) setTimer ( function ( ) guiSetText ( اسم الليبل, "الكلام الي تبيه يتغير" ) end, 5000, 0 ) end ) تمام بس بدي كل دقيقه يتغير بروحه بدون ما اكتب في اف8كيف ؟؟ Link to comment
Mr.R Posted June 4, 2016 Share Posted June 4, 2016 : مثال addCommandHandler ( "تغيير", function ( ) outputChatBox ( "! تم تغيير الكلام", 255, 255, 255, true ) setTimer ( function ( ) guiSetText ( اسم الليبل, "الكلام الي تبيه يتغير" ) end, 5000, 0 ) end ) تمام بس بدي كل دقيقه يتغير بروحه بدون ما اكتب في اف8كيف ؟؟ هذا مجرد مثال أطرح محاولتك وبساعدك انشاء الله Link to comment
Ahmed Ly Posted June 5, 2016 Author Share Posted June 5, 2016 هدي محاولتي local font00= guiCreateFont("Dragon.ttf",13) GUIEditor = { label = {} } GUIEditor.label[1] = guiCreateLabel(253, 671, 561, 57, "", false) guiSetFont(GUIEditor.label[1],font00) addEventHandler("onClientResourceStart",root, function () guiSetVisible( GUIEditor.label[1] ,true) setTimer(function () guiSetText(GUIEditor.label[1] ,"-----") end,5000,0) setTimer(function () guiSetText(GUIEditor.label[1] ,"mm") end,5000,2) end ) تطلع عندي كلمةmm بس Link to comment
!#NssoR_) Posted June 5, 2016 Share Posted June 5, 2016 تفضضضل مدامني فااضي سويته لكك ..# GUIEditor = { label = {} } Table = { 'حياكم الله في وناسه تايم' , 'قوانين السيرفر', 'يجب عدم السب او الشتم', 'يجب عدم تقليد اسماء الادمنية' } addEventHandler("onClientResourceStart",resourceRoot, function () local count = 1 GUIEditor.label[1] = guiCreateLabel(253, 671, 561, 57, "", false) guiSetFont(GUIEditor.label[1],( guiCreateFont("Dragon.ttf",13) or 'default-bold-small' )) guiSetText(GUIEditor.label[1] ,Table[count]) setTimer(function () count = count + 1 guiSetText(GUIEditor.label[1] ,Table[count]) if ( count == #Table ) then count = 0 end end,5000,0) 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