Search results

Jump to navigation Jump to search
  • ...tively if you can remember "min max min max" do math.min(math.max(x, min), max) <syntaxhighlight lang="lua">float math.clamp( float number, float min, float max )</syntaxhighlight>
    967 bytes (131 words) - 17:43, 2 August 2023
  • Returns a float being the max velocity that is currently set, depending on which side it is used. This example will increase or decrease the max velocity by pressing numpad keys + or -.
    2 KB (222 words) - 11:53, 22 April 2013
  • *'''velocity:''' The max velocity, can be 0 or any positive value. Default is '''1.5'''. Returns true if the max velocity was set correctly, false otherwise.
    2 KB (219 words) - 11:53, 22 April 2013
  • Returns a float containing the max aircraft height. This example returns the max aircraft height to a player if they use the command 'aircraftmaxheight'.
    781 bytes (87 words) - 13:11, 9 August 2011
  • Returns a float containing the max jetpack height. This example returns the max jetpack height to a player if they use the command 'jetpackmaxheight'.
    771 bytes (88 words) - 12:35, 21 December 2011
  • Returns an integer if the max length was get successfully, ''false'' otherwise. outputChatBox("Max Length: "..DGS:dgsMemoGetMaxLength( memo ))
    675 bytes (76 words) - 20:25, 31 August 2020
  • Returns an integer if the max length was get successfully, ''false'' otherwise. outputChatBox("Max Length: "..DGS:dgsEditGetMaxLength ( editBox ))
    690 bytes (77 words) - 14:56, 18 January 2018
  • Sets a custom [[sound]] max distance at which the sound stops. Returns a ''true'' if the max distance was set, ''false'' otherwise.
    827 bytes (91 words) - 02:00, 19 August 2021
  • Sets a custom [[sound]] max distance at which the sound stops. Returns a ''true'' if the max distance was set, ''false'' otherwise.
    939 bytes (102 words) - 01:59, 19 August 2021
  • local max = getVehicleMaxPassengers(vehicle) for i=1, max do
    1 KB (129 words) - 05:00, 5 January 2020
  • *Returns ''min x, min y, min z, max x, max y, max z'' if the passed element is valid and streamed in, ''false'' otherwise.
    1 KB (185 words) - 14:08, 29 April 2021
  • *'''4: max''' - Max memory usage of the resource since it started. *'''4: max'''
    2 KB (350 words) - 12:42, 25 January 2024
  • * '''maxvalue''': The max value (Like 480/'''1000'''). This example returns how is the current progress of a player do get max points.
    1 KB (167 words) - 21:02, 19 October 2021
  • bool setDiscordRichPresencePartySize(int size, int max) *'''max''': an integer representing the maximum party size.
    1 KB (149 words) - 18:35, 24 October 2023
  • ...k, amely lehet egy [[texture]], egy bool, egy szám, vagy egy számlista ('''max 16 floats(numbers)''') ...ader, "positionOfCheese", 100, 200, 300 ) -- Set a list of numbers, with max 16 numbers. Btw, this is a float: 3.4
    2 KB (205 words) - 22:32, 23 December 2018
  • ...set, which can be a [[texture]], a bool, a number or a list of numbers('''max 16 floats(numbers)''') ...ader, "positionOfCheese", 100, 200, 300 ) -- Set a list of numbers, with max 16 numbers. Btw, this is a float: 3.4. This can be used to fill an array in
    1 KB (168 words) - 14:00, 4 February 2021
  • This functions gets the maximum health a [[ped]] should have, considering its max health (24) [[Template:Stats|stat]]. -- Return the max health. Make sure it can't be below 1
    2 KB (234 words) - 09:22, 26 July 2014
  • ...tions gets the maximum oxigen level a [[ped]] should have, considering its max underwater stamina (225) and stamina (22) [[Template:Stats|stat]]. -- Return the max oxygen level.
    2 KB (246 words) - 20:06, 16 July 2019
  • ...ce) --output a message to the joined player informing the player count and max players.
    791 bytes (102 words) - 18:52, 18 February 2016
  • outputChatBox("Max distance: "..getSoundMaxDistance(sound))
    1 KB (135 words) - 19:56, 15 August 2021
  • Returns ''true'' if the max length was set successfully, ''false'' otherwise.
    834 bytes (107 words) - 20:36, 31 August 2020
  • -- The min/max value for the browser volume. Change these if you like, but note that the m ...> MAX_VOLUME then return end -- Check if the current volume is bigger than max value
    3 KB (395 words) - 18:50, 17 March 2018
  • * '''maxvalue''': The max value you want to get the percentage of.
    860 bytes (106 words) - 21:34, 18 January 2019
  • ADMIN_PACKET_HEADER ADMIN_CONNECT [ byte ( Max players ) ] [ byte ( Current max players ) ] ...when the max players is changed. Note that this number cannot go over the max players in the server config, nor can it ever go above 32.
    13 KB (2,032 words) - 10:59, 15 January 2012
  • ** "vehicle_max": the max the field of view can go to when the vehicle is moving at a high speed (mus
    1 KB (143 words) - 19:41, 14 January 2022
  • *'''numberplate:''' a string that will go on the number plate of the vehicle (max 8 characters).
    1 KB (143 words) - 14:05, 29 July 2023
  • *'''theReason:''' the new reason (max 60 characters).
    1 KB (150 words) - 14:37, 7 August 2016
  • * Multi byte character max. length
    1 KB (139 words) - 17:42, 5 January 2011
  • * Removed max password length limit for server account passwords (thanks to '''4O4''') * Increased default max streaming memory
    3 KB (397 words) - 19:40, 29 December 2022
  • ** "vehicle_max": the max the field of view can go to when the vehicle is moving at a high speed (mus
    1 KB (159 words) - 14:55, 13 August 2018
  • Returns ''true'' if the max length was set successfully, ''false'' otherwise.
    1 KB (150 words) - 14:56, 18 January 2018
  • *'''maxWidth:''' A number of the max width of the tooltip that can show. MaxWidth of tooltip template will be us
    1 KB (157 words) - 11:17, 24 December 2022
  • ...ehicle, for example hydra horizontal flight is 5000, while dump truck tray max tilt is 2500. Or returns ''false'' if the vehicle passed to the function is
    1 KB (172 words) - 13:43, 10 May 2018
  • This example sets every polygon colshape's max heigh to 50 units once resource starts.
    1 KB (167 words) - 21:34, 23 September 2021
  • *'''Height''': The max height starting at approximately -20.
    1 KB (193 words) - 16:20, 5 August 2012
  • Returns ''true'' if the max length was set successfully, ''false'' otherwise.
    1 KB (194 words) - 21:53, 12 December 2020
  • * '''max''' - Наибольшее количество памяти, ког
    8 KB (202 words) - 10:37, 31 October 2018
  • :: 3-4 objects: MAX. 4 :: 5-8 objects: MAX. 8
    8 KB (1,327 words) - 20:29, 3 May 2012
  • ** "vehicle_max": the max the field of view can go to when the vehicle is moving at a high speed (mus
    2 KB (229 words) - 15:27, 26 August 2018
  • ** "vehicle_max": the max the field of view can go to when the vehicle is moving at a high speed (mus
    2 KB (230 words) - 09:23, 10 October 2020
  • textBox:MaxLength( 128 ) --the max chatbox length is 128, so force this
    2 KB (227 words) - 16:35, 11 February 2015
  • ...default maximum, for example setting above 5000 on the dump truck (normal max 2500) will cause the tray to be fully vertical.)
    2 KB (242 words) - 11:05, 9 October 2012
  • ...e total capacity for users inside the party. (Can't be greater than server max players)
    2 KB (229 words) - 10:22, 30 March 2020
  • local data = fileRead(file,100*1024*1024) --Max 100 MB
    2 KB (294 words) - 22:27, 3 September 2023
  • *'''maxDistance:''' A float of the max distance of the 3d line.
    2 KB (273 words) - 15:11, 9 January 2023
  • guiEditSetMaxLength ( editBox, 128 ) -- The max chatbox text length is 128, so force this
    2 KB (337 words) - 16:40, 19 October 2022
  • *When setting ammo for [[Weapon|weapons in slot]] 0,1,10,11 or 12, the ammo max is 1
    3 KB (362 words) - 22:57, 4 December 2021
  • ....min(math.max(x, min), max) and easy to remember, just think: "min max min max"
    8 KB (1,269 words) - 17:30, 2 August 2023
  • textBox:MaxLength( 128 ) --the max chatbox length is 128, so force this
    3 KB (407 words) - 16:35, 11 February 2015
  • guiEditSetMaxLength ( editBox, 128 ) --the max chatbox length is 128, so force this
    3 KB (398 words) - 08:09, 30 October 2023
View (previous 50 | ) (20 | 50 | 100 | 250 | 500)