Difference between revisions of "0E0E"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{OpCode | games = {{Icon|SA}} | command = GET_CURRENT_RESOLUTION | description = Returns the current resolution. | syntax1 = 0E0E: get_current_resolution_to 0@...")
 
Line 6: Line 6:
 
| syntax2    = get_current_resolution 0@ 1@
 
| syntax2    = get_current_resolution 0@ 1@
 
| p1t        = [''int'']
 
| p1t        = [''int'']
| p1d        = Current X game resolution in integer.
+
| p1d        = Current X game resolution.
 
| p2t        = [''int'']
 
| p2t        = [''int'']
| p2d        = Current Y game resolution in integer.
+
| p2d        = Current Y game resolution.
 
}}
 
}}
  

Revision as of 15:16, 21 April 2021

San Andreas GET_CURRENT_RESOLUTION


Description
Returns the current resolution.
Syntax
0E0E: get_current_resolution_to 0@ 1@
get_current_resolution 0@ 1@
Parameter
[int]
Current X game resolution.
[int]
Current Y game resolution.

This opcode is used to get the current game resolution without reading game's memory. This is a part of CLEO+'s opcodes. This section is incomplete. You can help by fixing and expanding it.

Keywords

resolution, cleo+, cleoplus