orcun99 Posted July 3, 2017 Share Posted July 3, 2017 (edited) /code local res = getResourceName ("araclar") if getResourceState(getResourceFromName("araclar")) == "running" then restartResource(res) end /code I wanna restart resource name= araclar but don't work this code Edited July 3, 2017 by orcun99 Link to comment
ma2med Posted July 3, 2017 Share Posted July 3, 2017 (edited) local res = getResourceFromName("araclar") if getResourceState(res) == "running" then restartResource(res) end Edited July 3, 2017 by ma2med 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