Search results

Jump to navigation Jump to search
  • This example creates a combo box with all server vehicles on it, with a command to clear the combo box. addEventHandler ( "onClientResourceStart", resourceRoot,
    1 KB (144 words) - 20:38, 7 November 2018
  • This example creates a combo box with all server vehicles on it, with a command to clear the combo box. addEventHandler ( "onClientResourceStart", resourceRoot,function ( )
    1 KB (144 words) - 11:13, 20 January 2018
  • ...d allows you to set/get a color of label on the button when you hover over it. ...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.
    2 KB (227 words) - 16:35, 11 February 2015
  • This example creates a player list on the right of the screen and fills it with players online and sets the grid list item color according to their na When the player clicks on a grid list item, it'll output the color of it.
    2 KB (275 words) - 21:13, 7 November 2018
  • <syntaxhighlight lang="lua">addEventHandler("onClientResourceStart",resourceRoot,function() outputChatBox("Hud Component: "..component.." is visible!") --if it is then tell the client that
    2 KB (281 words) - 20:46, 6 October 2013
  • This example creates a button. The button has two functions attached to it, one is triggered when user clicks the button (to change text on the button addEventHandler ( "onClientResourceStart", getResourceRootElement(),
    2 KB (298 words) - 16:35, 11 February 2015
  • *'''button''': the name of the button which will be clicked , it can be ''left'', ''right'', ''middle''. *'''state''': a string of mouse state. In this cause, it is always '''down'''.
    2 KB (311 words) - 10:55, 24 December 2022
  • *'''button''': the name of the button which will be clicked , it can be ''left'', ''right'', ''middle''. *'''state''': a string of mouse state. In this cause, it is always '''up'''.
    2 KB (310 words) - 10:55, 24 December 2022
  • This example creates a gui combo box, fills it with the names of the connected players and prints the number of items (pla addEventHandler('onClientResourceStart',resourceRoot,function()
    1 KB (153 words) - 13:20, 22 July 2019
  • ...See [[svgSetUpdateCallback]] for setting an svg's callback function after it has been created. ...asic example of how you can create an SVG from raw data (or path) and draw it with [[dxDrawImage]] via [[onClientRender]].
    4 KB (530 words) - 19:33, 30 November 2022
  • This code creates a grid list and fills it with the names of the connected players. When the user selects an item, its if ( column ) then -- If the column has been created, fill it with players
    2 KB (275 words) - 16:50, 11 June 2020
  • *'''button:''' the name of the button which will be clicked, it can be ''left'', ''right'', ''middle''. ...ouse button, will be ''down'' if the mouse button was pushed, or ''up'' if it was released. '''Please note currently only the ''up'' state is supported.'
    2 KB (337 words) - 16:40, 19 October 2022
  • This function changes the drawing destination for the dx functions. It can be used to select a previously created render target, or if called with addEventHandler("onClientResourceStart", resourceRoot,
    3 KB (347 words) - 20:40, 23 December 2018
  • {{Important Note|If you're working with dimensions, be sure to apply it by using [[setElementDimension]].}} -- OnClientResourceStart function that creates the water.
    4 KB (479 words) - 10:12, 30 January 2022
  • Returns the column id if it was created, ''false'' otherwise. This example creates a player list on the right side of the screen and fills it with the currently connected players.
    2 KB (250 words) - 07:59, 20 June 2018
  • Reads a specified directory and returns all entries inside of it. addEventHandler('onClientResourceStart', resourceRoot, function()
    2 KB (187 words) - 11:20, 26 May 2024
  • This example creates a button. The button has two functions attached to it, one is triggered when user clicks the button (to change text on the button addEventHandler ( "onClientResourceStart", getResourceRootElement(),
    2 KB (343 words) - 16:35, 11 February 2015
  • ...opens an image, read its pixels, convert the pixels to PNG, and then save it. (You can use [http://i1325.photobucket.com/albums/u630/Tourmalinelisa2/128 addEventHandler('onClientResourceStart', resourceRoot, function()
    1 KB (167 words) - 13:50, 14 October 2018
  • *'''button''': the name of the button which will be clicked , it can be ''left'', ''right'', ''middle''. *'''state''': a string of mouse state. In this cause, it is always '''down'''.
    3 KB (354 words) - 14:41, 18 February 2021
  • This function changes the drawing destination for the dx functions. It can be used to select a previously created render target, or if called with addEventHandler("onClientResourceStart", resourceRoot,
    3 KB (358 words) - 20:42, 23 December 2018
View ( | ) (20 | 50 | 100 | 250 | 500)