Search results

Jump to navigation Jump to search
  • *'''parent:''' the gui-element this scrollpane is attached to. By default, it is nil, meaning the widget is attached to the background. addEventHandler("onClientResourceStart",resourceRoot,
    2 KB (317 words) - 08:06, 30 October 2023
  • *'''parent:''' the dgs-element this scrollpane is attached to. By default, it is nil, meaning the widget is attached to the background. addEventHandler("onClientResourceStart",resourceRoot,
    2 KB (321 words) - 09:26, 17 January 2021
  • This example creates a player list on the right of the screen and fills it addEventHandler ( "onClientResourceStart", getResourceRootElement(), clientsideResourceStart )
    2 KB (228 words) - 21:14, 7 November 2018
  • ...function sets a [[Element/Weapon|custom weapon]] flags, used to change how it behaves or finds a possible target to shoot. ...t_if_blocked''': if enabled, the weapon will still fire its target even if it's blocked by something.
    3 KB (449 words) - 18:21, 23 December 2014
  • addEventHandler("onClientResourceStart", resourceRoot, onClientResourceStartSetGUIInputMode) ...duced in 1.1, can be used as a replacement of [[guiSetInputEnabled]] since it provides the same functionality with one added feature.
    2 KB (289 words) - 06:29, 30 April 2022
  • It's really simple to implement Total DX Library into your resource/project. D Start the '''dxlib''' resource and ensure it loads correctly (you should see some output in debugscript).
    3 KB (408 words) - 20:46, 18 April 2020
  • ...root element whenever the cursor is moved over the screen, by the player. It returns information about the world coordinates as well as the screen coord addEventHandler( "onClientResourceStart", resourceRoot,
    2 KB (251 words) - 05:58, 12 July 2023
  • This example creates a dgs window with yes and no buttons and make it visible/invisible with the bindkey 'x'. addEventHandler("onClientResourceStart", resourceRoot,function()
    2 KB (255 words) - 17:51, 13 January 2023
  • Returns a buttonObject if it was successfully created which then can use other methods, false otherwise. ...es an edit box alongside an "Output!" button. When the button is clicked, it will output the message in the text box into the Chat Box.
    3 KB (407 words) - 16:35, 11 February 2015
  • outputChatBox("File was not successfully copied, probably because it doesn't exist.", root, 100, 0, 0) addEventHandler("onClientResourceStart", resourceRoot, function(res)
    3 KB (332 words) - 17:35, 20 December 2023
  • addEventHandler("onClientResourceStart", resourceRoot, sendVersion) if version.number == 256 + 3 then -- Check further if it is exactly 1.0.3
    3 KB (452 words) - 19:13, 14 January 2022
  • Under /client/ directory, create a text file and name it "gui.lua". ...clude the new gui.lua file in the meta.xml of the main resource, and label it as a client script:
    16 KB (2,477 words) - 13:47, 8 November 2018
  • This allows you to automatically size a column to display everything in it correctly, with the most minimal width. addEventHandler ( "onClientResourceStart", resourceRoot, clientsideResourceStart )</syntaxhighlight>
    2 KB (264 words) - 08:25, 1 August 2021
  • Returns an element of the created combobox if it was successfully created, false otherwise. ...reates a combo box in the center of the screen with all server vehicles on it.
    3 KB (423 words) - 08:09, 30 October 2023
  • addEventHandler( "onClientResourceStart", resourceRoot, showClientImage ) In this example [[Meta.xml]] is used to tell the server which files it will be using.
    2 KB (349 words) - 08:10, 30 October 2023
  • addEventHandler ( "onClientResourceStart", resourceRoot, checkResolutionOnStart ) For example, there is a DX text. It fits on 1024x768 resolution.
    4 KB (475 words) - 05:37, 6 November 2023
  • {{Note|It is highly recommended that [[dxSetTestMode]] is used when writing and testi ...speed up rendering, but (to look good) may require the shader to fade out it's own effect as the texture reaches maxDistance.
    8 KB (1,035 words) - 23:18, 8 February 2023
  • Returns a gui-memo element of the created memo if it was successfully created, false otherwise. addEventHandler("onClientResourceStart", resourceRoot, cMemoFPlayer)
    2 KB (310 words) - 08:09, 30 October 2023
  • addEventHandler("onClientResourceStart", resourceRoot, outputChatBox(msg[languageCode] .. "!") --Output it
    3 KB (428 words) - 11:56, 28 July 2023
  • ...] line in the "joinHandler" function in your code, as we will be replacing it with a GUI alternative in this tutorial)''. We'll also take a look at clien All the GUI must be made client-side. It is also a good practice to keep all the client scripts in a separate folder
    16 KB (2,481 words) - 12:19, 17 September 2023
View ( | ) (20 | 50 | 100 | 250 | 500)