Search results

Jump to navigation Jump to search
  • *'''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
View ( | ) (20 | 50 | 100 | 250 | 500)