Search results

Jump to navigation Jump to search
  • *'''items:''' The item table in this format ( the same as cegui's ) : ["column"], -- has the first selected item's column ID
    2 KB (174 words) - 07:38, 11 July 2019
  • local playerTeam = getPlayerTeam ( source ) -- get the player's team if ( playerTeam ) then -- if he's on a team
    1 KB (157 words) - 23:58, 23 July 2018
  • This function is a full featured round function for Lua's math-library. ...ample adds a command that outputs the rounded players current position. It's useful for [[createWater]] function.
    3 KB (336 words) - 09:30, 13 October 2023
  • ...how to use resources both from a user's point of view and from a developer's. Use these pages if you want to know how to use a resource with your own on
    411 bytes (69 words) - 12:54, 30 October 2018
  • Returns a string containing the requested client's IP, or ''false'' if the client passed to the function is invalid. This example prints a player's IP to the chat.
    790 bytes (97 words) - 16:21, 13 February 2015
  • ...how to use resources both from a user's point of view and from a developer's. Use these pages if you want to know how to use a resource with your own on
    408 bytes (68 words) - 16:43, 9 November 2018
  • This function returns the specified client's [[account]] object. Returns the client's account object, or ''false'' if the client passed to the function is invali
    883 bytes (102 words) - 16:20, 13 February 2015
  • This code implements an [[event]] that is triggered when the [[player]]'s real time change.. ...ks the player's time as set on the computer and not the region time or GTA's time.}}
    2 KB (266 words) - 11:42, 29 October 2023
  • This function returns the specified player's [[account]] object. Returns the player's account object, or ''false'' if the player passed to the function is invali
    1 KB (123 words) - 13:42, 12 April 2021
  • This function retrieves the server's port. An integer corresponding to the server's port.
    620 bytes (64 words) - 14:49, 16 December 2014
  • ...eturns the current rotation (in degrees) of a player around the Z axis. It's used with on-foot players: use [[getVehicleRotation]] on the occupied [[veh Returns a ''float'' containing the player's rotation, or ''false'' if an invalid player (or one in a vehicle) was passe
    1 KB (189 words) - 16:13, 13 February 2015
  • Estes são [[id|ID]]'s de blips que podem ser usados em [[createBlip]], [[createBlipAttachedTo]], [[id|Lista de ID's de qualquer coisa do MTA]]
    382 bytes (56 words) - 17:44, 21 February 2021
  • The GUI button class represents GUI buttons in MTA's GUI system. It's only functionality is to detect whether client has clicked it.
    391 bytes (58 words) - 17:40, 14 April 2021
  • This function retrieves a resource's GUI element. The resource's GUI element is the element in the element tree which is the default parent -- Destroy all of the gui-root's children
    1 KB (183 words) - 21:12, 7 August 2018
  • Returns Edit Box's text This example creates window with Edit Box and prints it string when it's edits:
    609 bytes (68 words) - 15:25, 24 July 2018
  • This function sets the size of a blip's icon. Returns an ''true'' if the blip's size was set successfully. Returns ''false'' if the [[element]] passed was
    1 KB (180 words) - 17:20, 29 July 2019
  • ...s representing the red, green, and blue color components of the team if it's valid, ''false'' otherwise. This example defines a console command that outputs the player's team name and colors if he is on a team.
    2 KB (232 words) - 06:51, 12 July 2014
  • Returns a [[string]] of the ircbot's quit message if passed arguments were valid, ''false'' otherwise. This example creates an ircbot called ''DummyBot'', sets it's quit message and makes it connect to a server. Once it has connected, it pr
    1 KB (130 words) - 09:28, 30 July 2009
  • '''Note:''' This function will only work '''after''' you set the item's text using [[guiGridListSetItemText]]! ...) or getPlayerName(player)), false, false) -- Set it's text to the player's name excluding colorcodes
    3 KB (394 words) - 21:18, 7 November 2018
  • ...einen [[string]] aus, der die IP-Adresse des [[DE/Element/Player|Spieler]]'s enthält. Gibt einen [[string]] mit der IP-Adresse des [[DE/Element/Player|Spieler]]'s zurück.
    804 bytes (95 words) - 22:13, 30 September 2014
View ( | ) (20 | 50 | 100 | 250 | 500)