Jump to content

طلب فكشنات


Recommended Posts

setTimer 
guiSetText 

ممكن مثل او شرح ؟ :fadein:

: مثال

addCommandHandler ( "تغيير", function (    ) 
        outputChatBox (  "! تم تغيير الكلام", 255, 255, 255, true ) 
    setTimer ( function (    ) 
        guiSetText ( اسم الليبل, "الكلام الي تبيه يتغير" ) 
    end, 5000, 0 ) 
end ) 
Link to comment
setTimer 
guiSetText 

ممكن مثل او شرح ؟

: مثال

addCommandHandler ( "تغيير", function (    ) 
        outputChatBox (  "! تم تغيير الكلام", 255, 255, 255, true ) 
    setTimer ( function (    ) 
        guiSetText ( اسم الليبل, "الكلام الي تبيه يتغير" ) 
    end, 5000, 0 ) 
end ) 

تمام بس بدي كل دقيقه يتغير بروحه بدون ما اكتب في اف8كيف ؟؟

Link to comment

: مثال

addCommandHandler ( "تغيير", function (    ) 
        outputChatBox (  "! تم تغيير الكلام", 255, 255, 255, true ) 
    setTimer ( function (    ) 
        guiSetText ( اسم الليبل, "الكلام الي تبيه يتغير" ) 
    end, 5000, 0 ) 
end ) 

تمام بس بدي كل دقيقه يتغير بروحه بدون ما اكتب في اف8كيف ؟؟

هذا مجرد مثال

أطرح محاولتك وبساعدك انشاء الله

Link to comment

هدي محاولتي

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

تفضضضل مدامني فااضي سويته لكك ..#

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 
) 

كل اللي عليك تضيف الكلام الي تبيه فوق بالجدول والباقي ع المود وبالتوفيق

:wink:

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...