Jump to content

Refreshing


SnoopCat

Recommended Posts

try this:

addEventHandler("onResourceStart",getResourceRootElement(getThisResource()), 
function() 
    tble1 = getResources() 
    setTimer(getResourceState,30000,1,tbl1) 
    if (getResourceState(tbl1) == "failed to load") then 
        outputDebugScript("A resource failed to load") 
    end 
end) 

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