TheIceman1 Posted February 23, 2013 Posted February 23, 2013 Why this aint loading? capturingtimer = setTimer ( getturf, 10000, 1, playerSource ) guiProgressBarSetProgress(GUIEditor_Progress[1], tonumber(capturingtimer)) Need paid scripter just pm me i will accept every job!
Anderl Posted February 23, 2013 Posted February 23, 2013 Your code does not make sense, you're trying to convert a timer to a number. "[...] If you don’t love it, if you’re not having fun doing it, you don’t really love it, you’re going to give up." - Steve Jobs, 2007
iPrestege Posted February 23, 2013 Posted February 23, 2013 setTimer (guiProgressBarSetProgress,10000,1,GUIEditor_Progress[1],progress) Does That What You Want ? You should use it in function .
TheIceman1 Posted February 23, 2013 Author Posted February 23, 2013 setTimer (guiProgressBarSetProgress,10000,1,GUIEditor_Progress[1],progress) Does That What You Want ? You should use it in function . Nothing happens. Need paid scripter just pm me i will accept every job!
TheIceman1 Posted February 23, 2013 Author Posted February 23, 2013 Its full code. function progress() guiSetVisible ( GUIEditor_Progress[1], false ) guiSetVisible ( GUIEditor_Label[1], false ) end function enterturf (playerSource) guiSetVisible ( GUIEditor_Progress[1], true ) guiSetVisible ( GUIEditor_Label[1], true ) capturingtimer = setTimer (guiProgressBarSetProgress,10000,1,GUIEditor_Progress[1],progress) end addEvent ( "enterturf", true ) addEventHandler ( "enterturf", root, enterturf ) Need paid scripter just pm me i will accept every job!
iPrestege Posted February 23, 2013 Posted February 23, 2013 You Have To Edit The "progress" 0 - 100 As What I Know .
TheIceman1 Posted February 23, 2013 Author Posted February 23, 2013 That's not what I'm looking for Need paid scripter just pm me i will accept every job!
iPrestege Posted February 23, 2013 Posted February 23, 2013 i think that you wan't it same download progressbar?
TheIceman1 Posted February 23, 2013 Author Posted February 23, 2013 i think that you wan't it same download progressbar? Yes Need paid scripter just pm me i will accept every job!
iPrestege Posted February 23, 2013 Posted February 23, 2013 guiProgressBarSetProgress(GUIEditor_Progress[1],0) setTimer (guiProgressBarSetProgress,10000,1,GUIEditor_Progress[1],guiProgressBarGetProgress(GUIEditor_Progress[1]) + 1) Try it .
TheIceman1 Posted February 23, 2013 Author Posted February 23, 2013 guiProgressBarSetProgress(GUIEditor_Progress[1],0) setTimer (guiProgressBarSetProgress,10000,1,GUIEditor_Progress[1],guiProgressBarGetProgress(GUIEditor_Progress[1]) + 1) Try it . Dont work. Need paid scripter just pm me i will accept every job!
iPrestege Posted February 23, 2013 Posted February 23, 2013 guiProgressBarSetProgress(GUIEditor_Progress[1],0) setTimer(function() guiProgressBarSetProgress(GUIEditor_Progress[1],guiProgressBarGetProgress(GUIEditor_Progress[1])+1) end,10000,100)
TheIceman1 Posted February 23, 2013 Author Posted February 23, 2013 guiProgressBarSetProgress(GUIEditor_Progress[1],0) setTimer(function() guiProgressBarSetProgress(GUIEditor_Progress[1],guiProgressBarGetProgress(GUIEditor_Progress[1])+1) end,10000,100) Same as before Need paid scripter just pm me i will accept every job!
iPrestege Posted February 23, 2013 Posted February 23, 2013 No that's should work add 1% from 100% every 10 seconds!
TheIceman1 Posted February 23, 2013 Author Posted February 23, 2013 No that's should work add 1% from 100% every 10 seconds! Fixed. Need paid scripter just pm me i will accept every job!
TheIceman1 Posted February 23, 2013 Author Posted February 23, 2013 Did My Code Work? Yes,thanks! Need paid scripter just pm me i will accept every job!
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