Search results

Jump to navigation Jump to search

Page title matches

  • #REDIRECT [[Resource:Samurai's Library]]
    40 bytes (4 words) - 13:06, 13 July 2012
  • <pageclass class="#ff55bb" subcaption="Surge's translations"></pageclass> ==Ruha és test függvények==
    4 KB (323 words) - 17:52, 5 November 2018
  • <pageclass class="#ff55bb" subcaption="Surge's pages"></pageclass> <h3>Scriptelés</h3>
    1 KB (205 words) - 00:12, 26 November 2018

Page text matches

  • ...eedMin = %s ;speedMax = %s ;scanSizeX = %s ;scanSizeY = %s ;renderSizeX = %s \ ;renderSizeY = %s ;bShowInside = %s ;', unpack( tNew )
    1,002 bytes (126 words) - 22:51, 8 March 2012
  • The below example will notify everyone on the server when someones Satchel(s) get detonated local msg = string.format("%s's Satchels has been detonated", getPlayerName(source))
    809 bytes (102 words) - 19:18, 23 December 2023
  • This class allows you to handle matrixes without using MTA's OOP functions<br/> ...s is called POP because it doesn't use any OOP functions while keeping Lua's class structure.
    3 KB (357 words) - 12:56, 14 February 2024
  • This function is used to get the name of a specified ped's current simplest [[task]].<br> {{Note|See [[getPedTask]] to get a ped's task.}}
    918 bytes (110 words) - 13:58, 26 November 2021
  • This function retrieves the server's name. A string containing the server's name.
    562 bytes (59 words) - 21:23, 21 December 2016
  • This function retrieves the server's HTTP port. An integer corresponding to the server's HTTP port.
    581 bytes (65 words) - 09:45, 21 June 2019
  • This function determines a spawnpoint's parent element, and announces its ID: theSpawnGroup = getElementParent ( source ) -- get the spawnpoint's parent element
    2 KB (196 words) - 13:51, 6 August 2016
  • This function gets the position of a vehicle's turret, if it has one. Vehicles with turrets include firetrucks and tanks. Returns two [[float]]s for the X (horizontal) and Y (vertical) axis rotation respectively. These v
    1 KB (196 words) - 23:35, 17 December 2014
  • This event is triggered when a player's voice sound is resumed using [[setSoundPaused]]. This example outputs nick of whoever's voice is resumed.
    782 bytes (93 words) - 13:24, 7 May 2017
  • ...blocked. It will only be blocked if there is an obstacle within a player's target range. ...hree floats, ''x'',''y'',''z'', representing the position where the player's target collides, or false if it was unsuccessful.
    771 bytes (98 words) - 16:28, 13 February 2015
  • if type(pattern) ~= 'string' then check('s', pattern) end local types = {s = "string", n = "number", b = "boolean", f = "function", t = "table", u = "
    2 KB (216 words) - 23:03, 17 July 2018
  • local s = size/2 ...terialLine3D(x+(XUP*s), y+(YUP*s), z+(ZUP*s), x-(XUP*s), y-(YUP*s), z-(ZUP*s), material, size, color)
    1 KB (198 words) - 17:43, 7 August 2019
  • Returns a float indicating the element's health, or ''false'' if invalid arguments were passed. ...ealth of the player who enters the command 'showhealth', and their vehicle's health.
    1 KB (169 words) - 20:16, 11 August 2018
  • This event is triggered when a player's voice sound is paused using [[setSoundPaused]]. This example outputs nick of whoever's voice is paused.
    775 bytes (93 words) - 14:45, 8 July 2014
  • <syntaxhighlight lang="lua">string hsv2rgb ( int h, int s, int v)</syntaxhighlight> * '''s:''' Wartość 'saturation' (0-100).
    1 KB (176 words) - 19:35, 4 April 2018
  • * '''color''': An integer indicating the vehicle's [[Vehicle Colors|color(s)]] (seperated by commas). * '''upgrades''': An integer representing the vehicle's mod upgrade(s) (seperated by commas), defined in San Andreas\data\maps\veh_mods\veh_mods.
    3 KB (384 words) - 06:57, 1 January 2022
  • *'''theBlip:''' The blip who's color you wish to set. *'''red:''' The amount of red in the blip's color (0 - 255).
    2 KB (282 words) - 19:39, 20 July 2019
  • *'''width:''' The collision cuboid's width. *'''depth:''' The collision cuboid's depth.
    2 KB (175 words) - 14:09, 25 October 2020
  • This function gets a [[client]]'s name (a client can either be a [[player]] or an admin). Returns a ''string'' containing the requested client's name, or ''false'' if the client passed to the function is invalid.
    1 KB (144 words) - 16:17, 13 February 2015
  • This example stops the resource if it's archived. ...the resource if it's archived by using the object oriented method. '''(It's important to note that you need to enable OOP in meta.xml to use this)'''
    2 KB (214 words) - 03:13, 12 August 2023
  • *'''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
  • ...creates an object then get's the mass and set's its mass 300 more than it's original mass, then tell the client the old and new mass of the object.
    1 KB (133 words) - 23:08, 4 October 2014
  • This function allows retrieval of the position a player's target range begins, when he is aiming with a weapon. Returns three floats, x,y,z, representing the position where the player's target starts, or false if it was unsuccessful.
    701 bytes (89 words) - 22:18, 1 October 2016
  • ...s:''' A boolean deciding whether the ''enabled'' parameter will affect GTA's internal controls. ...s:''' A boolean deciding whether the ''enabled'' parameter will affect MTA's own controls., e.g. chatbox.
    2 KB (275 words) - 08:43, 4 November 2020
  • '''Example 1:''' This client side function outputs the player's current location to the console. -- get the local player's position
    1 KB (183 words) - 16:19, 8 April 2024
  • ...creates an object then get's the mass and set's its mass 300 more than it's original mass, then tell the client the old and new mass of the object.
    986 bytes (126 words) - 16:52, 19 March 2016
  • Returns a string containing the account's name, ''false'' if the account does not exist or an invalid argument was pa function outputOnLogin ( previous_account, current_account, auto_login ) -- s عندما الاعب يسجل الدخول
    1 KB (90 words) - 20:08, 11 April 2021
  • ***'''posX:''' Absolute X position of the renderer's bounding box. ***'''posY:''' Absolute Y position of the renderer's bounding box.
    2 KB (286 words) - 15:55, 28 April 2020
  • This function returns a [[string]] containing the current mode of the player's camera. ..."..getCameraMode( targetPlayer ), source ) -- Output the state of player's camera
    1 KB (134 words) - 16:24, 13 February 2015
  • local account = getAccount ( username, password ) --s العودة إلى الحساب if ( account ~= false ) then --s اذا هذا الحساب موجود ثم
    2 KB (123 words) - 14:09, 12 April 2021
  • ...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
  • *'''red:''' The amount of red in the text item's color (0 - 255). *'''green:''' The amount of green in the text item's color (0 - 255).
    1 KB (181 words) - 21:15, 29 October 2023
View (previous 100 | ) (20 | 50 | 100 | 250 | 500)