Search results

Jump to navigation Jump to search
  • 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,493 words) - 17:19, 20 June 2024
  • * Remember that 99% of the time it's a bug in your script, not an MTA bug! Don't report something to GitHub Is ...he long run as you'll spend less time being confused when you come back to it in a weeks time to debug a problem.
    8 KB (1,269 words) - 17:30, 2 August 2023
  • ...these three coordinates, a single Vector3 object may be inserted to clone it. ...''Make sure that you put this code in a resource which has OOP enabled, or it won't work'''.
    10 KB (1,278 words) - 12:10, 15 January 2022
  • 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 (311 words) - 21:07, 7 November 2018
  • addEventHandler ( "onClientResourceStart", resourceRoot, clientsideResourceStart ) --mode it changed to. Otherwise, list reasons why it did not work.
    4 KB (460 words) - 14:09, 27 April 2020
  • * '''label''': The label you want to add effects to it. addEventHandler("onClientResourceStart", resourceRoot,
    3 KB (320 words) - 18:25, 30 April 2018
  • ...own glitch which is now disabled by default) and kicks a player for having it bound addEventHandler("onClientResourceStart", resourceRoot, onStart)
    3 KB (380 words) - 15:00, 4 August 2014
  • {{Tip|It is highly recommended that [[dxSetTestMode]] is used when writing and testi ...u can draw on the render target as many times as you like - and even clear it.
    4 KB (518 words) - 16:34, 10 August 2023
  • -- getResourceRootElement(getThisResource()) at the bottom means it will only create the gui on this resource start addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), setupWeaponSelection )
    5 KB (309 words) - 11:06, 7 February 2021
  • 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:
    12 KB (1,771 words) - 22:21, 5 November 2018
  • ...a random player to another random player. If there are less than 2 players it returns ''false''. addEventHandler("onClientResourceStart", resourceRoot, initBind)
    3 KB (370 words) - 04:28, 30 April 2019
  • Returns a dgs-dxmemo element of the created memo if it was successfully created, false otherwise. addEventHandler("onClientResourceStart", resourceRoot, function()
    2 KB (381 words) - 09:26, 17 January 2021
  • ...hand, however, your choice of type depends on the situation you are using it for. ...mean that all the components are attached to the window and will move with it, but also that any changes done to the parent window will be applied down t
    16 KB (2,457 words) - 12:11, 16 January 2022
  • *'''modelID:''' The model it to replace the model of Returns ''true'' if the model was successfully replaced, ''false'' if it failed for some reason, ie. the DFF or the model ID is not valid.
    4 KB (582 words) - 21:35, 2 August 2024
View ( | ) (20 | 50 | 100 | 250 | 500)