Search results

Jump to navigation Jump to search
  • ...ion x and y, end position x and y, and relative. Or 2 ''nil''s, 2 ''float''s and a ''bool'' if using end position of previous item as start position of
    1 KB (156 words) - 12:10, 10 January 2023
  • Note = The '''Variable''' It's a table and has the following using: Return two ''string''s, indicates '''horizontal''' and '''vertical''' alignment.
    1 KB (149 words) - 13:34, 5 February 2023
  • print(('tablename: %s | key: %s | Old: %s | New: %s'):format(tostring(name), tostring(key), tostring(old), tostring(new)))
    3 KB (379 words) - 05:01, 13 April 2024
  • This event is triggered when a [[resource]]'s state is changed. This code will output the state of resource when it's state will be changed:
    1 KB (179 words) - 18:30, 23 May 2024
  • Returns a string of the ircbot's current state. Possible values are: ...Bot'' and makes it connect to a server. During the connection progress bot's current states are printed out to the server log.
    1 KB (146 words) - 09:24, 30 July 2009
  • This example outputs the responsible element and the banned player's name when a ban takes place. ...anner = getPlayerName( responsibleElement ) or "Console" -- Get the banner's name.
    1 KB (149 words) - 17:11, 6 December 2023
  • * ''height'': The height of the text, it's 1 by default. * ''distance'': The distance you will be able to view the text from, it's 20 by default.
    4 KB (571 words) - 11:50, 7 August 2024
  • The [[event system#Event source|source]] of this event is the client's [[root element]]. ...tever function it is attached to with every frame. Depending on the server's maximum FPS and what your computer might handle - you might end up triggeri
    1 KB (167 words) - 17:24, 30 July 2020
  • ...ultiple columns. A good example of a gridlist element can be found in MTA's settings box, under ''Controls''. *'''x:''' A float of the 2D x position of the GUI gridlist on a player's screen. This is affected by the ''relative'' argument.
    3 KB (377 words) - 08:09, 30 October 2023
  • ...admin can specify settings in the settings.xml that override the resource's defaults, but that the defaults can still be retrieved if need be. As a gen ...e any Lua data type, except for functions, most userdata (only [[resource]]s can't be stored) and threads.
    2 KB (286 words) - 18:42, 12 October 2020
  • local str = string.format("The %s with the fewest players %s %s!", multiple and "teams" or "team", multiple and "are" or "is", teamListStr)
    2 KB (285 words) - 23:39, 21 June 2014
  • ...'cloneChildren''': A boolean value representing whether or not the element's children will be cloned. ...dren' is true, the position floats will be offsets from the cloned element's position.'''
    2 KB (318 words) - 22:29, 6 September 2024
  • This function gets the properties of a vehicle's sirens. -- Get vehicle's siren data and output it to the player in the chatbox
    3 KB (291 words) - 10:35, 6 August 2015
  • *'''media:''' The element media that you want it's file path. ...rns file path of the loaded media of media browser element, false if there's no media.
    1 KB (145 words) - 19:25, 17 August 2018
  • ...uld be the argument's name as in the argument list above, NOT the argument's data type -->
    1 KB (173 words) - 05:56, 11 August 2019
  • ..., pitch, roll = getElementBoneRotation (localPlayer, 2) -- Get the element's bone rotation ...setElementBoneRotation(localPlayer, value, 0, 0, 0) -- Update the ped's shoulders rotation
    2 KB (231 words) - 20:34, 23 September 2021
  • Returns a string containing the requested player's name, or ''false'' if the player passed to the function is invalid. -- output local player's name to the chatbox
    2 KB (184 words) - 22:01, 15 January 2024
  • This function gets a radio button's selection state. ...reates a radio button then checks if one is selected and if it is, then it's output the title and sets the next radio button selected. (TESTED!)
    1 KB (129 words) - 19:30, 6 September 2021
  • ...dow size. If ''false'', then the size and co-ordinates are based on client's resolution. Returns two ''float''s, which indicate the length and height of the close button
    1 KB (130 words) - 04:13, 29 July 2019
  • *'''Title:x''': An element titlebar x position.(It's for only dxWindows) *'''Title:y''': An element titlebar y position.(It's for only dxWindows)
    1 KB (147 words) - 20:25, 25 May 2012
View ( | ) (20 | 50 | 100 | 250 | 500)