Search results
Jump to navigation
Jump to search
- {| border="1" | {{Clothes|index=0|type=1|model=head|texture=player_face}}2 KB (242 words) - 17:05, 19 July 2016
- {| border="1" | {{PL/Clothes|index=0|type=1|model=head|texture=player_face}}2 KB (275 words) - 17:14, 19 July 2016
- {| border="1" | {{UK/Clothes|index=0|type=1|model=head|texture=player_face}}2 KB (283 words) - 13:23, 23 April 2018
- {| border="1" | {{Clothes|index=0|type=14|model=watch|texture=watchpink}}777 bytes (91 words) - 17:29, 19 July 2016
- {| border="1" | {{Clothes|index=0|type=15|model=grouchos|texture=groucho}}1 KB (132 words) - 17:08, 19 July 2016
- {| border="1" | {{Clothes|index=0|type=13|model=neck|texture=dogtag}}767 bytes (91 words) - 17:11, 19 July 2016
- {| border="1" | {{Clothes|index=0|type=12|model=12angels|texture=12ANGEL}}434 bytes (50 words) - 17:24, 19 July 2016
- {| border="1" | {{Clothes|index=0|type=3|model=feet|texture=foot}}2 KB (283 words) - 15:44, 29 April 2021
- {| border="1" | {{PL/Clothes|index=0|type=14|model=watch|texture=watchpink}}813 bytes (103 words) - 17:29, 19 July 2016
- {| border="1" | {{PL/Clothes|index=0|type=15|model=grouchos|texture=groucho}}1 KB (149 words) - 17:13, 19 July 2016
- {| border="1" | {{RU/Clothes|index=0|type=15|model=grouchos|texture=groucho}}1 KB (145 words) - 03:07, 1 April 2016
- {| border="1" | {{PL/Clothes|index=0|type=13|model=neck|texture=dogtag}}803 bytes (103 words) - 17:15, 19 July 2016
- {| border="1" | {{PL/Clothes|index=0|type=3|model=feet|texture=foot}}2 KB (321 words) - 17:16, 19 July 2016
- {| border="1" | {{PL/Clothes|index=0|type=12|model=12ANGEL|texture=12angels}}452 bytes (56 words) - 22:41, 5 April 2022
- {| border="1" | {{UK/Clothes|index=0|type=14|model=watch|texture=watchpink}}873 bytes (111 words) - 13:50, 23 April 2018
- {| border="1" | {{Clothes|index=0|type=11|model=11grove|texture=11GROVE}}483 bytes (56 words) - 17:22, 19 July 2016
- {| border="1" | {{UK/Clothes|index=0|type=15|model=grouchos|texture=groucho}}1 KB (157 words) - 13:50, 23 April 2018
- {| border="1" | {{UK/Clothes|index=0|type=3|model=feet|texture=foot}}3 KB (329 words) - 13:33, 23 April 2018
- {| border="1" | {{Clothes|index=0|type=2|model=legs|texture=player_legs}}3 KB (344 words) - 17:25, 19 July 2016
- {| border="1" | {{UK/Clothes|index=0|type=13|model=neck|texture=dogtag}}865 bytes (111 words) - 13:49, 23 April 2018
- {| border="1" | {{Clothes|index=0|type=17|model=gimpleg|texture=gimpleg}}597 bytes (69 words) - 17:07, 19 July 2016
- {| border="1" | {{Clothes|index=0|type=9|model=9crown|texture=9CROWN}}403 bytes (50 words) - 17:18, 19 July 2016
- {| border="1" | {{PL/Clothes|index=0|type=11|model=11GROVE|texture=11grove}}504 bytes (63 words) - 22:44, 5 April 2022
- {| border="1" | {{PL/Clothes|index=0|type=2|model=legs|texture=player_legs}}3 KB (389 words) - 17:25, 19 July 2016
- {| border="1" | {{Clothes|index=0|type=8|model=8sa|texture=8SA}}445 bytes (56 words) - 17:17, 19 July 2016
- {| border="1" | {{PL/Clothes|index=0|type=17|model=gimpleg|texture=gimpleg}}624 bytes (78 words) - 17:13, 19 July 2016
- {| border="1" | {{UK/Clothes|index=0|type=2|model=legs|texture=player_legs}}3 KB (397 words) - 13:31, 23 April 2018
- {| border="1" | {{PL/Clothes|index=0|type=9|model=9crown|texture=9CROWN}}421 bytes (56 words) - 17:18, 19 July 2016
- {| border="1" | {{PL/Clothes|index=0|type=8|model=8sa|texture=8SA}}466 bytes (63 words) - 17:17, 19 July 2016
- {| border="1" | {{UK/Clothes|index=0|type=12|model=12angels|texture=12ANGEL}}536 bytes (68 words) - 13:48, 23 April 2018
- {| border="1" | {{Clothes|index=0|type=16|model=bandana|texture=bandred}}4 KB (418 words) - 17:09, 19 July 2016
- {| border="1" | {{UK/Clothes|index=0|type=17|model=gimpleg|texture=gimpleg}}680 bytes (86 words) - 13:53, 23 April 2018
- {| border="1" | {{PL/Clothes|index=0|type=10|model=10ls|texture=10LS}}477 bytes (64 words) - 19:14, 19 July 2016
- {| border="1" | {{UK/Clothes|index=0|type=11|model=11grove|texture=11GROVE}}582 bytes (73 words) - 13:46, 23 April 2018
- {| border="1" | {{PL/Clothes|index=0|type=16|model=bandana|texture=bandred}}4 KB (475 words) - 17:14, 19 July 2016
- {| border="1" | {{Clothes|index=0|type=5|model=5gun|texture=5GUN}}293 bytes (36 words) - 17:21, 19 July 2016
- {| border="1" | {{Clothes|index=0|type=6|model=6aztec|texture=6AZTEC}}296 bytes (36 words) - 17:27, 19 July 2016
- {| border="1" | {{Clothes|index=0|type=7|model=7cross|texture=7CROSS}}296 bytes (36 words) - 17:28, 19 July 2016
- {| border="1" | {{UK/Clothes|index=0|type=16|model=bandana|texture=bandred}}4 KB (483 words) - 13:52, 23 April 2018
- {| border="1" | {{UK/Clothes|index=0|type=8|model=8sa|texture=8SA}}536 bytes (73 words) - 13:40, 23 April 2018
- {| border="1" | {{Clothes|index=0|type=4|model=4weed|texture=4WEED}}232 bytes (29 words) - 17:27, 19 July 2016
- {| border="1" | {{Clothes|index=0|type=0|model=torso|texture=player_torso}}4 KB (511 words) - 13:18, 23 April 2018
- {| border="1" | {{PL/Clothes|index=0|type=7|model=7cross|texture=7CROSS}}308 bytes (40 words) - 17:28, 19 July 2016
- {| border="1" | {{PL/Clothes|index=0|type=5|model=5gun|texture=5GUN}}305 bytes (40 words) - 17:20, 19 July 2016
- {| border="1" | {{PL/Clothes|index=0|type=6|model=6aztec|texture=6AZTEC}}308 bytes (40 words) - 17:27, 19 July 2016
- *[[CJ Clothes\Shirt (0)|Type 0 - T-Shirt]] *[[CJ Clothes\Head (1)|Type 1 - Tête]]1 KB (187 words) - 13:27, 7 July 2016
- {| border="1" | {{UK/Clothes|index=0|type=9|model=9crown|texture=9CROWN}}503 bytes (68 words) - 13:43, 23 April 2018
- {| border="1" | {{UK/Clothes|index=0|type=10|model=10ls|texture=10LS}}563 bytes (76 words) - 13:45, 23 April 2018
- {| border="1" | {{PL/Clothes|index=0|type=0|model=torso|texture=player_torso}}4 KB (579 words) - 13:19, 23 April 2018
- {| border="1" | {{UK/Clothes|index=0|type=0|model=torso|texture=player_torso}}4 KB (579 words) - 13:18, 23 April 2018
- {| border="1" | {{RU/Clothes|index=0|type=0|model=torso|texture=player_torso}}4 KB (579 words) - 13:19, 23 April 2018
- {| border="1" | {{PL/Clothes|index=0|type=4|model=4weed|texture=4WEED}}241 bytes (32 words) - 17:26, 19 July 2016
- *[[CJ Clothes\Shirt (0)|Type 0 - Shirt]] *[[CJ Clothes\Head (1)|Type 1 - Head]]1 KB (203 words) - 07:22, 1 January 2022
- *[[CJ Clothes\Shirt (0)|Type 0 - Shirt]] *[[CJ Clothes\Head (1)|Type 1 - Frisur]]1 KB (197 words) - 13:07, 23 April 2018
- *[[CJ Clothes\Shirt (0)|Type 0 - Shirt]] *[[CJ Clothes\Head (1)|Type 1 - Frisur]]1 KB (200 words) - 14:01, 22 March 2020
- Returns a MySQL null type. MySQL NULL and lua nil are different concepts, and a table row can contain A MySQL NULL type.868 bytes (123 words) - 18:08, 5 January 2011
- {| border="1" | {{UK/Clothes|index=0|type=6|model=6aztec|texture=6AZTEC}}400 bytes (54 words) - 13:38, 23 April 2018
- {| border="1" | {{UK/Clothes|index=0|type=7|model=7cross|texture=7CROSS}}400 bytes (54 words) - 13:39, 23 April 2018
- {| border="1" | {{UK/Clothes|index=0|type=5|model=5gun|texture=5GUN}}395 bytes (54 words) - 13:37, 23 April 2018
- {{New feature/item|3.0150|1.5.0|7048| This function returns the type for a [[Element/Light|light]] element.693 bytes (80 words) - 21:11, 7 May 2017
- if ( elements[0].Stream != 0 || elements[0].Type != D3DDECLTYPE_D3DCOLOR || elements[0].Usage != D3DDECLUSAGE_COLOR ) ...ments[1].Stream != 1 || elements[1].Type != D3DDECLTYPE_FLOAT3 || elements[1].Usage != D3DDECLUSAGE_POSITION )2 KB (165 words) - 13:35, 14 May 2017
- {| border="1" | {{UK/Clothes|index=0|type=4|model=4weed|texture=4WEED}}331 bytes (46 words) - 13:35, 23 April 2018
- <syntaxhighlight lang="lua">int mathNumber ( int num, int integer [, string type = "+"] )</syntaxhighlight> * '''type ''': Can be either '-' or '+'2 KB (223 words) - 20:26, 19 October 2017
- table getElementUsingData ( string key, var value, [ string type ] ) * '''type''': The [[Element|element type]] that the wanted element has.2 KB (182 words) - 10:50, 29 October 2023
- <section name="Example 1: Shared" class="both" show="true"> ...mber", "Bad argument @'formatNumber' [Expected number at argument 1 got "..type(number).."]")1 KB (186 words) - 10:57, 10 April 2024
- type( a1 ) == 'table' and type( a2 ) == 'table'3 KB (366 words) - 14:27, 15 April 2013
- if(type(arg)~="table")then return switch end ...tostring(arg[1]):len()<=2)and(tostring(arg[2]):len()<=2)then switching=arg[1] end2 KB (254 words) - 00:54, 13 May 2020
- This function returns the amount of vehicles by the given type (see [[GetVehicleType]]) as an integer value. * '''vehicleType''': The vehicle type string (see list below).4 KB (412 words) - 22:49, 11 September 2017
- Returns a value from 1 assert(type(password) == "string", "Bad argument @ getPasswordDifficulty [string expect1 KB (124 words) - 17:12, 7 April 2020
- ...ssert(theTable, "Bad argument 1 @ isValueInTable (table expected, got " .. type(theTable) .. ")") local checkIsTable = type(theTable)2 KB (276 words) - 03:12, 11 January 2020
- {{New feature/item|3.0156|1.5.5|12286|This function is used to retrieve the type of an colshape.}} *'''shape:''' The [[colshape]] you wish to get the type of.2 KB (168 words) - 09:41, 22 June 2019
- This function is used to get the clothes type and index from the texture and model. (Scans through the list of clothes for the specific type).2 KB (262 words) - 10:49, 22 September 2018
- This function is used to get the clothes type and index from the texture and model. (Scans through the list of clothes for the specific type).2 KB (262 words) - 10:49, 22 September 2018
- ...g", "Bad argument @ 'aclGroupClone' [Expected string at argument 1, got "..type(clonedGroup).."]") ...g", "Bad argument @ 'aclGroupClone' [Expected string at argument 2, got "..type(groupName).."]")3 KB (292 words) - 09:32, 29 October 2023
- This example allows the player to type the command 'giveweapons', which gives the player a weapon for every slot. giveWeapon ( player, 1, 1 )2 KB (191 words) - 21:38, 20 April 2011
- return substring:sub( 1, 1 ):upper( ) .. substring:sub( 2 ) ...ext ) == "string", "Bad argument 1 @ capitalize [String expected, got " .. type( text ) .. "]")1 KB (150 words) - 19:42, 11 June 2016
- This function is used to get the texture and model of clothes by the clothes type and index. (Scans through the list of clothes for the specific type).2 KB (260 words) - 10:14, 22 September 2018
- This function is used to get the texture and model of clothes by the clothes type and index. (Scans through the list of clothes for the specific type).2 KB (260 words) - 10:15, 22 September 2018
- ...ng", "Bad argument @ 'rangeToTable' [Expected string at argument 1, got "..type(range).."]") local st,en = tonumber(gettok(v, 1, "-")), tonumber(gettok(v, 2, "-"))1 KB (174 words) - 08:32, 29 October 2023
- Returns a dgs-dxcanvas element (DGS Plugin Type)[ render target (Element Type) ] if succeed, ''false'' otherwise ==Example 1==1 KB (150 words) - 10:34, 29 June 2023
- ...ht lang="lua">float math.absin(float x = π, float y = 0, float amplitude = 1, float period = 0)</syntaxhighlight> ...r" and period or 0)))+1)/2))*(type(amplitude) == "number" and amplitude or 1));2 KB (274 words) - 14:37, 14 December 2023
- This example adds the clientside command '''/rightrotate [value] [positions = 1]''', which will print the result from the function [[bitRRotate]]. if type(value) ~= 'number' then2 KB (225 words) - 22:03, 21 February 2016
- if ( type ( dimension ) == "number" ) then ...argument @ 'getPlayersInVehicles' [Expected number at argument 1, got " .. type ( dimension ) .. "]", 2 )2 KB (166 words) - 11:11, 10 August 2018
- This function retrieves the type of a pickup, either a health, armour or weapon pickup. *'''thePickup:''' The pickup you wish to retrieve the type of.2 KB (318 words) - 07:58, 4 November 2020
- if type(x) ~= "number" or type(y) ~= "number" or type(z) ~= "number" then local radius = radius or 12 KB (331 words) - 17:35, 8 March 2020
- ...able", "Bad argument @ 'table.copy' [Expected table at argument 1, got "..(type(tab)).."]") if (type(value) == "table") and (recursive == true) then1 KB (140 words) - 15:26, 22 February 2024
- ...to use for the animation or can be used the easing number, e.g. "Linear" = 1, "InQuad" = 2, "OutQuad" = 3, ... ..."number", "Bad argument @ 'animate' [expected number at argument 1, got "..type(f).."]")4 KB (467 words) - 21:02, 5 August 2021
- assert(type(tbl) == 'table', 'Expected table at argument 1, got '..type(tbl)) if type(v) == 'number' then983 bytes (128 words) - 15:53, 28 June 2023
- ...(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
- ...easing''': [[Easing|easing function]] do użycia w animacji, np. "Linear" = 1, "InQuad" = 2, "OutQuad" = 3, ... ..."number", "Bad argument @ 'animate' [expected number at argument 1, got "..type(f).."]")4 KB (461 words) - 19:38, 2 August 2021
- This example adds the clientside command '''/arshift [value] [positions = 1]''', which will print the result from the function [[bitArShift]]. if type(value) ~= 'number' then2 KB (273 words) - 01:10, 22 February 2016
- Returns a variable of any type from the table you specified. ==Example 1==2 KB (246 words) - 12:02, 8 October 2023
- * '''theType''': The visual type of the marker to be created. Possible values: ...ument @ 'createMarkerAttachedTo' [Expected number at argument 11, got " .. type(zOffset) .. "]")4 KB (456 words) - 19:31, 4 April 2018
- ...able", "Bad argument @ 'table.flip' [Expected table at argument 1, got "..(type(theTable)).."]") for i = 1, #theTable do1 KB (185 words) - 03:20, 22 October 2023
- This function attempts to read an unsigned byte (native type) from a file and returns it. The amount of bytes read should be one. This snippet writes a Lua type into a file stream. The lua type can be anything that can be traversed over the network. It must be context-3 KB (337 words) - 23:34, 16 January 2022
- {{New feature|3|1.0| This function retrieves the type of a vehicle (such as if it is a car or a boat).2 KB (180 words) - 17:14, 4 April 2016
- ...able", "Bad argument @ 'table.flip' [Expected table at argument 1, got "..(type(theTable)).."]") for i = 1, #theTable do2 KB (147 words) - 16:45, 21 October 2023
- This function attempts to read an unsigned byte (native type) from a file and returns it. The amount of bytes read should be one. This snippet writes a Lua type into a file stream. The lua type can be anything that can be traversed over the network. It must be context-3 KB (343 words) - 03:00, 23 January 2022
- local myLabel = guiCreateLabel ( 0, 0, 1, 1, "", true ) -- retrieve the element type1 KB (120 words) - 16:37, 8 June 2017
- for dim = 1, 60000 do function isDimFree(Type,dim)822 bytes (96 words) - 08:15, 25 November 2022
- This function is used to get the name of the current task of a certain type for a player. *'''taskType''': An integer value representing the task type (or slot) you want to get the task from. Types can be:2 KB (285 words) - 11:06, 26 June 2014
- This function allows changing the type of a pickup to a Weapon, Armour or Health pickup, and allows you to set the * '''theType''': An integer representing the type of pickup. You can choose from:4 KB (527 words) - 08:10, 4 November 2020
- ...PlayerPreviousAndNextWeapon, expected player at argument '1', received ".. type(player) .."."); maxId = maxId + 1;1 KB (113 words) - 22:20, 12 April 2021
- ...gument @'engineGetCOLsFromLibrary' expected a string at argument 1, got "..type(file)) local colVer = file:sub(1,4)2 KB (228 words) - 07:50, 27 March 2021
- * '''decrease/increase''': decrease/increase's amount (from 1 to 255). if isElement ( element ) ~= true or type ( boolean ) ~= "boolean" then return false end3 KB (262 words) - 15:54, 15 June 2018
- Returns a dgs-dxeffect3d element (DGS Plugin Type)[ shader (Element Type) ] if succeed, ''false'' otherwise local img = DGS:dgsCreateImage(0,0,1,1,_,true,sp,tocolor(0,0,0,180)) --Create an image1 KB (167 words) - 17:29, 24 August 2020
- ...rt(isElement(player) and getElementType(player) == "player", "Bad argument 1 @ isPlayerInTeam [player expected, got " .. tostring(player) .. "]") assert((not team) or type(team) == "string" or (isElement(team) and getElementType(team) == "team"),2 KB (222 words) - 12:40, 15 July 2014
- This function returns an element of the specified type with the specified index. ...element to be returned. Examples include "player", "vehicle", or a custom type.1 KB (175 words) - 19:26, 29 October 2023
- local myLabel = guiCreateLabel ( 0, 0, 1, 1, "", true ) -- retrieve the element type1 KB (195 words) - 17:20, 21 November 2018
- if ( strlen($hash) == 64 + 32 + 1 ) //-- SHA256 + type + salt874 bytes (100 words) - 13:50, 4 October 2016
- * 1 character representing the major version * 1 dot character2 KB (230 words) - 05:28, 15 July 2014
- ** '''1''' or '''km/h''': километров в час. ...theElement), "Bad argument 1 @ getElementSpeed (element expected, got " .. type(theElement) .. ")")3 KB (286 words) - 10:43, 3 June 2020
- ...mação, também é possível usar os números para a atenuação, ex.: "Linear" = 1, "InQuad" = 2, "OutQuad" = 3, ... ..."number", "Bad argument @ 'animate' [expected number at argument 1, got "..type(f).."]")4 KB (519 words) - 21:01, 5 August 2021
- {{New feature/item|3.0130|1.3.0|3968| Returns a ''table'' with the siren count, siren type and a sub table for the four flags. False otherwise.2 KB (195 words) - 22:14, 18 December 2014
- This function returns the nearest [[Element|element]] (of a specific type) to a [[Player|player]]. * '''type''': The type of the element you want to get. ("player", "ped", "object", etc.)2 KB (273 words) - 07:37, 1 November 2023
- local myLabel = DGS:dgsCreateLabel ( 0, 0, 1, 1, "", true ) -- retrieve the element type2 KB (232 words) - 21:24, 3 May 2021
- ...iangle( float x, float y, float width, float height, [int color, int width=1, bool postGUI=false ] )</syntaxhighlight> if (type(x) ~= "number") or (type(y) ~= "number") then2 KB (297 words) - 14:21, 6 October 2017
- This function attaches a trailer type vehicle to a trailer-towing-type vehicle. end, 50, 1)945 bytes (105 words) - 15:46, 13 October 2014
- ...the argument's name as in the argument list above, NOT the argument's data type --> local myLabel = guiCreateLabel ( 0, 0, 1, 1, "", true )2 KB (285 words) - 17:20, 21 November 2018
- *'''settings: ''' A table of the settings of mask (specified by mask type). Returns a dgs-dxmask element (DGS Plugin Type)[ shader (Element Type) ] if succeed, ''false'' otherwise2 KB (297 words) - 08:42, 9 February 2020
- rplight engineCreateLight ( string type ) *'''type:''' decides which type that light should have, can be '''point''', '''spot''', '''spot_soft''', ''3 KB (455 words) - 13:30, 14 March 2014
- ! ID || Upgrade Type | '''1''' || Vent620 bytes (97 words) - 10:35, 6 November 2015
- This example allows the player to type the command 'giveweapons', which gives the player a weapon for every slot. <syntaxhighlight lang="lua">local weaponIDs = {1,22,25,28,30,33,35,16,42,10,44,40} -- Weapon IDs1 KB (180 words) - 10:51, 7 August 2016
- ...ent parent = nil, int textColor = 0x000000FF, int scaleX = 1, int scaleY = 1, element bgImage = nil, int bgColor = 0xFFFFFFFF ] ) ...f this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing measures relative to the parent.2 KB (381 words) - 09:26, 17 January 2021
- ...ion', 'Bad argument @ fingerprint [Expected function at argument 1, got '..type(callback)..']') local browser = createBrowser(1, 1, true, true)3 KB (285 words) - 14:31, 21 November 2023
- ** '''1''' or '''km/h''': kilometres per hour (the most common speed unit, used in '''It is recommended to use MTA:SA 1.4''' or higher with this function to use [[OOP]].4 KB (508 words) - 10:43, 3 June 2020
- ...gument @ 'isLastExecuteInTimer' [Expected lua-timer at argument 1, got "..(type(theTimer)).."]") return ({getTimerDetails(theTimer)})[2] == 11 KB (151 words) - 11:44, 29 October 2023
- **1: *!*user@host :You can also specify a type of 10 to 19 which correspond to masks 0 to 9, but instead of using only * w2 KB (329 words) - 10:57, 30 July 2009
- This function is used to get any simple or complex [[task]] of a certain type for a ped. *'''taskType''': An integer value representing the task type (or slot) you want to get the task from. Types can be:3 KB (403 words) - 21:11, 2 January 2015
- ...lled up or down. This can be either '''1''' (mouse was scrolled up) or '''-1''' (mouse was scrolled down). ...lls player in which direction wheel was scrolled (UP or DOWN) and also the type of the DGS element that wheel was scrolled on.1,004 bytes (140 words) - 14:18, 15 August 2018
- ...lled up or down. This can be either '''1''' (mouse was scrolled up) or '''-1''' (mouse was scrolled down). ...lls player in which direction wheel was scrolled (UP or DOWN) and also the type of the GUI element that wheel was scrolled on.1,008 bytes (141 words) - 14:28, 15 August 2018
- ...the argument's name as in the argument list above, NOT the argument's data type --> ...e. If this is true, then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.3 KB (352 words) - 18:23, 16 April 2021
- ...Size' (Line "..actLine..") Expected 'resource' or 'resource-name', got '"..type(theResource).."'") (type(theResource) == 'string' and getResourceFromName(tostring(theResource)))4 KB (436 words) - 18:27, 14 November 2021
- ** For ''userdata'': userdata(''MTA element type'') "''value''" if type(v) == "string" and k < #arg and v:sub(1,1) == "-" then9 KB (1,249 words) - 20:29, 23 September 2016
- ...t @ 'getPositionInFrontOfElement' [Expected element at argument 1, got "..(type(theElement)).."]")2 KB (218 words) - 11:06, 21 February 2024
- This example allows a player to type the command 'beefcake' to change his player's BODY_MUSCLE stat (#23) to the 69 = Weapon Type Pistol Skill3 KB (412 words) - 17:51, 20 September 2021
- assert(type(t) == 'table', 'check argument 1 table got '..tostring(t)) assert(type(f) == 'function', 'check argument 2 function got '..tostring(f))3 KB (379 words) - 05:01, 13 April 2024
- assert(getElementType(Element) == 'gui-staticimage', "Bad argument 1 @ guiSetStaticImageMovable [gui-staticimage expected, got "..getElementType ...ean", "Bad argument 2 @ guiSetStaticImageMovable [boolean expected, got "..type(state).."]")2 KB (292 words) - 23:47, 16 June 2020
- *'''1: name''' -- Name of the resource, except for "Lua VM totals" which is all c *'''1: name''' This category is only used by developers.2 KB (350 words) - 12:42, 25 January 2024
- ...I. Plase feel free to fix it by using another public and reliable TTS API.|1}} ...string", "Bad argument 1 @ convertTextToSpeech [ string expected, got " .. type(text) .. "]")6 KB (752 words) - 17:48, 8 May 2020
- *'''effect3d: ''' A dgs-dxeffect3d element (DGS Plugin Type) local img = dgsCreateImage(0,0,1,1,_,true,sp,tocolor(0,0,0,180)) --Create an image1,015 bytes (120 words) - 18:08, 9 January 2020
- Returns a dgs-dxblurbox element (DGS Plugin Type)[ shader (Element Type) ] if succeed, ''false'' otherwise DGS:dgsAttachElements(blurArea,window,0,0,1,1,true,true) --Attach Blur Box Renderer to Window3 KB (337 words) - 12:40, 7 May 2022
- ...or=white, bool postGUI=false, bool absoluteAmount=false, int anglesPerLine=1] )</syntaxhighlight> ...alues from 0-360 instead of 0-1. By default it uses float values from 0 to 1.5 KB (715 words) - 05:35, 3 March 2023
- *'''PrimitiveType:''' D3DPRIMITIVETYPE type --. ...only works if the original has 3 decl elements (0:D, 1:P, 1:T) and stream 1 has a stride of 202 KB (169 words) - 13:25, 14 May 2017
- if ( type ( aRow ) == "table" and #aRow == 0 ) or not aRow then return {""} end return fromJSON ( aRow [1] [ "myTable" ] )1 KB (146 words) - 10:20, 8 December 2020
- ...is used to retrieve a list of all elements in a colshape, of the specified type. ...emType:''' The type of element you want a list of. This can be any element type, the common ones being:2 KB (299 words) - 17:10, 20 September 2021
- ...s come from the file called: [[Chatboxpresets.xml]] but it depends on what type of preset you currently have, which is chosen from your settings in the 'In **{{Added feature/item|1.6.0|1.5.9|21160|'''chat_text_outline''' - Returns whether text black/white outlin3 KB (415 words) - 19:15, 12 April 2022
- Creates an explosion of a certain type at a specified point in the world. If creator is specified, the explosion w *'''theType:''' an integer specifying the explosion type, see: [[Explosion types]]6 KB (763 words) - 11:44, 11 January 2024
- This function is useful for '''for''' loops. You don't have to type ''ipairs( getElementsByType( "player" ) )'' but simply ''iterElements( "pla * '''elementType''': Type of the elements that you want to iterate through.1 KB (163 words) - 08:14, 29 October 2023
- return self.file:sub(offset+1,offset+bytes) return self.cachedString:sub(readStart-cacheStart+1,readEnd-cacheStart)5 KB (569 words) - 04:36, 22 December 2022
- ...f this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing measures relative to the parent. ===Element Type===2 KB (310 words) - 08:09, 30 October 2023
- ...nha "..linhaAtual..") Esperado um resource ou nome de resource, obtido '"..type(theResource).."'") (type(theResource) == 'string' and getResourceFromName(tostring(theResource)))4 KB (454 words) - 22:08, 21 February 2021
- *'''allowedType:''' The allowed right type. Possible values are ''general'', ''function'', ''resource'' and ''command' count = count + 11 KB (193 words) - 08:36, 5 February 2021
- 1. G2D aims to convert GUI to DGS without a lot of complex steps. *'''1) Server-sided G2D script converter (G2DSC)'''3 KB (386 words) - 11:12, 8 May 2022
- In this example, if a player were to type /interior 1, they would be teleported into this interior ...did, so lets assign them to that interior and teleport them there (all in 1 function call!)3 KB (350 words) - 13:55, 6 August 2016
- ...GS_ComponentSelector.png|350px|thumb|Component Selector in different color type and color attribute]] *'''colorType''': The color type. Available values are as follows:5 KB (573 words) - 18:27, 29 March 2022
- *'''relative:''' A bool of whether the position of grid is ranging from 0 to 1 ( relative to the resolution of texture ) or just absolute pixels Returns a dgs-dxnineslice (DGS Plugin Type)[ dgs-dxcustomrenderer(Element Type) ] if succeed, ''false'' otherwise1 KB (176 words) - 17:31, 10 May 2022
- outputDebugString("isMouseInRing: Required arguments are missing", 1); outputDebugString("isMouseInRing: Cursor is not showing!", 1); -- Remove this line if you know your cursor shouldn't always be showing.7 KB (995 words) - 18:06, 17 January 2018
- '''Example 1:''' This example displays a chat message when a player enters the colshape local claymoreObject = createObject ( 1945, x, y, z - 1, 0, 0, 90 ) --create an object which looks like a claymore3 KB (429 words) - 09:26, 6 November 2023
- if type(pattern) ~= 'string' then check('s', pattern) end for i=1, #pattern do2 KB (216 words) - 23:03, 17 July 2018
- *'''luasource:''' type '''file''' the file content *'''compile:''' type '''value''' set to 1 to enable compilation7 KB (864 words) - 01:12, 8 August 2023
- * '''type:''' A string representing the type of this field. '''Example 1:''' This example shows how to print the rows of a result set showing the fi2 KB (372 words) - 18:02, 5 January 2011
- if ( isElement(list) ) and ( getElementType(list) == "gui-gridlist" ) and ( type(name) == "string" ) then local colum = tonumber(colum) or 11 KB (130 words) - 09:23, 24 March 2013
- ...er specifying how deep the table should be mapped. If depth is for example 1 table.map will map the passed table and all tables that are in that given t ...value) == "table" and depth ~= 0) then tab[key] = table.map(value, depth - 1, func, ...)2 KB (270 words) - 08:55, 29 October 2023
- ...GS_ComponentSelector.png|400px|thumb|Component Selector in different color type and color attribute]] ...f this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.2 KB (333 words) - 07:41, 4 October 2019
- ...ror("Bad argument @ 'guiGridListAddPlayers' [Expected gridlist at argument 1, got " .. tostring(GridList) .. "]") if (type(Section) ~= "boolean") then3 KB (288 words) - 22:07, 12 December 2020
- -- Ensure the argument has got the appropiate type ...== "string", "Bad argument @ unbindControlKeys [string expected, got " .. type(control) .. "]")6 KB (801 words) - 13:28, 14 November 2014
- <section name="Code 1" class="both" show="true"> assert (type (text) == "string", "Bad argument 1 @ removeHex [String expected, got "..tostring(text).."]")3 KB (344 words) - 05:23, 11 February 2024
- if (type(old) == "string") and (type(new) == "string") then ...outputDebugString("Failed to rename ACL Group 'Moderator' to 'HassoN'.", 1)2 KB (218 words) - 10:04, 29 October 2023
- |Breakable glass type 1: glass object changes its textures when breaking. |Breakable glass type 2: glass object doesn't change its textures when breaking.2 KB (323 words) - 13:07, 20 April 2023
- if not str or type(str) ~= "string" then return false end for i=1,string.len(str) do1 KB (182 words) - 22:00, 11 January 2013
- ...naged by the engine Streaming GC system. Returns '''false''' if the entity type is not being managed at all, entity does not have a visible game representa local num = 1;1 KB (180 words) - 08:17, 28 September 2023
- '''Пример 1:''' Использование функции Lua [https://uopilot.uokit.co local x = str * 14 KB (182 words) - 10:05, 20 April 2021
- <data name="position" type="coord3d" default="0,0,0" /> <marker size="0.5" type="corona" color="#ffff00ff" />15 KB (1,945 words) - 14:37, 24 October 2018
- '''Example 1:''' This example displays a chat message when a player enters the colshape local claymoreObject = createObject ( 1945, x, y, z - 1, 0, 0, 90 ) --create an object which looks like a claymore4 KB (525 words) - 17:40, 9 October 2018
- ...of the relative radius of corner of the rounded rectangle ranges from 0 to 1 '''if relative is true''', or the radius will be absolute pixels. Returns a dgs-dxroundrectangle element (dgs Type)/ shader (element Type) if succeed, ''false'' otherwise4 KB (521 words) - 08:05, 1 March 2023
- {{New feature/item|3.0152|1.5.2||This function allows the window to flash in the Windows taskbar.}} setTimer(setWindowFlashing, 1000, 1, true, 3)1 KB (199 words) - 18:37, 24 January 2016
- ...f this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent. '''Example 1:''' This example creates a information window and adds two tabs to a "tabPa4 KB (546 words) - 08:10, 30 October 2023
- {{New feature/item|3.0135|1.3.5|6101| *'''roomID:''' The room type which you want disable or enable the furniture in:905 bytes (109 words) - 14:03, 4 October 2016
- ...t[3], "From: ".$input[1]."\n" . "Content-Type: text/html; charset=iso-8859-1\n");2 KB (217 words) - 10:17, 20 July 2014
- table wordWrap( string text, float maxwidth, [float scale=1, mixed font="default", bool bColorCoded=false] ) * '''scale:''' The size of the text, as in [[dxGetTextWidth]]. Defaults to 1.5 KB (670 words) - 16:32, 31 May 2020
- ...ans behave. Every action a player or pedestrian performs is a task of some type. Each player can have a number of primary and secondary tasks. Primary task *'''1:''' TASK_PRIORITY_EVENT_RESPONSE_TEMP2 KB (291 words) - 08:31, 19 July 2009
- ! Explosion type !! MTA description !! Reference !! Occurrence | 1 || Molotov || CProjectileInfo::RemoveNotAdd <br> CProjectileInfo::RemovePro3 KB (381 words) - 14:28, 11 January 2024
- local myLabel = guiCreateLabel ( 0, 0, 1, 1, "", true ) --retreive the element type3 KB (393 words) - 13:54, 5 June 2021
- *1. Get into the folder "'''DGS/plugin/'''", and create a file named "'''myPlu ...nder this line, insert a new line "'''<script src="plugin/myPlugin.lua" type="client" >'''"6 KB (797 words) - 03:56, 9 March 2022
- * '''icon:''' A string referring to the type of icon, acceptable values are: local newMarker = createMarker ( 0, 0, 2, "checkpoint", 1, 255, 0, 0)806 bytes (105 words) - 13:02, 10 October 2023
- ...oAdd , time, int red = 255, int green = 255, int blue = 255, float scale = 1, string text, [ float x, float y, string alignX = "left", string alignY = " ...extdisplay ,number of milliseconds (the minimum is 50)(1000 milliseconds = 1 second)'''4 KB (602 words) - 22:58, 25 April 2013
- if t and type(t)=="table" then -- Do checks for validity if (not isElement(v)) or (type(v) ~= "team") then2 KB (285 words) - 23:39, 21 June 2014
- {{New feature/item|3.0130|1.3.0|3968| *'''sirenType:''' An integer between 1 and 6 (1: invisible, 2: single, 3+: dual)2 KB (227 words) - 10:54, 11 October 2021
- * 1<small>st</small> table: <code style='color: green'> {<b>'Folder1/Folder2/fi if not (type(path) == 'string') then8 KB (976 words) - 19:29, 27 September 2023
- *'''var:''' An argument of any type. Arguments that are elements will be stored as element IDs that are liable {{New feature/item|3.0150|1.5||2 KB (245 words) - 11:47, 4 July 2022
- Returns type of physics-element local shape = physicsCreateShape(physics, "box", 1)1 KB (95 words) - 19:11, 19 February 2020
- ...parent = nil, int textColor = 0xFFFFFFFF, float scaleX = 1, float scaleY = 1, float shadowOffsetX = nil, float shadowOffsetY = nil, int shadowColor = ni ...f this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent.5 KB (677 words) - 12:09, 16 February 2021
- ...the argument's name as in the argument list above, NOT the argument's data type --> ...nej. Jeśli ''true'', to wartość powinna znajdować się w przedziale od 0 do 1.2 KB (268 words) - 21:40, 28 July 2019
- local myLabel = guiCreateLabel ( 0, 0, 1, 1, "", true ) --retreive the element type5 KB (589 words) - 10:10, 13 May 2017
- This function attempts to read an integer (native type) from a file and return it. The amount of bytes read should be four. [[return 1+1==0;]]2 KB (245 words) - 03:01, 23 January 2022
- This function attempts to read an integer (native type) from a file and return it. The amount of bytes read should be four. [[return 1+1==0;]]2 KB (239 words) - 23:36, 16 January 2022
- count = count + 1 outputChatBox("Please type in a acl that you want to retrieve the rights from.",player)1 KB (126 words) - 07:05, 6 February 2021
- *'''parameterType:''' A string of the parameter type you want to attach. if input == getPlayerName(player):sub(1,#input) then974 bytes (112 words) - 10:48, 10 March 2024
- for i=1, #attachedFunctions do if type(timerName) ~= "string" then6 KB (640 words) - 19:13, 26 January 2021
- ;connectiontype:Sets the connection type (Can be either "lan", "dsl" or "modem") .../Hides the debugwindow at a given debug-level (Acceptable values: 0 = off; 1 = errors; 2 = errors,warnings; 3 = errors,warnings and info messages)2 KB (309 words) - 15:57, 24 July 2018
- ...Always check if this works with a function before using it in a script'''.|1}} if type( text ) == "string" or type( text ) == "nil" then -- Check if correct arguments have been provided4 KB (628 words) - 16:52, 4 August 2023
- ...version (depending where the function was called) in textual form, e.g. ''"1.0"'' *'''type:''' the type of build. can be:3 KB (452 words) - 19:13, 14 January 2022
- if ( type ( Results ) == "table" and #Results == 0 or not Results ) then setTableToSql( 1, Table)1 KB (157 words) - 00:38, 14 December 2018
- ...yer's camera to follow other elements instead. Currently supported element type is: <section name="Client 1" class="client" show="true">3 KB (398 words) - 12:36, 8 November 2018
- if ( type ( Results ) == "table" and #Results == 0 or not Results ) then setTableToSql( 1, Table)1 KB (155 words) - 00:17, 14 December 2018
- ...t of type "flag" (e.g. <flag />) in the .map file, the using "flag" as the type argument would find it. ...s the tag name in the .map file, so this can be used with a custom element type if desired. Built in types can be found here: [[Element]]6 KB (823 words) - 20:00, 14 October 2018
- {{New feature/item|3.0141|1.4.0|6987|{{OOP||[[element]]:getRadius|radius}}}} *'''theElement:''' The element to get the radius of. It can be any entity type, such as:1 KB (143 words) - 13:53, 31 December 2014
- * '''theType''': This is an integer representing the type of pickup, representing the following types: ** '''1''': Armour Pickup3 KB (475 words) - 19:32, 21 May 2023
- assert(id, "Bad argument 1 @ isValidSkin [Number expected, got " .. type(i) .. "]")1 KB (142 words) - 13:08, 31 May 2021
- ...ourite servers manually. Coreconfig.xml is located in your MTA San Andreas 1.x\MTA\ folder with another file called [[Chatboxpresents.xml]]. *'''chat_input_color''' - Background of the line shown when you type text (displayed when you press T or Y)18 KB (2,145 words) - 20:10, 7 March 2021
- ...yer's camera to follow other elements instead. Currently supported element type is: <section name="Client 1" class="client" show="true">3 KB (398 words) - 18:03, 12 March 2024
- ...f this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes relative to the parent. ...то значения аргументов ''x, y, width'' и ''height'' должны быть между 0 и 1, относительны к размеру родителя.5 KB (486 words) - 17:43, 21 December 2015
- ...s these types of markers. It is recommended you keep the position at least 1 game unit above the ground to avoid issues.}} {{Warning|"cylinder" marker type doesn't have the same size for collisions and visible textures. Note that t5 KB (695 words) - 12:39, 10 October 2023
- *'''parent:''' The parent tab panel, as a tab panel [[element]] type local tabPanel = guiCreateTabPanel ( 0, 0.1, 1, 1, true, myWindow ) --create a tab panel which fills the whole window2 KB (222 words) - 08:10, 30 October 2023
- <data name="position" type="coord3d" default="0,0,0" /> <marker size="0.5" type="corona" color="#ffff00ff" />15 KB (1,994 words) - 00:04, 7 March 2020
- Returns the data may be in any type if successful, ''false'' otherwise end,2000,1)1 KB (122 words) - 17:27, 23 March 2022
- ...which will result in the player being rotated to a random direction every 1 second, infinite times.1 KB (148 words) - 22:13, 5 July 2014
- This function is used to retrieve a list of all elements of specified type within a range of 3D coordinates. {{Deprecated items|3.0160|1.5.9|4 KB (475 words) - 15:38, 3 May 2024
- * '''theType:''' The weapon type which can be: {{Requirements|n/a|1.3.0-9.04555|}}2 KB (263 words) - 05:17, 26 August 2021
- if type( height ) ~= "number" then return false end local ch = dxGetFontHeight( 1, font )1 KB (147 words) - 16:24, 23 August 2012
- Sets the current animation of a player or ped. Not specifying the type of animation will automatically cancel the current one. ...ped thePed [, string block, string name, float speed=1.0, float blendSpeed=1.0, float startTime=0.0, bool loop=true, bool updatePosition=true, bool inte2 KB (275 words) - 09:50, 30 January 2022
- ...float y, float z, int theType [, bool makeSound = true, float camShake = -1.0, bool damaging = true ] )7 KB (374 words) - 15:01, 16 September 2014
- ==Type== -- Create a marker (Scaled down to 1% of the actual damage otherwise we will get huge markers)4 KB (540 words) - 10:35, 30 January 2022
- Retorna duas [[PT-BR/Table|tabelas]], a 1° armazenando o nome/caminho dos arquivos obtidos, e a 2° armazenando some * 1° tabela: <code style='color: green'> {<b>'Pasta1/Pasta2/arquivo.ext'</b>,8 KB (995 words) - 00:00, 13 September 2021
- This function attempts to read a short (native type) from a file and returns it. The amount of bytes read should be two. local n = 1;2 KB (306 words) - 03:01, 23 January 2022
- This function attempts to read a short (native type) from a file and returns it. The amount of bytes read should be two. local n = 1;2 KB (300 words) - 23:35, 16 January 2022
- <data name="position" type="coord3d" default="0,0,0" /> <marker size="0.5" type="corona" color="#ffff00ff" />16 KB (1,959 words) - 14:18, 31 December 2022
- ...@setVehicleTurnVelocityCenterOfMass at argument 1, except a vehicle got "..type(veh)) ...= "vehicle", "Bad argument @setVehicleTurnVelocityCenterOfMass at argument 1, except a vehicle got "..getElementType(veh))2 KB (282 words) - 16:12, 27 January 2020
- ...dgsCreateTab ( string text, element parent [,int scaleX = 1, int scaleY = 1, int textColor = 0xFFFFFFFF, element bgImage = nil, int bgColor = 0x000000C *'''parent:''' The parent tab panel, as a tab panel [[element]] type3 KB (404 words) - 11:07, 16 February 2021
- *'''formatType:''' The ban mask type which should be used for banning. A list can be found in {{ml_birc|ircForma setTimer ( ircJoinChannel, 2000, 1, theBot, "#testchannel" )2 KB (289 words) - 16:23, 15 August 2009
- if (type(clonedGroup) ~= "string") then error("Bad argument @ 'aclGroupClone' [Expected string at argument 1, got " .. tostring(clonedGroup) .. "]")3 KB (262 words) - 22:02, 12 December 2020
- assert(type(str) == 'string', "Expected a string, got " .. type(str)) table.insert(words, 1, word)3 KB (282 words) - 05:30, 18 April 2024
- local clothesIndex = 1 if ( currentTexture ) then -- if he had clothes of that type2 KB (255 words) - 19:43, 19 July 2016
- ...@getVehicleTurnVelocityCenterOfMass at argument 1, except a vehicle got "..type(veh)) ...)=="vehicle","Bad argument @getVehicleTurnVelocityCenterOfMass at argument 1, except a vehicle got "..getElementType(veh))2 KB (292 words) - 05:46, 11 August 2019
- ** '''type:''' Typ resource, ten muze byt "gamemode", "script", "map" nebo "misc". ** '''type:''' Typ kodu: "client" nebo "server"5 KB (739 words) - 17:38, 24 September 2016
- ! Slot || class="unsortable" | Type || class="unsortable" | Image || Name || ID || class="unsortable" | Model I | [[Image:Knuckle.png]] || align="left" | Brassknuckle || 1 || 331 || -5 KB (603 words) - 22:04, 5 December 2018
- ** '''type:''' The type of this resource, that can be "gamemode", "script", "map" or "misc". ** '''type:''' The type of source code: "client", "server" or "shared".11 KB (1,648 words) - 10:43, 31 October 2023
- *'''chartType:''' A string of chart type. The available values are: ...f this is ''true'', then all x,y,width,height floats must be between 0 and 1, representing sizes/positions as a fraction of the screen size. If ''false'3 KB (391 words) - 13:50, 10 January 2023
- if (arg[1]) then if (type(value) == "number") then arg[key] = tostring(value) end3 KB (334 words) - 09:37, 24 May 2012
- ...of the vehicle will render after a specific distance (depending on vehicle type). if ( string.find( n.getName(), "_vlo", 1, true ) ) then2 KB (190 words) - 09:27, 11 December 2013
- ...gument @ 'getElementZoneFullName' [Expected element at argument 1, got "..(type(theElement)).."]")2 KB (185 words) - 06:36, 30 October 2023
- D3DVERTEXELEMENT9* declNew = &elements[ state.decl.numElements - 1 ]; declNew->Type = D3DDECLTYPE_FLOAT3;2 KB (191 words) - 13:40, 14 May 2017
- {{New feature/item|3.0157|1.5.6|14370|This function draws a 2D primitive shape across the screen - rend * '''pType:''' Type of primitive to be drawn.8 KB (1,166 words) - 06:32, 17 June 2023
- {{New items|5.0154|1.5.4-9.11412| *'''level''': the type of debug message which was outputted.2 KB (312 words) - 21:19, 9 October 2018
- *'''colorFrom''': Gradient color 1. ( Left side when '''rotation''' is 0 ) Returns a dgs-dxgradient [Element Type:shader] if successful, ''false'' otherwise.1 KB (147 words) - 04:24, 21 November 2021
- assert(y, "Bad argument 1 @ getEasterDate [Number expected, got " .. type(year) .. "]")1 KB (158 words) - 09:08, 13 June 2016
- if isElement(thePed) and isElement(theElement) and type(range) == "number" then local col = createColTube(x, y, z-1, range, 2)1 KB (185 words) - 19:14, 17 February 2015
- ...the argument's name as in the argument list above, NOT the argument's data type --> <section name="Example 1: Server" class="server" show="true">3 KB (338 words) - 06:47, 6 February 2021
- *'''databaseType:''' The type of database. This can be either ''sqlite'' or ''mysql'' ...t:''' The target to connect to. The format of this depends on the database type.8 KB (1,087 words) - 05:31, 9 February 2024