SnoopCat Posted November 14, 2011 Posted November 14, 2011 it is possible to make a script that refresh the resource status every 30 mins??? can someone help me whit this plz what functions i have to use? VISIT TSW RACING SERVER http://tswracing.net/
Castillo Posted November 14, 2011 Posted November 14, 2011 I don't know what do you mean by refresh their status, are you talking about of some kind of panel that lists the resources & their state? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Jaysds1 Posted November 15, 2011 Posted November 15, 2011 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) My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
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