Search results

Jump to navigation Jump to search
  • Reads a specified directory and returns all entries inside of it. These entries can be file or folder names. addEventHandler('onClientResourceStart', resourceRoot, function()
    2 KB (242 words) - 23:06, 23 July 2024
  • ...sound = playSound("song.wav", false) -- Play the file 'song.wav' and make it play only once addEventHandler("onClientResourceStart", resourceRoot, editSongSound) -- Execute the function when the resource is
    2 KB (246 words) - 20:42, 16 August 2018
  • addEventHandler("onClientResourceStart", resourceRoot, ...0, myScreenSource ) -- Now use myScreenSource as a material and draw it lots of times
    2 KB (208 words) - 17:57, 17 October 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 )
    3 KB (285 words) - 10:20, 30 January 2022
  • *Die unterstützten Audio-Formate sind MP3, WAV, OGG, RIFF, MOD, XM, IT und S3M. addEventHandler("onClientResourceStart", resourceRoot, onResourceStart)
    3 KB (427 words) - 22:10, 18 August 2021
  • ==How it works== ...[string]] representing the font type, This CAN'T be a [[DX font]] element, It can ONLY be :
    5 KB (676 words) - 22:42, 9 January 2018
  • ...want a custom weapon to take into account recoil, you will have to script it by firing at fixed coordinates.}} * '''theTarget:''' The [[element]] to shoot at. It can be a [[player]], [[ped]], [[vehicle]] or [[object]].
    4 KB (551 words) - 01:05, 16 January 2023
  • *'''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
  • 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) - 18:30, 31 May 2024
  • ...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
  • 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
View ( | ) (20 | 50 | 100 | 250 | 500)