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
View (previous 20 | ) (20 | 50 | 100 | 250 | 500)