Search results

Jump to navigation Jump to search
  • takenBy = "taken by "..getPlayerName(source) -- let's also credit the photographer ...0,"cameraphoto",50) -- the player just took a picture with the camera, let's request a screenshot to see what they took a photo of
    4 KB (521 words) - 22:45, 6 September 2024
  • ...speed of the vehicle the player is in and outputs it in the chat box if it's a helicopter or plane.
    2 KB (189 words) - 11:16, 21 December 2023
  • *'''fSampleRate:''' a [[float]] that defines the new sound's [http://en.wikipedia.org/wiki/Sampling_rate sample rate]
    2 KB (209 words) - 09:42, 3 March 2019
  • if getElementType ( bannedPlayer ) == "player" then -- If it's a player
    2 KB (200 words) - 15:34, 6 August 2016
  • ...ket szervez, egy vagy több játékos számára. Támogatja a MTA:Race mapokat, és az MTA:SA DM mapokat egyaránt, melyek a map editor-ban lettek lérehozva. ...i célbaér egy bizonyos időn belül. Ha nincs checkpoints, csak kocsikázzon és mulasson.
    10 KB (1,343 words) - 11:38, 5 November 2018
  • This example draws a health ring which changes it's color according to player's health value.<br> ...used to draw the background ring and the health ring. And shows the player's health value inside the ring.
    5 KB (715 words) - 05:35, 3 March 2023
  • '''Note:''' See [[svgSetUpdateCallback]] for setting an svg's callback function after it has been created. Here's another, more in-depth example which utilizes the callback argument. You ca
    4 KB (553 words) - 11:57, 30 September 2024
  • A ''string'' value containing local player's MTA account username or ''false'' if no account exists for the local player
    2 KB (211 words) - 17:04, 21 April 2016
  • '''NOTE:''' This function already takes the client's screen resolution into account.
    1 KB (204 words) - 14:27, 5 April 2020
  • * Client - Deathmatch: Where MTA makes all it's functions and events do stuff. * Client - GUI: It's just wrappers to CEGUI, you need not touch.
    5 KB (671 words) - 17:37, 12 March 2020
  • This example creates a sound and set's the flanger sound effect enabled.
    1 KB (160 words) - 01:32, 19 August 2021
  • ***'''checkBuildings:''' Allow the line of sight to be blocked by GTA's internally placed buildings, i.e. the world map. ***'''checkDummies:''' Allow the line of sight to be blocked by GTA's internal dummies. These are not used in the current MTA version so this ar
    5 KB (695 words) - 06:06, 9 December 2021
  • ...ting for collisions of custom map objects to load. Returns ''false'' if it's not or if the specified [[element]] is invalid.
    1 KB (183 words) - 22:14, 8 August 2018
  • Small example to show how to remove a ped from any vehicle it's in.
    1 KB (205 words) - 15:42, 3 April 2018
  • ...oning of dxDraw calls to be automatically adjusted according to the client's aspect ratio setting. This lasts for a single execution of an event handle
    2 KB (185 words) - 10:34, 30 November 2018
  • This function gets the current color of a player's name tag as RGB values. These are in the range 0-255.
    1 KB (212 words) - 00:59, 13 November 2015
  • '''Priklad 3:''' Tento priklad odesle zpravu pouze hracovi s nickem ''nekdo''. myPlayer = getPlayerFromName ( "nekdo" ) --Najdeme hrace s timto nickem
    3 KB (440 words) - 10:38, 21 August 2012
  • ...her be set in an external configuration file and be used in all maps. Here's an example where the configuration file is an XML document:
    1 KB (198 words) - 14:50, 6 August 2016
  • This function checks in which way the cursor is currently moving, it's updated version of https://wiki.multitheftauto.com/wiki/GetCursorMoveOn.
    2 KB (256 words) - 14:48, 8 June 2020
  • ...ch has parent, and this function will change its layer index in its parent's Children Table which stores all the children elements of the parent.
    1 KB (189 words) - 19:34, 3 May 2021
View ( | ) (20 | 50 | 100 | 250 | 500)