Search results

Jump to navigation Jump to search
  • for i=0,sx-1 do --From 0th pixel to 3th pixel in tab[i+1] = {} --Define a table
    1 KB (187 words) - 12:18, 6 March 2019
  • for i=1,10 do DGS:dgsCreateLabel ( math.random(0,1),math.random(0,1),0.2,0.1, "Hello world"..i, true ) --Create Labels without storing into variables.
    975 bytes (127 words) - 16:50, 23 March 2022
  • guiGridListSetItemText(gridlist,guiGridListAddRow(gridlist),1,getPlayerName(v),false,false) if(string.find(guiGridListGetItemText(gridlist,b,1),"a",1,true))then
    1 KB (176 words) - 21:15, 7 November 2018
  • ...ogress:''' current animation progress you want to apply, value from 0.0 to 1.0, if not supplied will default to 0.0 setTimer( animRender, 50, 1, ped1 )
    1 KB (160 words) - 00:45, 8 July 2018
  • {{New feature/item|3.0158|1.5.7|20383| Returns a [[float]] between 0 (full release) and 1 (full push) indicating the amount the control is pushed.
    2 KB (191 words) - 01:30, 12 December 2023
  • 260 bytes (21 words) - 12:01, 22 June 2017
  • return self:sub(1,str2)..str1..self:sub(str2+1) return str1:sub(1,pos)..str2..str1:sub(pos+1)
    2 KB (205 words) - 04:20, 7 June 2020
  • for i=1,500 do DGS:dgsGridListSetItemText(gridlist,row,1,i.."-1")
    1 KB (159 words) - 06:41, 19 April 2021
  • ...posZ, float dirX, float dirY, float dirZ [, float force = 1.0, int count = 1, ...oat acrossLineZ = 0.0, bool blur = false, float spread = 1.0, float life = 1.0 ] )
    3 KB (345 words) - 09:59, 21 June 2019
  • ...r), "Bad argument @ 'isLastExecuteInTimer' [Expected lua-timer at argument 1, got "..(type(theTimer)).."]") return ({getTimerDetails(theTimer)})[2] == 1
    1 KB (151 words) - 11:44, 29 October 2023
  • {{New feature/item|3.0150|1.5|| *'''value:''' A value indicating whether to enable ("1") the property or not ("0")
    1 KB (139 words) - 14:43, 8 April 2020
  • n = n + 1 a = { 1 }
    3 KB (366 words) - 14:27, 15 April 2013
  • local box = physicsCreateShape(physics, "box", 1) physicsApplyVelocity(notATable , 0,0,10, 0,1,0)
    1,023 bytes (112 words) - 11:33, 14 February 2020
  • local num = math.clamp(50, 1, 100) local num = math.clamp(-10, 1, 100)
    967 bytes (131 words) - 17:43, 2 August 2023
  • TabPanel[1] = CustomTabPanel.create(5, 25, 240, 50, false, Window) for i = 1, 3 do
    1 KB (111 words) - 06:09, 27 July 2018
  • {| border="1" | {{Clothes|index=1|type=9|model=9gun|texture=9GUN}}
    403 bytes (50 words) - 17:18, 19 July 2016
  • ...ispiel setzt alle Fahrzeuge, welche einen Fahrer besitzen in die Dimension 1, alle anderen werden in Dimension 0 gesetzt. Das hat den Sinn, dass alle Fu ...setElementDimension ( source, 1 ) -- Der Spieler wird in Dimension 1 gesetzt.
    2 KB (258 words) - 14:18, 27 March 2013
  • <syntaxhighlight lang="lua">string utf8.sub ( string input [, int i = 1, int j = utf8.len( input ) ] )</syntaxhighlight> local output = utf8.sub( input, 1, 4 )
    2 KB (229 words) - 10:05, 13 May 2017
  • ...lled up or down. This can be either '''1''' (mouse was scrolled up) or '''-1''' (mouse was scrolled down). outputChatBox( "You scrolled mouse wheel " .. ( up_down == 1 and "UP" or "DOWN" ) .. " on " .. getElementType( source ) )
    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). outputChatBox( "You scrolled mouse wheel " .. ( up_down == 1 and "UP" or "DOWN" ) .. " on " .. getElementType( source ) )
    1,008 bytes (141 words) - 14:28, 15 August 2018
View ( | ) (20 | 50 | 100 | 250 | 500)