ErHaBe Posted July 14, 2016 Share Posted July 14, 2016 hallo what is proplem in ProgressBar unexpected symbol near ',' Line 14 addEventHandler("onClientGUIClick", resourceRoot, function () if source == b2 then progTimer = setTimer(function () if guiProgressBarGetProgress (pro2)< 100 then guiProgressBarSetProgress(pro2, guiProgressBarGetProgress (pro2) + 10 ) if ( guiGetEnabled ( b2 ) == true ) then guiSetEnabled ( b2, false ) else guiSetEnabled ( b2, true ) killTimer(progTimer ) setElementData(resourceRoot, "ResourceAdminMessag", text, true) end end, 100, 0) end end Link to comment
EmBaby85 Posted July 14, 2016 Share Posted July 14, 2016 addEventHandler("onClientGUIClick", resourceRoot, function () if source == b2 then progTimer = setTimer(function () if guiProgressBarGetProgress (pro2)< 100 then guiProgressBarSetProgress(pro2, guiProgressBarGetProgress (pro2) + 10 ) if ( guiGetEnabled ( b2 ) == true ) then guiSetEnabled ( b2, false ) else guiSetEnabled ( b2, true ) killTimer(progTimer ) setElementData(resourceRoot, "ResourceAdminMessag", text, true) end end end end , 100, 0) 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