Jump to content

Proplem in my script


ErHaBe

Recommended Posts

Posted

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 

قل ما شئت بمسبتي فسكوتي عن اللئيم جوابي

لست عديم الجواب ولكن ما من اسد يجيب

على الكلاب

Posted
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) 

http://imgur.com/D38VDYV.png

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