Search results

Jump to navigation Jump to search
  • ...t ) == "vehicle" and type ( property ) == "string" then -- Make sure there's a valid vehicle and a property string if value then -- If there's a value (valid property)
    2 KB (208 words) - 20:55, 10 October 2015
  • Returns the [[element]] which is the projectile's target if the projectile is valid and can have a target (like a heat-seekin outputChatBox("Created projectile's target: "..getPlayerName(getProjectileTarget(theProjectile)))
    2 KB (188 words) - 01:29, 10 September 2016
  • local x, y, z = getElementPosition( source ) -- get player's position for adding blood -- this adds blood to player's current position
    1 KB (189 words) - 10:01, 21 June 2019
  • ...unction gets the amount of ammo left in a [[Element/Weapon|custom weapon]]'s magazine/clip. Returns the amount of ammo in the [[Element/Weapon|custom weapon]]'s clip, ''false'' if an error occured.
    2 KB (204 words) - 21:44, 7 May 2017
  • ...uld be the argument's name as in the argument list above, NOT the argument's data type --> *'''string''' A string containing the name of the element's current font, or false if the gui element passed to the function is invalid
    2 KB (334 words) - 15:50, 17 April 2021
  • ...ring not to load them at all. Refer to the second example on that page, it's a client-side function and cannot be used next to assignLOD.}} ...how to correctly call the function by embedding it into the target element's createObject (for map models).
    2 KB (225 words) - 19:07, 27 September 2023
  • *'''x:''' A float of the 2D x position of the DGS selector on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the DGS selector on a player's screen. This is affected by the ''relative'' argument.
    2 KB (339 words) - 15:10, 26 November 2023
  • This example get's the alive players from the team "MTA". Author(s): Castillo, Karlis
    2 KB (188 words) - 06:33, 14 June 2012
  • *'''weaponSlot:''' an integer representing the weapon slot (set to the ped's currently selected slot if not specified). Returns an [[int]] containing the amount of ammo in the specified ped's currently selected or specified clip, or 0 if the ped specified is invalid.
    2 KB (209 words) - 16:58, 8 October 2018
  • *'''x:''' A float of the 2D x position of the dxGUI window on a player's screen. *'''y:''' A float of the 2D y position of the dxGUI window on a player's screen.
    1 KB (184 words) - 22:32, 20 August 2013
  • *'''x:''' A float of the 2D x position of the dxGUI window on a player's screen. *'''y:''' A float of the 2D y position of the dxGUI window on a player's screen.
    1 KB (193 words) - 15:39, 1 October 2013
  • ...d to get where the gun shoots at. They are based on [[processLineOfSight]]'s. You have to specify all the eight flags for the function to succeed. These *** '''checkBuildings''': allows the shoot to be blocked by GTA's internally placed buildings, i.e. the world map.
    3 KB (449 words) - 18:21, 23 December 2014
  • MTA's map files are also in XML format.
    1 KB (191 words) - 20:18, 23 September 2016
  • *'''x:''' A float of the 2D x position of the checkbox on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the checkbox on a player's screen. This is affected by the ''relative'' argument.
    4 KB (539 words) - 08:09, 30 October 2023
  • {{New feature|3|1.0|This function allows you to set whether a player's nametag visibility both clientside and serverside}} Use this to define whether the player's name tag is visible or invisible.
    2 KB (211 words) - 14:12, 24 March 2016
  • *'''x:''' A float of the 2D x position of the chart on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the chart on a player's screen. This is affected by the ''relative'' argument.
    3 KB (391 words) - 13:50, 10 January 2023
  • *'''x:''' A float of the 2D x position of the image on a player's screen. This is affected by the ''relative'' argument. *'''y:''' A float of the 2D y position of the image on a player's screen. This is affected by the ''relative'' argument.
    3 KB (422 words) - 09:25, 17 January 2021
  • ...uld be the argument's name as in the argument list above, NOT the argument's data type -->
    2 KB (229 words) - 12:20, 15 October 2019
  • ...uld be the argument's name as in the argument list above, NOT the argument's data type -->
    2 KB (244 words) - 08:37, 5 February 2021
  • ...uld be the argument's name as in the argument list above, NOT the argument's data type --> ...if successfully destroyed and ''false'' if it could not be deleted (ie. it's not valid).
    2 KB (352 words) - 18:15, 21 February 2021
View ( | ) (20 | 50 | 100 | 250 | 500)