Search results

Jump to navigation Jump to search
  • vehicleRPM = math.random(650, 750) vehicleRPM = math.random(9000, 9900)
    2 KB (136 words) - 22:22, 12 December 2020
  • guiLabelSetColor( pLabel, math.random( 0, 255 ), math.random( 0, 255 ), math.random( 0, 255 ) )
    969 bytes (108 words) - 11:40, 7 August 2019
  • vehicleRPM = math.random(650, 750) vehicleRPM = math.random(9000, 9900)
    2 KB (162 words) - 08:07, 29 March 2018
  • fxAddWaterHydrant(x + math.random(-5,5), y + math.random(-5,5), z) -- Using math.random, and your current location 20 water hydrants are created.
    1 KB (151 words) - 12:49, 18 August 2015
  • ...r = tocolor(math.random(0, 255), math.random(0, 255), math.random(0, 255), math.random(0, 255))
    1 KB (167 words) - 14:55, 5 August 2021
  • DGS:dgsLabelSetColor ( myLabel, math.random(0, 255), math.random(0, 255), math.random(0, 255), 255 )</syntaxhighlight> ...LabelSetColor ( myLabel, tocolor(math.random(0, 255), math.random(0, 255), math.random(0, 255), 255 ) ,true )</syntaxhighlight>
    2 KB (287 words) - 19:15, 16 January 2021
  • ...sCreateShape(physics, "box", math.random() * 5 + 1, math.random() * 5 + 1, math.random() * 2 + 1) dropShapeAtPosition(box, math.random(60),math.random(60),0)
    2 KB (249 words) - 20:29, 13 February 2020
  • ...etPedOccupiedVehicle(localPlayer), math.random(0,255), math.random(0,255), math.random(0,255) ) -- apply the color to the vehicle
    2 KB (207 words) - 14:13, 28 August 2023
  • DGS:dgsLabelSetColor( pLabel, math.random( 0, 255 ), math.random( 0, 255 ), math.random( 0, 255 ), 255 )
    1 KB (174 words) - 13:42, 4 August 2023
  • ...dxSetPixelColor (pixels, j, i, math.random (255), math.random (255), math.random (255), 255)
    2 KB (199 words) - 17:32, 1 December 2018
  • DGS:dgsCreateLabel ( math.random(0,1),math.random(0,1),0.2,0.1, "Hello world"..i, true ) --Create Labels without storing into
    975 bytes (127 words) - 16:50, 23 March 2022
  • local r, g, b = math.random(255), math.random(255), math.random(255)
    2 KB (188 words) - 16:53, 3 April 2021
  • ...dxSetPixelColor (pixels, j, i, math.random (255), math.random (255), math.random (255), 255)
    2 KB (255 words) - 22:21, 23 December 2018
  • dxSetPosition(window, math.random(screenWidth), math.random(screenHeight))
    1 KB (142 words) - 00:27, 23 March 2020
  • local window = guiCreateWindow ( 0, 0, (math.random ( 0, 100 ) / 100), (math.random ( 0, 100 ) / 100), "test", true )
    1 KB (141 words) - 17:18, 21 November 2018
  • local charlist = allowed[math.random ( 1, 3 )] str = str .. string.char ( math.random ( charlist[1], charlist[2] ) )
    1 KB (143 words) - 15:50, 21 October 2015
  • guiLabelSetColor ( myLabel, math.random(0, 255), math.random(0, 255), math.random(0, 255) )</syntaxhighlight>
    2 KB (241 words) - 11:41, 7 August 2019
  • local rand = math.random() rand = math.random()
    3 KB (357 words) - 05:44, 3 March 2023
  • vehicleRPM = math.random(650, 750) -- Когда машина стоит, обороты будут vehicleRPM = math.random(9000, 9900) -- Максимальное количество оборото
    2 KB (130 words) - 21:54, 12 December 2020
  • local randomColor, randomAmount = math.random(0, 255), math.random(4, 8)
    1 KB (170 words) - 10:00, 21 June 2019
  • chatColors[source] = {math.random(50, 255), math.random (50, 255), math.random (50, 255)}
    2 KB (294 words) - 21:55, 18 February 2022
  • local r, g, b = math.random( 255 ), math.random( 255 ), math.random( 255 ) -- Ustawienie losowych kolorów RGB
    2 KB (288 words) - 20:15, 15 October 2016
  • setRainLevel(math.random(5)) setRainLevel(math.random(5))
    2 KB (192 words) - 23:12, 11 January 2023
  • fxAddBulletImpact(hitX, hitY, hitZ, 0, 0, 0, math.random(1, 2), math.random(2, 5), 1.0)
    1 KB (186 words) - 10:01, 21 June 2019
  • local child = DGS:dgsGetChild(parent,math.random(1,4)) DGS:dgsSetText(child,math.random(1,100))
    1 KB (171 words) - 12:24, 29 July 2019
  • local size = math.random(0, 50) local r, g, b = math.random(10, 99), math.random(10, 99), math.random(10, 99)
    3 KB (418 words) - 23:15, 8 April 2022
  • local window = DGS:dgsCreateWindow ( 0, 0, (math.random ( 0, 100 ) / 100), (math.random ( 0, 100 ) / 100), "test", true )
    2 KB (234 words) - 19:02, 3 May 2021
  • local child = DGS:dgsGetChild(parent,math.random(1,4)) DGS:dgsSetText(child,math.random(1,100))
    2 KB (203 words) - 18:59, 3 May 2021
  • * [http://www.lua.org/manual/5.1/manual.html#pdf-math.random math.random]
    2 KB (386 words) - 17:43, 28 February 2023
  • ...l myItem = DGS:dgsGridListSetItemText ( numberList, row, column, tostring( math.random(0, 10) ) ) ...l myItem = DGS:dgsGridListSetItemText ( numberList, row, column, tostring( math.random(0, 10) ) )
    2 KB (222 words) - 14:10, 18 January 2018
  • guiSetSize ( myWindow, ( math.random( 10, 50 ) / 100 ), ( math.random( 10, 50 ) / 100 ), true )
    2 KB (213 words) - 17:20, 21 November 2018
  • ...math.random(4000, 5000), 0, fires[i][1]+math.random(0.1, 0.3), fires[i][2]+math.random(0.1, 0.2), fires[i][3]+0.2, 1, 1, 1)
    3 KB (345 words) - 09:59, 21 June 2019
  • {{Deprecated|math.random}}
    458 bytes (54 words) - 12:18, 26 June 2014
  • * [http://lua.gts-stolberg.de/math.php#math.random math.random]
    2 KB (361 words) - 17:58, 21 February 2021
  • local red, green, blue = math.random(50, 255), math.random(50, 255), math.random(50, 255)
    4 KB (196 words) - 17:10, 4 December 2017
  • local vertice = {x, y, tocolor(math.random(255), math.random(255), math.random(255))}
    3 KB (380 words) - 17:13, 26 October 2018
  • local randFile = zipTranslator:open( tostring( math.random( 0, 1 ) ) .. ".rnd", "wb" ); Its name is random. ]] .. math.random( 0, 100 )
    2 KB (290 words) - 00:07, 17 January 2022
  • local r, g, b = math.random( 255 ), math.random( 255 ), math.random( 255 )
    3 KB (408 words) - 17:22, 4 October 2022
  • local size = math.random(0, 50) local r, g, b = math.random(10, 99), math.random(10, 99), math.random(10, 99)
    3 KB (432 words) - 20:15, 1 April 2023
  • ...local myItem = DGS:dgsComboBoxSetItemText ( numberList, item, tostring( math.random(0, 10) ^ 100 ) ) ...local myItem = DGS:dgsComboBoxSetItemText ( numberList, item, tostring( math.random(0, 10) ^ 100 ) )
    2 KB (240 words) - 13:26, 5 April 2022
  • ...dgsSetProperty(image,"color",tocolor(math.random(0,255),math.random(0,255),math.random(0,255),255))
    3 KB (422 words) - 09:25, 17 January 2021
  • DGS:dgsSetSize ( myWindow, ( math.random( 10, 50 ) / 100 ), ( math.random( 10, 50 ) / 100 ), true )
    2 KB (265 words) - 19:03, 3 May 2021
  • local size = math.random(0, 50) local r, g, b = math.random(10, 99), math.random(10, 99), math.random(10, 99)
    3 KB (451 words) - 20:16, 1 April 2023
  • local red, green, blue = math.random (50, 255), math.random (50, 255), math.random (50, 255)
    4 KB (493 words) - 16:02, 3 May 2024
  • str = str..(string.format("%c", math.random(32, 126)))
    923 bytes (111 words) - 01:20, 5 August 2018
  • ...local myItem = DGS:dgsComboBoxSetItemText ( numberList, item, tostring( math.random(0, 10) ^ 100 ) ) ...local myItem = DGS:dgsComboBoxSetItemText ( numberList, item, tostring( math.random(0, 10) ^ 100 ) )
    2 KB (266 words) - 16:36, 14 March 2022
  • local randomPlayer = players[math.random(#players)]
    1 KB (52 words) - 11:34, 10 August 2014
  • ...l myItem = DGS:dgsGridListSetItemText ( numberList, row, column, tostring( math.random(0, 10) ) ) ...l myItem = DGS:dgsGridListSetItemText ( numberList, row, column, tostring( math.random(0, 10) ) )
    3 KB (332 words) - 12:42, 15 February 2021
  • {{Deprecated|math.random}}
    806 bytes (98 words) - 12:16, 26 June 2014
  • ...l myItem = DGS:dgsGridListSetItemText ( numberList, row, column, tostring( math.random(0, 10) ^ 100 ) ) ...l myItem = DGS:dgsGridListSetItemText ( numberList, row, column, tostring( math.random(0, 10) ^ 100 ) )
    3 KB (330 words) - 11:21, 27 January 2021
  • ...l myItem = DGS:dgsGridListSetItemText ( numberList, row, column, tostring( math.random(0, 10) ) ...l myItem = DGS:dgsGridListSetItemText ( numberList, row, column, tostring( math.random(0, 10) ) )
    3 KB (355 words) - 11:24, 27 July 2023
  • local randomPlayer = players[math.random(#players)]
    1,017 bytes (132 words) - 17:25, 26 November 2014
  • ...xDrawRectangle(10, 50, 40, 40, tocolor(math.random(255), math.random(255), math.random(255))) -- Draw a square with random color
    4 KB (518 words) - 16:34, 10 August 2023
  • local size = math.random(0, 50) local r, g, b = math.random(10, 99), math.random(10, 99), math.random(10, 99)
    5 KB (591 words) - 20:14, 1 April 2023
  • newRotation = math.random ( 0, 360 )
    1 KB (148 words) - 22:13, 5 July 2014
  • setElementData(source, "ID", math.random(1, 500))
    1 KB (148 words) - 16:20, 28 April 2022
  • setdata[i] = math.random() setdata[i] = math.random(1,10)
    3 KB (391 words) - 13:50, 10 January 2023
  • random = math.random(#table)
    1 KB (153 words) - 11:25, 18 October 2023
  • ...l myItem = DGS:dgsGridListSetItemText ( numberList, row, column, tostring( math.random(0, 10) ^ 100 ) )
    1 KB (153 words) - 07:13, 27 July 2023
  • dxGridListSetItemSelected(lista, math.random(2))
    1 KB (144 words) - 20:16, 21 May 2022
  • fxAddWood(x, y, gz+0.4, 0, 0, 0, math.random(3, 6), 0.7)
    1 KB (157 words) - 09:59, 21 June 2019
  • setPlayerWeaponSlot ( player, math.random ( 1, 12) )
    2 KB (191 words) - 21:38, 20 April 2011
  • local randomMessage = messages[math.random(#messages)] -- get a random message from the table
    1 KB (179 words) - 11:22, 27 June 2023
  • setPedWeaponSlot ( thePlayer, math.random ( 1, 12) )
    1 KB (180 words) - 10:51, 7 August 2016
  • DGS:dgsSetText(child,math.random(1,100))
    1 KB (145 words) - 12:30, 29 July 2019
  • local randomPlayer = players[math.random(#players)]
    1 KB (172 words) - 23:05, 8 July 2018
  • setPedWeaponSlot ( thePlayer, math.random ( 1, 12) )
    2 KB (83 words) - 14:59, 11 August 2012
  • local skin = math.random ( tonumber(startskin), tonumber(endskin) )
    1 KB (202 words) - 12:48, 20 February 2019
  • 2 KB (118 words) - 11:07, 11 August 2014
  • local randomobjectnumber = math.random(1, 18000)
    1 KB (194 words) - 09:12, 9 November 2018
  • DGS:dgsSetText(child,math.random(1,100))
    1 KB (175 words) - 19:00, 3 May 2021
  • outputChatBox("Latent trigger done from: " .. getPlayerName(thePlayer), root,math.random(255),0,0)
    2 KB (202 words) - 09:58, 12 February 2024
  • ...local myItem = guiGridListSetItemText ( numberList, row, column, tostring( math.random(0, 10) ^ 100 ), false, false )
    2 KB (201 words) - 21:19, 7 November 2018
  • local randombloodamount = math.random( 1, 3 ) -- random blood amount 1-3
    1 KB (189 words) - 10:01, 21 June 2019
  • local randombloodamount = math.random( 1, 3 ) -- создаём переменную с рандомным чис
    2 KB (103 words) - 20:19, 13 July 2017
  • newRotation = math.random ( 0, 360 )
    2 KB (217 words) - 16:36, 13 February 2015
  • tPed["thePed"] = createPed(math.random(209, 238), x+1, y+1, z)
    2 KB (224 words) - 16:06, 23 December 2023
  • theKey = string.rep( string.char( math.random( string.byte( "a" ), string.byte( "Z" ) ) ), 10 ) -- Generate a random key
    2 KB (285 words) - 10:48, 18 August 2018
  • grX = math.abs(math.random(-30,1) grY = math.abs(math.random(-30,1)
    18 KB (1,060 words) - 03:45, 15 January 2022
  • randomDeletion = math.random ( 1, 2 )
    2 KB (221 words) - 14:14, 18 January 2018
  • randomDeletion = math.random ( 1, 2 )
    2 KB (222 words) - 21:18, 7 November 2018
  • return theTable[math.random ( #theTable )]
    2 KB (246 words) - 12:02, 8 October 2023
  • randomDeletion = math.random ( 1, 4 )
    2 KB (225 words) - 13:44, 18 January 2018
  • player = players[math.random(1, #players)] -- Get a random player using player elements table
    2 KB (271 words) - 10:22, 11 October 2014
  • DGS:dgsGridListSetItemText ( numberList, row, column, tostring(math.random(0, 10) ^ 100), false, false )
    2 KB (264 words) - 08:25, 1 August 2021
  • ...sition ( localPlayer, x+(math.random(-10,10)), y+(math.random(-10,10)), z+(math.random(1,15)) ) --Move a player randomly to a nearby location. X is current x + a
    9 KB (1,360 words) - 01:59, 29 January 2024
  • outputChatBox("Text " .. math.random(1,4)) local delay = math.random(500, 5000) -- 0.5s to 5s of delay
    6 KB (821 words) - 09:22, 13 October 2023
  • spawnPlayer (source, 0, 0, 5, 0, math.random (0,288), 0, 0, spawnTeam) -- spawns player with random skin
    2 KB (296 words) - 14:53, 6 January 2022
  • return vehicles[ math.random( 1, numberOfVehs ) ]
    3 KB (333 words) - 09:54, 16 June 2016
  • if state == true then state = math.random(1,500) else state = false end
    2 KB (292 words) - 23:47, 16 June 2020
  • local message = g_WelcomeMessages[math.random(numMessages)] -- pick a random message
    3 KB (326 words) - 20:29, 23 September 2016
  • spawnPlayer ( source, 0, 0, 5, 0, math.random ( 0,288 ) ) -- odradza gracza z losowym modelem skina
    2 KB (295 words) - 12:04, 16 January 2022
  • local vertex = {x, y, tocolor(math.random(255), math.random(255), math.random(255))}
    8 KB (1,166 words) - 06:32, 17 June 2023
  • randomDeletion = math.random ( 1, 4 )
    3 KB (285 words) - 10:20, 30 January 2022
  • guiGridListSetItemText ( numberList, row, column, tostring(math.random(0, 10) ^ 100), false, false )
    2 KB (311 words) - 21:07, 7 November 2018
  • Config.player.money = math.random(999)
    3 KB (379 words) - 05:01, 13 April 2024
  • ...sition ( localPlayer, x+(math.random(-10,10)), y+(math.random(-10,10)), z+(math.random(1,15)) ) --Move a player randomly to a nearby location. X is current x + a
    10 KB (1,168 words) - 08:44, 7 September 2019
  • local message = g_WelcomeMessages[math.random(numMessages)] -- выбираем случайное сообщение
    4 KB (133 words) - 20:51, 23 September 2016
  • 3 KB (145 words) - 18:50, 20 December 2018
  • dxDrawProgressBar( 10, 10, 200, 200, math.random(0,100), tocolor( 250, 50, 50, 255), tocolor( 255, 255, 255, 255) )
    2 KB (309 words) - 23:28, 5 October 2019
  • getRandomItem = math.random ( 1, 2 )
    3 KB (325 words) - 18:47, 28 October 2021
  • ...sition ( localPlayer, x+(math.random(-10,10)), y+(math.random(-10,10)), z+(math.random(1,15)) ) --Move a player randomly to a nearby location. X is current x + a
    9 KB (1,470 words) - 18:31, 21 February 2021
  • local size = math.random(100, 500)
    3 KB (422 words) - 23:09, 8 April 2022
  • ...sition ( localPlayer, x+(math.random(-10,10)), y+(math.random(-10,10)), z+(math.random(1,15)) ) -- Move o jogador aleatoriamente para uma posição perto da anter
    10 KB (1,548 words) - 18:31, 21 February 2021
  • local size = math.random(100, 500)
    4 KB (530 words) - 19:33, 30 November 2022
  • local delay = math.random(500, 5000) -- 0.5s até 5s de delay
    6 KB (885 words) - 20:29, 6 August 2020
  • local randomSkinID = math.random ( #allSkins )
    11 KB (273 words) - 02:07, 10 July 2022
  • ...onen komme ich später. Für dieses Beispiel reicht es, wenn ihr wisst, dass math.random() eine Zufallszahl (float) zwischen 0 und 1 zurückgibt und print("text") d <syntaxhighlight lang="lua">local zufall = math.random()
    41 KB (5,993 words) - 11:23, 13 February 2012