Difference between revisions of "0581"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{OpCode | ini = 0581=1,enable_radar %1d% | description = Hides or displays the radar. | p1 = integer value (0/1) | game = Vice City, [[San Andreas]…')
 
Line 1: Line 1:
{{OpCode
+
{{Icon|VC}} {{Icon|SA}}
| ini        = 0581=1,enable_radar %1d%
+
<hr />
| description = Hides or displays the radar.
+
'''Description'''
| p1          = integer value (0/1)
+
: Displays the "radar" mini-map
| game        = [[Vice City]], [[San Andreas]]
+
'''Syntax'''
}}
+
: 0581: enable_radar [''int'']
In Vice City, this opcode was used in the Hotring side mission.
+
'''Parameter'''
 +
: [''int'']
 +
:: Boolean (0 = hide, 1 = show)
 +
'''Native analog'''
 +
: [[DISPLAY_RADAR]]
 +
This opcode displays the "radar" mini-map on the bottom left corner of the HUD. By default, the value of the opcode is set to 1. Hiding the radar will remove the entire disc and all blips from the HUD.
  
== Sanny Builder example ==
+
== Keywords ==
 +
toggle, set, radar, minimap
  
<source lang="scm">0581: enable_radar 1 </source>
+
[[Category:OpCodes]]
 
 
==Keywords==
 
radar
 

Revision as of 06:04, 6 December 2011

Vice City San Andreas


Description

Displays the "radar" mini-map

Syntax

0581: enable_radar [int]

Parameter

[int]
Boolean (0 = hide, 1 = show)

Native analog

DISPLAY_RADAR

This opcode displays the "radar" mini-map on the bottom left corner of the HUD. By default, the value of the opcode is set to 1. Hiding the radar will remove the entire disc and all blips from the HUD.

Keywords

toggle, set, radar, minimap