Difference between revisions of "GET ASPECT RATIO"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Native |game = 4 |noheader = 0 |np = 0 |r = 1 |rt = float |rd = aspect ratio }} If the aspect ratio is 16:9, then the float returned will be 16...")
 
 
Line 8: Line 8:
 
}}
 
}}
  
If the aspect ratio is 16:9, then the float returned will be 16 divided by 9, which is 1.778.
+
Example for returned value: If the aspect ratio is 16:9, then the float returned will be 16 divided by 9, which is 1.778.

Latest revision as of 03:16, 27 August 2014

GET_ASPECT_RATIO
Number of parameters: 0
Return value:
TypeDescription
floataspect ratio

Example for returned value: If the aspect ratio is 16:9, then the float returned will be 16 divided by 9, which is 1.778.