Search results

Jump to navigation Jump to search
  • <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
  • *'''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
  • 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
  • *'''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'''.
    3 KB (354 words) - 14:42, 18 February 2021
  • Returns ''true'' if the passed element is in water, ''false'' if it isn't, or if the element is invalid. addEventHandler ("onClientResourceStart", resourceRoot,
    2 KB (200 words) - 00:23, 18 April 2015
  • This example creates a dgs grid list, fills it with the names of the connected players and prints the number of rows (play addEventHandler ( "onClientResourceStart", getResourceRootElement(), clientsideResourceStart )</syntaxhighlight>
    2 KB (171 words) - 13:46, 18 January 2018
  • ...rid list and adds 4 columns to it when the script starts. After 3 seconds, it randomly deletes a column and outputs to the chat box which column was dele addEventHandler ( "onClientResourceStart", resourceRoot, clientsideResourceStart )
    2 KB (225 words) - 13:44, 18 January 2018
  • ...Box("The sound panning was disabled, so it won't annoy you when the camera it's in a side anymore!", 0, 255, 0) addEventHandler("onClientResourceStart", resourceRoot, testPanning)
    2 KB (305 words) - 00:24, 18 August 2021
  • 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
View ( | ) (20 | 50 | 100 | 250 | 500)