Search results

Jump to navigation Jump to search
  • ...one frame. This should be used in conjunction with [[onClientPreRender]] in order to display continuously. ...tartX/Y/Z:''' The start position of the 3D line, representing a coordinate in the GTA world.
    3 KB (439 words) - 21:11, 23 September 2021
  • This function casts a ray between two points in the world, and tells you information about the point that was hit, if any. This function is relatively expensive to call, so over use of this in scripts may have a detrimental effect on performance.
    8 KB (1,061 words) - 14:44, 27 June 2020
  • * The resource [[Shader_examples#Texture_names|shader_tex_names]] can help in finding the names of world textures. * When using with a 'ped', ensure you have set 'ped' or 'all' in the elementTypes when calling [[dxCreateShader]]
    4 KB (501 words) - 23:50, 1 November 2022
  • ...lows the shoot to be blocked by GTA's internal dummies. These are not used in the current MTA version so this argument can be set to ''false''.
    2 KB (347 words) - 14:23, 4 July 2016
  • {{Important Note|If the user has not enabled screen uploading in the settings, the function will use a 32x32 empty texture as a basis.}} ...ake a fraction of a second longer to create (unless the texture is already in DXT1). Uses 8 times less video memory than ARGB and ''can speed up drawing'
    3 KB (497 words) - 16:52, 30 April 2024
  • ...h [[setWeaponProperty]] works with player-held weapons and custom weapons (in a limited extent), this function does not work with player-held weapons.}} ...lows the shoot to be blocked by GTA's internal dummies. These are not used in the current MTA version so this argument can be set to ''false''.
    3 KB (449 words) - 18:21, 23 December 2014
  • ...g offsets. For further information, please refer to a tutorial of matrices in computer graphics programming. ...atrix library]].'' If you are using MTA: SA 1.4 or higher, using the built-in [[matrix]] class is also recommended.}}
    5 KB (724 words) - 22:08, 25 December 2020
  • *'''layered:''' When set to true, the shader will be drawn in a separate render pass. Several layered shaders can be drawn on the same wo ** world - Textures in the GTA world
    3 KB (462 words) - 14:56, 15 December 2020
  • ...playerX, playerY, playerZ ) -- Get name of the zone the player is in.
    5 KB (740 words) - 10:03, 27 November 2018
  • for _,weapon in ipairs( weaponList ) do for _,skill in ipairs( { "poor", "std", "pro" } ) do
    4 KB (485 words) - 09:11, 20 January 2020
  • ...rmined by using the client command [[Client_Commands#showsound|showsound]] in conjunction with [[setDevelopmentMode]].
    3 KB (354 words) - 16:35, 20 September 2021
  • This function creates a [[texture]] element that can be used in the dxDraw functions.
    5 KB (791 words) - 00:00, 4 February 2022
  • ...ponent of the target to shoot at. This argument is only relevant when used in the following element types: This example creates a Uzi and a pedestrian in the center of the map when the resource which contains it starts and makes
    4 KB (551 words) - 01:05, 16 January 2023
  • *'''font:''' Either a custom [[DX font]] element or the name of a built-in DX font: '''Note: Some fonts are incompatible with certain languages such a *'''fLineSpacing:''' Distance in pixels between the lines of text, this can be a negative number, works only
    4 KB (562 words) - 17:43, 12 August 2022
  • ...ead by your function. The following global variables are available for use in handler functions: ...ee]]. An event triggered on the root element is triggered on every element in the tree. An event triggered on any other element is triggered on its ances
    7 KB (1,069 words) - 16:39, 8 April 2024
  • for i, v in pairs(data) do
    5 KB (276 words) - 23:45, 17 August 2021
  • Keep in mind the bandwidth issues when using events - don't pass a large list of ar When the command "greet" is executed (by typing it in the server console or the player's console), the server's ''greetingCommand
    6 KB (781 words) - 04:03, 19 April 2024
  • This function creates a [[shader]] element that can be used in the dxDraw functions. Successful shader creation is not guaranteed unless t *'''layered:''' When set to true, the shader will be drawn in a separate render pass. Several layered shaders can be drawn on the same wo
    8 KB (1,035 words) - 23:18, 8 February 2023
  • In the case when the call fails, a string containing "ERROR" followed by an in *'''URL:''' A full URL in the format ''<nowiki>http://hostname/path/file.ext</nowiki>''. A port can b
    8 KB (1,111 words) - 18:10, 30 December 2021
  • | [[Changes in 1.0|1.0]] | [[Changes in 1.0.1|1.0.1]]
    24 KB (3,169 words) - 12:05, 20 September 2023
View ( | ) (20 | 50 | 100 | 250 | 500)