Search results

Jump to navigation Jump to search
  • 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
  • ...umn), "Bad argument @ 'guiGridListAddPlayers' [Expected number at argument 2, got " .. tostring(Column) .. "]") if (type(Section) ~= "boolean") then
    3 KB (288 words) - 22:07, 12 December 2020
  • ** For ''userdata'': userdata(''MTA element type'') "''value''" if type(v) == "string" and k < #arg and v:sub(1,1) == "-" then
    9 KB (1,249 words) - 20:29, 23 September 2016
  • Returns 2 values: if type(timerName) ~= "string" then
    6 KB (640 words) - 19:13, 26 January 2021
  • ...ng" or (isElement(team) and getElementType(team) == "team"), "Bad argument 2 @ isPlayerInTeam [nil/string/team expected, got " .. tostring(team) .. "]") ...layerTeam(player) == (type(team) == "string" and getTeamFromName(team) or (type(team) == "userdata" and team or (getPlayerTeam(player) or true)))
    2 KB (222 words) - 12:40, 15 July 2014
  • 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
  • ...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
  • Returns 2 values: if type(width) ~= "number" then
    6 KB (656 words) - 22:13, 28 February 2021
  • * 2<small>nd</small> table: <code style='color: green'> {<b>'file.ext'</b>, <b> ...he @getFilesInResourceFolder function should only be used on server-side', 2) end
    8 KB (976 words) - 19:29, 27 September 2023
  • *'''sirenType:''' An integer between 1 and 6 (1: invisible, 2: single, 3+: dual) *'''flag360:''' Visible from all directions (applies to single type only)
    2 KB (227 words) - 10:54, 11 October 2021
  • ...string", "Bad argument 1 @ convertTextToSpeech [ string expected, got " .. type(text) .. "]") ..., "Bad argument 2 @ convertTextToSpeech [ table/element expected, got " .. type(broadcastTo) .. "]")
    6 KB (752 words) - 17:48, 8 May 2020
  • 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
  • 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
  • bool ircBan ( ircbot theBot, string channel, string user, [ int formatType = 2, string reason = "" ] ) *'''formatType:''' The ban mask type which should be used for banning. A list can be found in {{ml_birc|ircForma
    2 KB (289 words) - 16:23, 15 August 2009
  • ...the argument's name as in the argument list above, NOT the argument's data type --> setCursorPosition (screenX/2, screenY/2) --set the cursor position to the center of the screen
    1 KB (178 words) - 10:43, 30 January 2022
  • ...ean", "Bad argument 2 @ guiSetStaticImageMovable [boolean expected, got "..type(state).."]") guiSetPosition(yl,x-lx[1],y -lx[2],false);
    2 KB (292 words) - 23:47, 16 June 2020
  • if type(pattern) ~= 'string' then check('s', pattern) end local t = #arg > 0 and type(arg[i])
    2 KB (216 words) - 23:03, 17 July 2018
  • |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
  • ...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 *'''2:''' TASK_PRIORITY_EVENT_RESPONSE_NONTEMP
    2 KB (291 words) - 08:31, 19 July 2009
  • Returns a dgs-dxeffect3d element (DGS Plugin Type)[ shader (Element Type) ] if succeed, ''false'' otherwise edit2 = DGS:dgsCreateEdit(0,400,200,50,"DGS 3D Effect Edit 2",false,img)
    1 KB (167 words) - 17:29, 24 August 2020
View ( | ) (20 | 50 | 100 | 250 | 500)