saifProgenuis Posted April 21, 2015 Share Posted April 21, 2015 شباب انا معاي كود من الاخ يازين اولاً الششكر له عايز الكود يحمل لمده 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
кιηg-αвα∂у Posted April 21, 2015 Share Posted April 21, 2015 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
saifProgenuis Posted April 21, 2015 Author Share Posted April 21, 2015 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
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