Search results

Jump to navigation Jump to search
  • if (type(x) ~= "number") or (type(y) ~= "number") then _width = (type( _width ) == "number" and _width) or 1
    2 KB (297 words) - 14:21, 6 October 2017
  • ...function is used to get the current clothes texture and model of a certain type on a [[player]]. *'''clothesType:''' The type/slot of clothing you want to get.
    1 KB (165 words) - 16:17, 13 February 2015
  • ...function is used to get the current clothes texture and model of a certain type on a [[ped]]. *'''clothesType:''' The type/slot of clothing you want to get.
    1 KB (179 words) - 10:48, 22 September 2018
  • if type(x) ~= "number" or type(y) ~= "number" or type(z) ~= "number" then local radius2 = radius/math.sqrt(2)
    2 KB (331 words) - 17:35, 8 March 2020
  • '''Note:''' If 2 teams has the same color, then the first one found will be returned! not r or type(r)~="number" or r<0 or r>255 or
    1 KB (163 words) - 11:23, 28 September 2013
  • *'''2: change''' - Change in memory usage in the last 5 seconds. *'''2: change'''
    2 KB (350 words) - 12:42, 25 January 2024
  • ** '''2''' or '''mph''': miles per hour (used in some English-speaking countries). ...theElement), "Bad argument 1 @ getElementSpeed (element expected, got " .. type(theElement) .. ")")
    4 KB (508 words) - 10:43, 3 June 2020
  • 2. There are 2 versions of G2D: *'''2) Client-sided G2D hooker (G2D Hooker)'''
    3 KB (386 words) - 11:12, 8 May 2022
  • ==Example 2== This example toggles vehicle fuel tank explodable when the player type ''fueltank'' in the chat.
    1 KB (158 words) - 07:32, 16 February 2013
  • hex = (type(hex) == 'number') and '0x'..('%x'):format(hex):gsub('%l', string.upper) or local r = tonumber('0x'..hex:sub(2,2)..hex:sub(2,2))
    2 KB (265 words) - 14:18, 27 August 2021
  • 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
View ( | ) (20 | 50 | 100 | 250 | 500)