Search results

Jump to navigation Jump to search
  • ...ello" and "World!" and chooses randomly which of these two grid list items it will retrieve. ...le 2''': This example creates a player list on resource start, clicking on it will output the selected player name to the chatbox.
    3 KB (325 words) - 18:47, 28 October 2021
  • ...his mouse. This is linked to the GTA world, as oppose to GUI for which [[onClientGUIClick]] is to be used. This event allows detection of click positions of the 3D ...ity]] elements that were clicked. If the player clicked on no MTA element, it's set to false.
    3 KB (393 words) - 13:54, 5 June 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:
    16 KB (2,477 words) - 13:47, 8 November 2018
  • ...created by GUI Editor, but it will cause a lot of errors/bugs if you make it convert complicated scripts, because of compatibility) addEventHandler ( "onClientGUIClick", buttonElement, function()
    3 KB (386 words) - 11:12, 8 May 2022
  • Returns a gui-edit element of the created edit box if it was successfully created, false otherwise. ...es an edit box alongside an "Output!" button. When the button is clicked, it will output the message in the edit box into the Chat Box.
    3 KB (448 words) - 08:09, 30 October 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
  • ...ents triggered on that element, it's parents (and their parents, etc.) and it's children (and their children). As such, an event handler attached to the ...element that the handler is being triggered on (i.e. the one you attached it to with addEventHandler).
    5 KB (918 words) - 01:27, 19 February 2019
  • Note that for some reason the column ID is 1 lower than it should be, for example 0 is returned but if you try and get the text for co addEventHandler("onClientGUIClick", buttonSelectedPlayer, seeSelected, false)
    2 KB (272 words) - 21:16, 7 November 2018
  • *'''key:''' The browser property key. It can be: addEventHandler( "onClientGUIClick", resourceRoot, function ( )
    2 KB (331 words) - 17:32, 8 June 2020
  • -- this turns on wordwrap so if your text goes over the edge of the label, it will wrap around and start a new line automatically -- this means it will only trigger when its own resource is started
    13 KB (1,992 words) - 08:28, 12 November 2018
  • ...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
  • ...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 ...indow function is now complete, but it won't do anything until we call it. It is recommended to create all GUI when the client resource starts, hide them
    15 KB (2,448 words) - 12:30, 30 June 2013
  • ...nk. This must be an youtube embed link. You can use the following codes in it: ...el=0''' Disable related videos from other channels after the reproduction. It will show only videos from the embed video's channel.
    5 KB (710 words) - 05:45, 3 March 2023
  • ...his mouse. This is linked to the GTA world, as oppose to GUI for which [[onClientGUIClick]] is to be used. This event allows detection of click positions of the 3D ...ity]] elements that were clicked. If the player clicked on no MTA element, it's set to false.
    5 KB (589 words) - 10:10, 13 May 2017
  • -- if its a digit or * or #, then append it to the end of the display ...ur text) to change the text on the display, or updateDisplay(nil) to clear it.
    16 KB (2,326 words) - 12:03, 26 November 2018
  • It can also be used to interpolate 2D vectors or scalars by only setting some ...the beginning of the interpolation, 1 at the end). If it is higher than 1, it will start from the beginning.
    9 KB (1,196 words) - 00:34, 30 April 2021
  • -- this turns on wordwrap so if your text goes over the edge of the label, it will wrap around and start a new line automatically -- this means it will only trigger when its own resource is started
    17 KB (2,784 words) - 12:50, 13 May 2019
  • addEventHandler("onClientGUIClick",buttonCreate,createVehicleHandler,false) -- this will add all the vehicle options onto the gridlist, it is explained later in this tutorial
    20 KB (2,848 words) - 13:34, 25 November 2018
  • -- this means it will only trigger when its own resource is started ...der Spieler auf einen beliebigen Teil der GUI klickt, wird das Ereignis "[[onClientGUIClick]]" für die GUI-Komponente ausgelöst, auf die Sie geklickt haben. Dies erm
    17 KB (2,537 words) - 13:25, 7 July 2022
  • -- this means it will only trigger when its own resource is started Amikor a játékos a GUI felület bármely részére kattint, akkor az "[[onClientGUIClick]]" event fog meghívodni a GUI elemre, amire kattintott. Ez lehetővé tesz
    17 KB (2,820 words) - 18:33, 18 November 2018
View ( | ) (20 | 50 | 100 | 250 | 500)