Jump to content

شباب اريد التعديل علي كود


Recommended Posts

شباب انا معاي كود من الاخ يازين

اولاً الششكر له

عايز الكود يحمل لمده 10ثواني

و بعد ما يحمل يختفي

و كيف غير الحجم

local progress = guiCreateProgressBar( 0.8, 0.8, 0.1, 0.1, true) 
  
render = function() 
    if guiProgressBarGetProgress(progress) >= 100 then removeEventHandler('onClientRender',root,render) 
outputChatBox("Welcome To The Server",  255, 0, 0) end 
        guiProgressBarSetProgress(progress,guiProgressBarGetProgress(progress)+1) 
    end 
addEventHandler('onClientRender',root,render) 

Link to comment
local progress = guiCreateProgressBar( 0.8, 0.8, 0.1, 0.1, true) 
  
render = function() 
    if guiProgressBarGetProgress(progress) >= 100 then 
            outputChatBox("Welcome To The Server",  255, 0, 0) 
        elseif guiProgressBarGetProgress(progress) < 100 then 
            guiProgressBarSetProgress(progress,guiProgressBarGetProgress(progress)+1) 
    end   
end 
addEventHandler('onClientResourceStart',root,function() setTimer( render, 1000, 10 ) end) 

اذا تبي تغير الحجم ولا المكان كذا

element guiCreateProgressBar ( float x, float y, float width, float height, bool relative, [element parent = nil] ) 

Link to comment
local progress = guiCreateProgressBar( 0.8, 0.8, 0.1, 0.1, true) 
  
render = function() 
    if guiProgressBarGetProgress(progress) >= 100 then 
            outputChatBox("Welcome To The Server",  255, 0, 0) 
        elseif guiProgressBarGetProgress(progress) < 100 then 
            guiProgressBarSetProgress(progress,guiProgressBarGetProgress(progress)+1) 
    end   
end 
addEventHandler('onClientResourceStart',root,function() setTimer( render, 1000, 10 ) end) 

اذا تبي تغير الحجم ولا المكان كذا

element guiCreateProgressBar ( float x, float y, float width, float height, bool relative, [element parent = nil] ) 

تسلم

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...