Search results

Jump to navigation Jump to search
  • This example creates a marker inside Toreno's house and adds a command to check whether you are standing on it. ...inder", 2.0, 255, 0, 0, 80 ) -- create a red cylinder marker inside Toreno's house
    2 KB (211 words) - 18:45, 29 October 2023
  • ...rchieve the same result as this function, but also clientside. However, it's more efficient to use the built-in function serverside. The next function r -- The next line returns the result of the original function if it's defined. If not, it counts the number of player elements (to also work clie
    2 KB (254 words) - 22:41, 6 September 2024
  • print( utf8.find( "Привет Привет", "%s" ) ) -- 7, 7 print( utf8.find( "Привет Привет", "%s", 1, true ) ) -- nil
    2 KB (221 words) - 14:32, 15 June 2020
  • -- open the door when someone enters the garage's collision shape -- close the door when someone leaves the garage's collision shape
    2 KB (227 words) - 16:45, 11 February 2015
  • light.setConeAngle( 15 ); -- set the spot light's cone angle -- If we want to rotate it according to the player's "front" vector,
    3 KB (455 words) - 13:30, 14 March 2014
  • local function sortHexcolor(s) for line in (s .. "\n"):gmatch("(.-)\n") do
    3 KB (282 words) - 05:30, 18 April 2024
  • if ( getVehicleID ( theVehicle ) == 522 ) then -- if it's an nrg if ( getVehicleID ( theVehicle ) == 522 ) then -- if it's an nrg
    2 KB (218 words) - 08:46, 4 November 2020
  • ...ersistence is equivalent to that of using [[setElementData]] on the player's element. ...ametypes would use "money" as the account key, they'd overwrite each other's data.
    3 KB (238 words) - 15:46, 12 April 2021
  • * '''x1, y1, z1''': The camera's start position. * '''x1t, y1t, z1t''': The camera's start look at.
    6 KB (686 words) - 10:37, 29 October 2023
  • MTA's Deathmatch game mode has been around since the very beginning of MTA's existence, and has always been the most popular. ...pular RPG servers at present are the [http://www.abplayground.net Ankeborg's Playground RPG] server, and the [http://www.argonathrpg.com Argonath RPG] s
    5 KB (760 words) - 14:10, 20 June 2012
  • ...atBox("Invalid player", player); --output to them and tell them that there's no player setPedRotation(player, findRotation(x,y,tx,ty) ); --let's set you facing them
    2 KB (241 words) - 07:41, 17 February 2015
  • ...''' A float of the 2D x position of the DGS Component Selector on a player's screen. This is affected by the ''relative'' argument. ...''' A float of the 2D y position of the DGS Component Selector on a player's screen. This is affected by the ''relative'' argument.
    2 KB (333 words) - 07:41, 4 October 2019
  • The GUI checkbox class represents GUI checkboxes in MTA's GUI system. These can be checked or unchecked.
    377 bytes (53 words) - 18:00, 14 April 2021
  • This function can be used to set the vehicle's doors to be locked or unlocked. Locking a vehicle restricts access to the ...e doors. It means that a player can still access a locked vehicle if there's an opened door. Also, vehicles that doesn't have doors can still be accesse
    2 KB (250 words) - 08:31, 4 November 2020
  • Returns a [[string]] indicating the ped's move state, or ''false'' if the ped is not streamed in, the movement type i outputChatBox( playerName .. "'s current moveState is: " .. moveState, 0, 150, 0, true )
    2 KB (226 words) - 17:53, 8 October 2018
  • *'''fCenterX:''' The X position of the collision polygon's position - the position that will be returned from [[getElementPosition]]. *'''fCenterY:''' The Y position of the collision polygon's position - the position that will be returned from [[getElementPosition]].
    7 KB (918 words) - 09:51, 30 January 2022
  • Az objektosztály a GTA-világban a statikus 3D-s modelleket jelenti. Objektek csak a szerver által létrehozott modellek le * '''scale''': The object's scale.
    2 KB (302 words) - 08:45, 15 April 2021
  • {{New feature/item|3.0160|1.6|20463|This function allows you to set a user's Discord join/invite parameters. It's necessary to use this function to enable that option on Discord.}}
    2 KB (229 words) - 10:22, 30 March 2020
  • *'''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 (379 words) - 09:22, 30 March 2020
  • This example creates window with Spinner and prints it's minimal value:
    560 bytes (57 words) - 07:06, 6 August 2018
View ( | ) (20 | 50 | 100 | 250 | 500)