All public logs
Jump to navigation
Jump to search
Combined display of all available logs of Multi Theft Auto: Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 02:03, 2 April 2026 Flox talk contribs created page IsResourceRunning (Created page with "__NOTOC__ {{Shared function}} ==Syntax== You can insert this code example in your resources. ===Required Arguments=== *'''isResourceRunning:''' The value to check resources ==Example== <section name="Example1" class="shared" show="true"> You can insert this code example in your resources. <syntaxhighlight lang="lua"> function isResourceRunning(resName) local res = getResourceFromName(resName) return (res) and (getResourceState(res) == "running") end -- Example o...")
- 22:06, 15 February 2022 Myonlake talk contribs deleted page IsResourceRunning (Sorry, but this doesn't quite reach the level of usefulness we're looking for)
- 16:15, 13 February 2022 Alex7202 talk contribs created page IsResourceRunning (Created page with "{{Useful Function}} <lowercasetitle></lowercasetitle> __NOTOC__ This function return resource state running or not. ==Syntax== <syntaxhighlight lang="lua">boolean isResourceRunning( resource theResource )</syntaxhighlight> ===Required Arguments=== * '''theResource''': The resource where you want to get state. ==Code== <syntaxhighlight lang="lua"> function isResourceRunning(resName) local res = getResourceFromName(resName) return (res) and (getResourceState(res) == "...")