Search results

Jump to navigation Jump to search
  • <syntaxhighlight lang="lua">table/xmlnode xmlNodeGetChildren ( xmlnode parent, [ int index ] )</syntaxhighlight> ...returns the corresponding child node if it exists. If no nodes are found, it returns an empty table. Returns ''false'' in case of failure.
    3 KB (326 words) - 20:29, 23 September 2016
  • ...s your resource if any part of the code or some resource file has changed, it works just like "refreshResources ()" but adapted for one particular resour for k,v in ipairs(xmlNodeGetChildren(meta)) do
    2 KB (179 words) - 14:23, 23 January 2016
  • Returns the value of the node as a [[string]] if it was received successfully, ''false'' otherwise. if xmlFile then -- If it's indeed opened
    5 KB (656 words) - 20:50, 12 May 2019
  • if xmlFile then -- If it's indeed opened ...local success = xmlNodeSetValue ( node, "somevalue" ) -- Set the value of it
    5 KB (633 words) - 20:52, 12 May 2019
  • if xmlFile then -- If it's indeed opened local success = xmlNodeGetValue ( node ) -- Get the value of it
    5 KB (603 words) - 11:29, 25 December 2014
  • if xmlFile then -- If it's indeed opened ...local success = xmlNodeSetValue ( node, "somevalue" ) -- Set the value of it
    5 KB (579 words) - 11:36, 25 December 2014
  • -- this will add all the vehicle options onto the gridlist, it is explained later in this tutorial -- when the resource is started, create the GUI and hide it
    20 KB (2,848 words) - 13:34, 25 November 2018
  • Returns a [[float]] size of the resource counting the meta. Otherwise it returns ''false''. for _, v in ipairs(xmlNodeGetChildren(metaXML)) do
    4 KB (436 words) - 18:27, 14 November 2021
  • ...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
  • -- this will add all the vehicle options onto the gridlist, it is explained later in this tutorial -- when the resource is started, create the GUI and hide it
    21 KB (3,277 words) - 12:53, 13 May 2019
  • ...item to scroll along the bottom of the screen, updating the news text once it has scrolled beyond the edge of the screen. -- also make it half the height of the gridlist, as half of the gridlist is off the bottom
    18 KB (2,936 words) - 22:39, 5 November 2018
  • ...item to scroll along the bottom of the screen, updating the news text once it has scrolled beyond the edge of the screen. -- also make it half the height of the gridlist, as half of the gridlist is off the bottom
    19 KB (3,117 words) - 21:24, 26 December 2018