Search results

Jump to navigation Jump to search
  • {{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:15, 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:14, 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' then
    2 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 1
    2 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) then
    1 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' then
    983 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
View ( | ) (20 | 50 | 100 | 250 | 500)