Search results

Jump to navigation Jump to search
  • ...ze) of a GUI element. It refers to the bounding box size for GUI elements. It does not make GUI elements smaller or larger in appearance. --Called by the timer every 2 seconds. It decides an x and y width randomly between .1 and .5
    2 KB (213 words) - 17:20, 21 November 2018
  • ...ze) of a DGS element. It refers to the bounding box size for DGS elements. It does not make DGS elements smaller or larger in appearance. Note = It variables is a conjunction:
    2 KB (265 words) - 19:03, 3 May 2021
  • -- so we don't set the state-reset timer twice when reentering a vulnerable vehicle -- this function makes a vehicle vulnerable and sets a timer to unset it in 10 seconds
    2 KB (278 words) - 14:11, 13 June 2021
  • === Timer Callbacks === sourceTimer -- current timer in callback function.
    4 KB (530 words) - 15:34, 11 November 2023
  • ...rror- or infowindow. The window's size will fit the text that you put into it. ...window, before it disappears (if disableByClick is true and client clicks, timer is overridden).
    2 KB (297 words) - 13:56, 30 May 2012
  • '''Available client side from 1.3.1''' (It will only work with client side vehicles and peds) ...peration was successful, ''false'' if the specified ped is not valid or if it isn't in a vehicle.
    1 KB (205 words) - 15:42, 3 April 2018
  • ...a new display and a "Hello World" text item for a player. It then removes it from his screen 5 seconds later setTimer ( textDisplayRemoveObserver, 5000,1, display, thePlayer ) --set a timer to remove this 5 seconds later.
    1 KB (136 words) - 14:01, 21 September 2011
  • -- if it is, we hide it -- if not, we make it visible
    1 KB (163 words) - 21:06, 21 February 2021
  • -- output it to the console -- set a 500 ms (0.5 sec) timer to fade it back in before it has completely faded out
    1 KB (183 words) - 16:19, 8 April 2024
  • ...rror means that the function '''outputChatbox''' is a nil value, that is - it doesn't exist! This is because the function is actually called [[outputChat ...pecified. Also you want to specify what level of errors will be logged. If it is 0 nothing will be logged. The levels were explained at the top of this a
    18 KB (2,477 words) - 20:36, 21 February 2021
  • This function checks in which way the cursor is currently moving, it's updated version of https://wiki.multitheftauto.com/wiki/GetCursorMoveOn. timer = false,
    2 KB (256 words) - 14:48, 8 June 2020
  • This function destroys an [[element]] and all elements within it in the hierarchy (its children, the children of those children etc). [[play ...successfully, ''false'' if either the element passed to it was invalid or it could not be destroyed for some other reason (for example, clientside destr
    5 KB (689 words) - 18:11, 17 November 2021
  • ...at shows debug messages output from MTA functions or from scripts. Keeping it mind that you should have administrator access (unless you modify the ACL t ...ould have ''debugscript'' enabled whenever you are testing your scripts as it will help you easily detect and solve typos and other issues.
    18 KB (2,760 words) - 16:40, 15 April 2017
  • ...at shows debug messages output from MTA functions or from scripts. Keeping it mind that you should have administrator access (unless you modify the ACL t ...ould have ''debugscript'' enabled whenever you are testing your scripts as it will help you easily detect and solve typos and other issues.
    18 KB (2,815 words) - 08:56, 4 July 2022
  • 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 -- if text of button was "Hello", change it to "World!"
    2 KB (298 words) - 16:35, 11 February 2015
  • ...pting classes that are implemented in the 1.4 version of Multi Theft Auto. It mirrors the procedural [[Client_Scripting_Functions|client functions]]. For *[[Timer_class|Timer]]
    2 KB (215 words) - 11:21, 9 April 2014
  • 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 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 -- if text of button was "Hello", change it to "World!"
    2 KB (343 words) - 16:35, 11 February 2015
  • ...e real loss, you have to substract the new health of the old health (use a timer for this).
    1 KB (185 words) - 15:20, 3 September 2020
  • ...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 --Set a timer to trigger the deleteColumn function 3 seconds after the script starts
    2 KB (225 words) - 13:44, 18 January 2018
View ( | ) (20 | 50 | 100 | 250 | 500)