Search results

Jump to navigation Jump to search
  • {{OOP||[[resource]]:rename|name|getResourceName}} ...(but this isn't a valid resource) or if the name you specify isn't valid. It could also fail if the disk was full or for other similar reasons. Won't wo
    1 KB (181 words) - 13:37, 10 August 2021
  • local resourceName = getResourceName(startedResource) ...not matchingResource) then -- check if startedResource matches current, if it doesn't do not trigger custom event
    2 KB (190 words) - 22:43, 15 October 2023
  • ...MTA functions and events. It should only be used when debugging scripts as it may degrade script performance. local resname = sourceResource and getResourceName(sourceResource)
    5 KB (481 words) - 23:48, 7 August 2020
  • ...in the metafile as "raw", then it is passed through a pre-processor before it is returned to the client. This pre-processor works much like PHP or ASP bu This resource is called <* httpWrite( getResourceName(getThisResource()) ) *>
    9 KB (1,404 words) - 03:55, 20 August 2023
  • '''Note:''' It is required to register your ircbot to the module if you're willing to use bool ircRegister ( ircbot theBot, [ string resourceName = getResourceName ( getThisResource() ) ] )
    3 KB (377 words) - 16:45, 11 February 2015
  • In addition, it is possible to use this function to get information about a resource in the ...6 seconds. Therefore, the default setting of 10 connection attempts means it will be 60 seconds before your script gets a callback about the error. Redu
    7 KB (1,033 words) - 18:07, 26 December 2017
  • This example retrieves the current resource's root element and attaches it to an onResourceStart event handler. This causes the event handler to get c local resourceName = getResourceName(theResource)
    2 KB (253 words) - 18:38, 17 December 2023
  • local resRoot = fsys.createTranslator( "mods/deathmatch/resources/" .. getResourceName(resource) .. "/" ); -- link this directory and set it into our dirs dictionary.
    2 KB (281 words) - 02:01, 24 January 2022
  • ...eck whether a file named 'myfile.txt' exists in the resource 'mapcreator', it can be done from another resource this way: ''fileExists(":mapcreator/myfil resourcename = getResourceName(resource) --every resource has a predefined global variable called resource
    3 KB (390 words) - 17:59, 20 December 2023
  • ...g only the name of the files (with their respective extensions). Otherwise it returns '''false'''. ...ourceFolder argument #1. The path must contain '/' at the end to make sure it is a directory.", 2)
    8 KB (976 words) - 19:29, 27 September 2023
  • local resRoot = fsys.createTranslator( "mods/deathmatch/resources/" .. getResourceName(resource) .. "/" ); -- link this directory and set it into our dirs dictionary.
    3 KB (415 words) - 20:06, 2 February 2014
  • ...'''?''' modifiers. The scan can be made recursive to enter every directory it finds, so that files and folders of a whole directory tree are captured. Th ...irectories and all matching file entries which were found during the scan. It returns '''false''' if '''dirPath''' is an invalid path specifier for the t
    3 KB (417 words) - 21:28, 14 November 2023
  • To use it, you need to make sure you need to have the following packages: ret = MTARPC.callFunction ( SERVER_HTTP_ADDRESS, "echobot", "getResourceName", arguments );
    3 KB (360 words) - 20:23, 23 September 2016
  • * Remember that 99% of the time it's a bug in your script, not an MTA bug! Don't report something to GitHub Is ...he long run as you'll spend less time being confused when you come back to it in a weeks time to debug a problem.
    8 KB (1,269 words) - 17:30, 2 August 2023
  • This resource is called <* httpWrite( getResourceName(getThisResource()) ) *> This resource is called <* = getResourceName(getThisResource()) *>
    9 KB (1,486 words) - 21:49, 21 February 2021
  • Returns a browser if it was successfully created, false otherwise. loadBrowserURL(webBrowser, "http://mta/"..getResourceName(resource).."/index.html" ) --Note: you need to specify the resource name in
    3 KB (508 words) - 15:30, 1 July 2021
  • This resource is called <* httpWrite( getResourceName(getThisResource()) ) *> This resource is called <* = getResourceName(getThisResource()) *>
    10 KB (1,423 words) - 20:47, 30 June 2022
View ( | next 20) (20 | 50 | 100 | 250 | 500)