Search results

Jump to navigation Jump to search
  • * '''ped''': a [[player]] or [[ped]] to check if it's driving a [[vehicle]] or not. ...d a vehicle if the specified ped is driving a [[vehicle]], ''false'' if it's not or a bad argument was passed.
    2 KB (186 words) - 11:28, 15 July 2014
  • *'''x:''' A float of the 2D x position of the progress bar on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the progress bar on a player's screen. This is affected by the ''relative'' argument.
    2 KB (309 words) - 08:09, 30 October 2023
  • ...function returns an integer that contains the ammo in a specified [[ped]]'s weapon. See [[weapon|Weapon Info]] *'''weaponSlot:''' an integer representing the weapon slot (set to the ped's currently selected slot if not specified).
    1 KB (179 words) - 10:16, 30 January 2022
  • This example will print if vehicle's nitro is already recharging outputChatBox("Your vehicle's nitro is recharging.",255,255,0)
    997 bytes (108 words) - 19:07, 15 June 2021
  • This example changes the ban admin to the admin's IP (If it's a player), when someone gets banned.
    882 bytes (105 words) - 15:17, 6 August 2016
  • * '''theMarker:''' The marker element that you want to see what's inside. Returns a ''table'' containing each element that's inside the marker just like [[getElementsWithinColShape]] or ''false'' if a
    995 bytes (112 words) - 11:00, 29 October 2023
  • This function can be used to list out all created {{ml_birc|ircbot}}s. outputConsole ( "There's " .. #ircBots .. " ircbots:", thePlayer )
    988 bytes (115 words) - 10:50, 30 July 2009
  • This function sets the camera's position and direction. The first three arguments are the point at which th ...he player and sets the camera in a fixed position and rotation. The camera's focus can be brought back to the player using the [[setCameraTarget]] funct
    4 KB (543 words) - 08:29, 10 October 2020
  • This function sets the camera's position and direction. The first three arguments are the point at which th ...he player and sets the camera in a fixed position and rotation. The camera's focus can be brought back to the player using the [[setCameraTarget]] funct
    4 KB (543 words) - 10:33, 11 August 2019
  • This function returns the current channel topic and it's creator of the specified channel. The specified {{ml_birc|ircbot}} has to b Returns the currently set topic and it's creator of the specified channel. If no topic is set, it returns empty stri
    2 KB (203 words) - 18:03, 13 August 2009
  • ...ample adds a "setpos" command to console, which allows setting of a player's position. ...ds a "setpos" command to console, which allows setting of the local player's position.
    5 KB (677 words) - 21:23, 8 December 2018
  • Returns a [[string]] of the ircbot's name if passed arguments were valid, ''false'' otherwise. ...t to a server. Once it has connected, it prints out a message with the bot's name to server log.
    991 bytes (120 words) - 09:23, 30 July 2009
  • Returns a string representing the name of the player's simplest, active [[task]]. outputChatBox ( getPlayerName ( getLocalPlayer() ) .. "'s simplest task is: " .. thetask )
    974 bytes (117 words) - 10:54, 26 June 2014
  • ...ere are %d request%s running"):format(#requests, #requests == 1 and '' or 's'), player) ...ere are %d request%s running"):format(#requests, #requests == 1 and '' or 's'))
    2 KB (248 words) - 13:58, 25 October 2020
  • {{New feature/item|3|1.0||This function returns a vehicle's engine state (on or off).}} Returns '''true''' if the vehicle's engine is started, '''false''' otherwise.
    1 KB (127 words) - 18:59, 19 September 2018
  • Also returns false if '''theElement''' is a player and it's not alive. In this example the player's dimension is set to ID 1 when they enter a vehicle, and set back to dimensi
    2 KB (249 words) - 21:24, 8 December 2018
  • Also returns false if '''theElement''' is a player and it's not alive. In this example the player's dimension is set to ID 1 when they enter a vehicle, and set back to dimensi
    2 KB (249 words) - 21:24, 8 December 2018
  • ...8|20935|This function gets the state of a [[player|player's]] or [[ped|ped's]] bleeding effect.}}
    892 bytes (100 words) - 20:55, 23 September 2021
  • *'''fX:''' The position of the base of the tube's center on the X axis. *'''fY:''' The position of the base of the tube's center on the Y axis.
    2 KB (320 words) - 09:29, 6 November 2023
  • -- Retrieve the blip's icon into the variable 'blipIcon' -- If the blip's icon wasn't the default already
    1 KB (218 words) - 15:59, 24 February 2019
View ( | ) (20 | 50 | 100 | 250 | 500)