Search results

Jump to navigation Jump to search
  • ...GUI scrollbars in MTA's GUI system. These can be moved with cursor and it's position can be checked and set by script. These are built by default to ce
    549 bytes (82 words) - 18:32, 14 April 2021
  • ***''color2:'' A number ranges from 0 to 100, indicates the S (saturation) value of the color. ***''color2:'' A number ranges from 0 to 100, indicates the S (saturation) value of the color.
    2 KB (268 words) - 09:37, 26 July 2019
  • This function will show or hide a part of the player's HUD. :*'''armour:''' The display showing the player's armor
    4 KB (517 words) - 09:17, 4 November 2020
  • ...assert(type(element) == 'userdata',('Expected element at argument 1, got %s!'):format(type(element))) ('Expected element at argument 1, got %s!'):format(getElementType(element))
    1 KB (142 words) - 11:01, 28 February 2023
  • function removeHex (s) s, c = g(s, '#%x%x%x%x%x%x', '')
    3 KB (344 words) - 05:23, 11 February 2024
  • This function gets Custom Window's side panel's length.
    822 bytes (83 words) - 06:55, 14 August 2018
  • This function sets Custom Window's side panel's length.
    797 bytes (83 words) - 06:49, 14 August 2018
  • ...An float representing the absolute X position of the middle of the polygon's circumcircle. ...An float representing the absolute Y position of the middle of the polygon's circumcircle.
    2 KB (254 words) - 19:02, 1 February 2018
  • :*'''armour:''' The display showing the player's armor :*'''breath:''' The display showing the player's breath
    2 KB (281 words) - 20:46, 6 October 2013
  • ...in time at which the vehicle last exploded: at this time plus the vehicle's respawn delay, the vehicle is respawned. You can use this function to preve This example resets every vehicle's explosion time when the resource is stopped.
    1 KB (160 words) - 04:34, 16 May 2023
  • This function gets Custom Window's side panel's position on window.
    891 bytes (90 words) - 06:54, 14 August 2018
  • Returns ''true'' if the camera's interior was changed successfully, ''false'' otherwise. ...has been set to "..intID, thePlayer ) -- Tell to the player his new camera's interior
    3 KB (315 words) - 15:28, 26 August 2018
  • Returns ''true'' if the camera's interior was changed successfully, ''false'' otherwise. ...has been set to "..intID, thePlayer ) -- Tell to the player his new camera's interior
    3 KB (316 words) - 08:17, 10 October 2020
  • This function turns a vehicle's engine on or off. Note that the engine will always be turned on when someon Returns ''true'' if the vehicle's engine state was successfully changed, ''false'' otherwise.
    2 KB (219 words) - 09:01, 4 November 2020
  • This function is used to set a team's name. playerteam = getPlayerTeam ( source ) -- get the player's team
    1 KB (150 words) - 06:52, 12 July 2014
  • This function is used to retrieve a vehicle's turning velocity for each axis. Returns 3 ''floats'' that represent the vehicle's turning velocity on the x, y and z axis or ''false'' if wrong arguments wer
    1 KB (141 words) - 22:56, 29 April 2024
  • Returns Real Widget's Width and Height. Some widgets have difference between original widget size and it's real onscreen size.
    1,000 bytes (128 words) - 16:36, 29 July 2018
  • This function makes a [[ped|ped's]] footprints bloody. Returns ''true'' if changing the ped's bloody feet status worked.
    698 bytes (84 words) - 11:41, 31 August 2021
  • ...ng is the number of milliseconds that data takes to travel from the player's client to the server or vice versa. If a player is using a VPN their ping w This example checks every players ping every 5 seconds and if it's over 500 they get kicked.
    2 KB (252 words) - 13:31, 15 September 2021
  • {{New feature/item|3.0161|1.6.0|22219|Does a raycast against an element's renderable mesh model directly}} Does a raycast against an element's renderable mesh model [not the collision model!].
    2 KB (287 words) - 16:52, 31 October 2023
  • ...'false'' if the bot's name wasn't changed. You can check if the bot had it's name changed by using callback {{ml_birc|event_ircOnNickChange}}. ...cludes an IRC command '!setname <name>' which can be used to change ircbot's name.
    2 KB (211 words) - 09:34, 30 July 2009
  • * '''low1''': Lower bound of the value's current range * '''high1''': Upper bound of the value's current range
    1 KB (156 words) - 19:07, 27 September 2023
  • -- Retrieve the blip's icon into the variable 'blipIcon' -- If the blip's icon wasn't the default already
    1 KB (159 words) - 20:18, 18 July 2019
  • ...[[element]] that corresponds to the current target of the specified player's camera (i.e. what it is following). This example checks whether a player's camera's target is another player, and returns true or false accordingly.
    2 KB (182 words) - 08:08, 10 October 2020
  • -- Retrieve the blip's size into the variable 'blipSize' -- If the blip's size wasn't 2 (the default size) already
    1 KB (154 words) - 20:37, 18 July 2019
  • ...dedness of an element's model. When an element's model is double-sided, it's back facing triangles become visible.
    1 KB (173 words) - 16:30, 6 August 2016
  • local thePlayer = getAccountPlayer ( theAccount ) --s يتحقق من الاعب الذي يرتبط بالحساب if ( getElementType ( thePlayer ) == "player" ) then --s يتحقق من الاعب الذي يرتبط بهذا الحساب , اذ
    1 KB (72 words) - 13:02, 12 April 2021
  • This function retrieves a resource's root element. The resource's root element is the element in the element tree which is the parent of all Returns an ''element'' representing the resource's root, ''false'' if the specified resource doesn't exist.
    2 KB (253 words) - 18:38, 17 December 2023
  • This function changes the specified [[client]]'s name. Returns ''true'' if the client's name was changed succesfully, ''false'' if invalid arguments are specified.
    2 KB (298 words) - 12:31, 26 June 2014
  • ...eSearchLight''': the searchlight to get the position where the searchlight's light cone starts. ...ill return three ''float'', which are the three coordinates of searchlight's start position. If not, it will return ''false'' plus an error message.
    851 bytes (95 words) - 11:05, 20 March 2019
  • *'''theSearchLight''': the searchlight to get the radius of the searchlight's light cone in its beginning. ...s valid, this function will return one ''float'', which is the searchlight's start radius. If not, it will return ''false'' plus an error message.
    807 bytes (92 words) - 11:06, 20 March 2019
  • This example outputs a player's favorite animal using a console function 'favoriteAnimal' if they have one ...eAnimal = getElementData ( thePlayer, "favoriteAnimal" ) -- get the player's favorite animal
    2 KB (305 words) - 10:34, 20 May 2020
  • This example creates a team, and sets the player's team to it's partial name: -- Sets the player's team by getting the partial name of the red team.
    1 KB (155 words) - 15:31, 9 May 2018
  • This function sets Custom Window's side panel's position on window.
    875 bytes (91 words) - 06:51, 14 August 2018
  • local h, s, v s = 0
    1 KB (198 words) - 23:54, 2 January 2022
  • ...the selected items in the dgs grid list in this format ( the same as cegui's ) : ["column"], -- has the first selected item's column ID
    2 KB (246 words) - 07:37, 11 July 2019
  • Ez a function 3D-s vonalat rajzol a 3D-s világ két pontja között - egy képkocka erejéig van kirajzolva. Ezt az * '''startX:''' A 3D-s vonal kezdetének X pozíciója, amely egy koordinátát képvisel a GTA vi
    3 KB (431 words) - 13:20, 13 May 2019
  • This event is triggered ''after'' an element's [[element data|data]] entry is changed. Such changes can be made on the cli This example tells the client whenever a player's "score" element data is changed.
    1 KB (166 words) - 12:28, 8 October 2018
  • *'''theSearchLight''': the searchlight to get the radius of the searchlight's light cone in its end. ...s valid, this function will return one ''float'', which is the searchlight's end radius. If not, it will return ''false'' plus an error message.
    788 bytes (92 words) - 11:05, 20 March 2019
  • ...returns an integer that contains the total ammo in a specified [[player]]'s weapon. See [[weapon|Weapon Info]] Returns an [[int]] containing the total amount of ammo for the player's current weapon.
    2 KB (221 words) - 16:27, 13 February 2015
  • This function returns a table over all the ACL's Player. *'''thePlayer:''' The Player to get the ACL's elements from
    1 KB (171 words) - 14:49, 3 April 2024
  • account = getPlayerAccount ( player ) -- Get every player's account if ( not isGuestAccount ( account ) ) then -- For every player that's logged in....
    1 KB (95 words) - 15:07, 12 April 2021
  • This function is used to set a player's wanted level. The wanted level is indicated by the amount of stars a player This example sets a player's wanted level to six stars if they enter a certain colshape:
    1 KB (166 words) - 14:22, 27 April 2020
  • This example binds the "p" key to a function to freeze/unfreeze the player's current vehicle. -- this function freezes or unfreezes the specified player's vehicle, if he's in one
    2 KB (210 words) - 16:23, 6 August 2016
  • ...uld be the argument's name as in the argument list above, NOT the argument's data type --> outputConsole(aclGroupGetName(aclGetGroup("Admin")).."'s are ready to watch :)",root)
    2 KB (179 words) - 06:36, 6 February 2021
  • This function determines the state of a player's cursor. Returns ''true'' if the player's cursor is visible, and ''false'' if it is not.
    4 KB (543 words) - 20:11, 24 October 2023
  • ...ion returns an integer that contains the total ammo in a specified [[ped]]'s weapon. See [[weapon|Weapon Info]] *'''weaponSlot''': an integer representing the weapon slot (set to the ped's current slot if not given)
    2 KB (214 words) - 10:18, 30 January 2022
  • This example binds the "p" key to a function to freeze/unfreeze the player's current vehicle. -- this function freezes or unfreezes the specified player's vehicle, if he's in one
    2 KB (216 words) - 11:51, 26 June 2014
  • ...draw's color, set to ''true'' to force shader's color to override dx darw's color).
    1 KB (128 words) - 04:33, 21 November 2021
  • ...parency of a gui element. This function allows retrieval of a gui element's current alpha. ...function returns a positive integer in between 0 and 1 of the gui element's current alpha, or false if it could not be retrieved.
    2 KB (360 words) - 17:15, 21 November 2018
View ( | ) (20 | 50 | 100 | 250 | 500)