Graphics::getIsHidef: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Return value=== *''' {{RageType|boolean}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.graphics.getIsHidef() </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Graphics_functions_c}} Category:Clientside API Category:TODO: Example")
 
No edit summary
 
Line 1: Line 1:
{{ClientsideJsFunction}}
{{ClientsideJsFunction}}
{{JSContainer|
{{JSContainer|
Returns if game is running in hidef


===Return value===
===Return value===
*''' {{RageType|boolean}} '''
*''' {{RageType|true}} ''' any resolution resolution equal or above 1280x720
*''' {{RageType|false}} ''' any resolution below 1280x720


==Syntax==
==Syntax==

Latest revision as of 03:27, 28 May 2024

Client-Side
Function

 JavaScript



JavaScript Syntax


Returns if game is running in hidef

Return value

  • true any resolution resolution equal or above 1280x720
  • false any resolution below 1280x720

Syntax

mp.game.graphics.getIsHidef()

Example

//todo


See also