Search results

Jump to navigation Jump to search
  • [[Dgs|DGS]] Properties is always used to change the gui style and make it more fantastic. Whether the clip property is enabled or not. ''Learn More [[dxDrawText]]''
    4 KB (596 words) - 09:01, 14 June 2022
  • ...oretical height of a certain piece of text, if it were to be drawn using [[dxDrawText]]. dxDrawText("Hello!", 400, 400, screenWidth,screenHeight,tocolor(255,255,255,255),scale
    2 KB (263 words) - 11:34, 27 November 2018
  • ...]]. It is useful for performance debugging purposes. More uses come out of it if combined with other engine streaming functions. dxDrawText( "#streaming-entities: " .. count, 100, 400 );
    906 bytes (102 words) - 08:05, 28 September 2023
  • This function changes the drawing destination for the dx functions. It can be used to select a previously created render target, or if called with dxDrawText ( "Hello", 10, 20 ) -- The message 'Hello' will be drawn on myRenderT
    3 KB (347 words) - 20:40, 23 December 2018
  • This function creates a [[DX font]] element that can be used in [[dxDrawText]]. Successful font creation is not guaranteed, and may fail due to hardware =====It is highly recommended that [[dxSetTestMode]] is used when writing and testi
    2 KB (227 words) - 12:26, 21 January 2024
  • This function changes the drawing destination for the dx functions. It can be used to select a previously created render target, or if called with dxDrawText ( "Hello", 10, 20 ) -- The message 'Hello' will be drawn on myRenderT
    3 KB (358 words) - 20:42, 23 December 2018
  • ...ions:''' A table of options. It is not mandatory, but when it is provided, it must be a table. For a list of options, see the [https://github.com/kikito/ ...rns a string. The contents can change if we update the inspect library, so it is not expected to be consistent across Lua versions.
    2 KB (203 words) - 22:04, 29 January 2020
  • Returns ''true'' when it was changed successfully, or ''false'' otherwise. dxDrawText( "Hello", 300, 300 ) -- Text will be drawn at 300,300
    2 KB (185 words) - 10:34, 30 November 2018
  • For example, there is a DX text. It fits on 1024x768 resolution. dxDrawText(tostring "Hello World!",684.0,731.0,732.0,766.0,tocolor(0,255,255,175),1.0,
    4 KB (475 words) - 05:37, 6 November 2023
  • Returns ''true'' when it was changed successfully, or ''false'' otherwise. dxDrawText( "Hello", 300, 300 ) -- Text will be drawn at 300,300
    2 KB (197 words) - 17:29, 1 December 2018
  • [[Dgs|DGS]] Properties is always used to change the gui style and make it more fantastic. Whether the clip property is enabled or not. ''Learn More [[dxDrawText]]''
    8 KB (1,047 words) - 10:09, 29 August 2021
  • [[Dgs|DGS]] Properties is always used to change the gui style and make it more fantastic. Whether the clip property is enabled or not. ''Learn More [[dxDrawText]]''
    8 KB (1,202 words) - 14:11, 11 June 2023
  • ...nderWare data, they want to have a streaming node too. Failure to allocate it results in deletion of its RenderWare data. dxDrawText( "#free-streaming-slots: " .. count, 100, 420 );
    940 bytes (108 words) - 08:05, 28 September 2023
  • ...ordBreak:''' if set to ''true'', the text will wrap to a new line whenever it reaches the right side of the bounding box. If ''false'', the text will alw dxDrawText (text, left + oX, top + oY, right + oX, bottom + oY, tocolor(0, 0, 0, 255),
    8 KB (982 words) - 20:23, 16 June 2023
  • ...he streaming status changes rapidly every frame, it is recommended to draw it on the screen. dxDrawText( n .. ": " .. tostring( entry ), x, y );
    2 KB (151 words) - 08:10, 28 September 2023
  • ...ght (in pixels) of a certain piece of text, if it were to be drawn using [[dxDrawText]].|20447}} ...ordBreak:''' If set to ''true'', the text will wrap to a new line whenever it reaches the right side of the bounding box. If ''false'', the text will alw
    2 KB (329 words) - 00:25, 15 May 2021
  • It can provide feedback on all tasks relating to a ped. For example, while jum *'''priority''': A string determining which set of tasks you want to retrieve it from. This must be either "primary" or "secondary".
    3 KB (403 words) - 21:11, 2 January 2015
  • It returns a engine speed [[vehicle]] if possible. If not, it returns ''0''. dxDrawText (rpm, 500, 500, 100, 100)
    2 KB (162 words) - 08:07, 29 March 2018
  • ...code below. This code works as follows: you enter / climb the vehicle and it will show you all the components as in the image above. dxDrawText ( v, (sx-(120 + (countTest * 5))) -1, (sy-(220 + (countTest * 10))) -1, 0 -
    6 KB (718 words) - 07:19, 1 January 2022
  • [[Dgs|DGS]] Properties is always used to change the gui style and make it more fantastic. Whether the clip property is enabled or not. ''Learn More [[dxDrawText]]''
    8 KB (1,037 words) - 16:03, 5 February 2023
  • *'''percentage:''' The value which you want to get the RG from. It must be between 0 and 100. ...ns into fire, so we remove 250 of the original health in order not to take it into account.
    3 KB (327 words) - 00:37, 6 December 2015
  • ...ers) or detecting if a point is on the screen (though it does not check if it is actually visible, you should use [[processLineOfSight]] for that). ...ce the position can be off screen before the function returns false. Note: it's clamped down on both axies to the size of screen at the given axis*10
    2 KB (258 words) - 17:29, 2 April 2023
  • bool dxDrawText ( string text, float leftX, float topY, [ float rightX = leftX, float botto ...ordBreak:''' if set to ''true'', the text will wrap to a new line whenever it reaches the right side of the bounding box. If ''false'', the text will alw
    5 KB (692 words) - 08:15, 5 November 2023
  • [[Dgs|DGS]] Properties is always used to change the gui style and make it more fantastic. Whether the clip property is enabled or not. ''Learn More [[dxDrawText]]''
    8 KB (1,175 words) - 16:03, 5 February 2023
  • [[Dgs|DGS]] Properties is always used to change the gui style and make it more fantastic. The offset indicates that how much the text of the button will shift when it is clicked.
    9 KB (1,311 words) - 12:01, 8 November 2023
  • This function draws a ring by using [[dxDrawLine|dx-lines]]. It can also draw an incomplete ring. This function should be used in conjuncti ...' is used, you can use degree values from 0-360 instead of 0-1. By default it uses float values from 0 to 1.
    5 KB (715 words) - 05:35, 3 March 2023
  • ...t of a given font. It does this by drawing and measuring pixels. Therefore it is super accurate (and super slow). Only do this once per font! dxDrawText(character,0,0,0,0,tocolor(255,255,255),1,font)
    2 KB (241 words) - 22:39, 16 November 2012
  • ...displays on the Client screen the cardinal point of the direction in which it is. dxDrawText(getElementDirectionCardialPoint(localPlayer), 0, 0, 300, 300)
    1 KB (160 words) - 10:48, 29 October 2023
  • ...ering complexity and the render-states assigned to world entity rendering. It allows you to switch between rendering modes. Each has unique properties as dxDrawText( "Current RenderMode: " .. currentMode, screenWidth - 300, 5 );
    2 KB (183 words) - 00:18, 12 April 2014
  • if (hitElement == theElement) then -- If it collides with the element return true dxDrawText(isElementInPhotograph(myPed) and "inPhotograph" or "notInPhotograph", 0, 0,
    2 KB (188 words) - 11:27, 29 October 2023
  • ...dth (in pixels) of a certain piece of text, if it were to be drawn using [[dxDrawText]].
    1 KB (204 words) - 14:27, 5 April 2020
  • ...ity]] elements that were clicked. If the player clicked on no MTA element, it's set to false. ...osition of the element telling you what kind of element you have clicked. It hides after 5 seconds.
    5 KB (589 words) - 10:10, 13 May 2017
  • [[Dgs|DGS]] Properties is always used to change the gui style and make it more fantastic. Whether the color code in the title text is enabled or not. ''Learn More [[dxDrawText]]''
    6 KB (904 words) - 12:01, 11 April 2022
  • [[Dgs|DGS]] Properties is always used to change the gui style and make it more fantastic. ...ault font of tabs. This is equivalent to dgsSetFont/dgsGetFont. Learn More dxDrawText
    5 KB (684 words) - 09:55, 7 May 2022
  • [[Dgs|DGS]] Properties is always used to change the gui style and make it more fantastic. ...p property is enabled (include caption text and item text). ''Learn More [[dxDrawText]]''
    12 KB (1,619 words) - 12:18, 16 August 2023
  • dxDrawText ( "Hello", 10, 20 ) -- Draw a message ...0, myRenderTarget ) -- Now use myRenderTarget as a material and draw it lots of times
    4 KB (487 words) - 18:05, 17 October 2018
  • dxDrawText(roundedFPS, sx - dxGetTextWidth(roundedFPS), 0) -- (We always have at least one frame rendered, so dividing by 0 it's not a problem)
    3 KB (378 words) - 01:17, 30 December 2020
  • ...these three coordinates, a single Vector3 object may be inserted to clone it. ...''Make sure that you put this code in a resource which has OOP enabled, or it won't work'''.
    10 KB (1,278 words) - 12:10, 15 January 2022
  • ...ordBreak:''' if set to ''true'', the text will wrap to a new line whenever it reaches the right side of the bounding box. If ''false'', the text will alw dxDrawText(text, leftX + offsetX, topY + offsetY, rightX + offsetX, rightX + offsetY,
    4 KB (562 words) - 17:43, 12 August 2022
  • {{Note|A line without any spaces in it will not break, meaning it may exceed ''maxwidth''.}} ...dth, it's scale or font, etc.) and caching the result, rather than calling it [[onClientRender]] or similarly frequent events.}}
    5 KB (670 words) - 16:32, 31 May 2020
  • * If the player's map is showing, it returns four integers: ''minX'', ''minY'', ''maxX'', ''maxY''. These are ' ...s within the viewable screen area (this is not necessary when working with dxDrawText anyway)
    7 KB (923 words) - 17:39, 2 July 2016
  • [[Dgs|DGS]] Properties is always used to change the gui style and make it more fantastic. This is equivalent to [[dgsSetFont]]/[[dgsGetFont]]. ''Learn More [[dxDrawText]]''
    5 KB (813 words) - 06:49, 9 December 2021
  • This function returns ''true'' if the vehicle is going backwards, otherwise it returns ''false'' if the vehicle is going forwards or is stoped. The client-side version is more trustable because it also checks the vehicle gear.
    5 KB (489 words) - 05:43, 3 March 2023
  • *'''base:''' A string representing what the returned position is relative to. It can be one of the following values: ..."This example gets the name and the position of the components and outputs it in the chat.">
    3 KB (315 words) - 23:14, 11 November 2019
  • ...he unit of the speed returned. If not specified, the unit will be ''m/s''. It can be specified as a ''[[string]]'' or ''number'' as follows: ...'' containing the [[element]]'s speed if the arguments provided are valid. It returns ''[[nil]]'' plus an ''error'' otherwise.
    4 KB (508 words) - 10:43, 3 June 2020
  • This function draws a dxText but it will make it relative. bool dxDrawText ( string text, float leftX, float topY [, float rightX = leftX, float botto
    3 KB (489 words) - 17:37, 5 January 2023
  • [[Dgs|DGS]] Properties is always used to change the gui style and make it more fantastic. This property determines the background color of the edit when it is blurred.
    13 KB (1,690 words) - 07:45, 30 June 2023
  • ...hree floats indicating the position ''x'', ''y'' and ''z'' of given dummy. It returns ''false'' otherwise. ...ill draw rectangle over every dummy in vehicle player is currently sitting it.
    3 KB (436 words) - 12:29, 18 January 2021
  • [[Dgs|DGS]] Properties is always used to change the gui style and make it more fantastic. ...alue of the state of whether this memo allows users to copy something from it.
    12 KB (1,576 words) - 06:24, 11 June 2023
  • {{Tip|It is highly recommended that [[dxSetTestMode]] is used when writing and testi ...u can draw on the render target as many times as you like - and even clear it.
    4 KB (518 words) - 16:34, 10 August 2023
View (previous 50 | ) (20 | 50 | 100 | 250 | 500)