Difference between revisions of "099D"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<code>099D=0,  </code><br>
+
{{OpCode
'''Description''': Checks if night vision enabled<br>
+
| games      = {{Icon|SA}}
'''Supports''': San Andreas<br>
+
| command    = IS_NIGHT_VISION_ACTIVE
 +
| description = Checks if night vision is active
 +
| syntax1    = 099D: &nbsp; night_vision_enabled
 +
| p1t        = ''none''
 +
}}
  
This opcode returns true if a player wears a night googles and the night vision is active. Otherwise it is false.
+
This conditional opcode returns true if night vision is active, which usually happens when a player wears night vision googles.
  
==Keywords==
+
== Keywords ==
night vision
+
check, night, vision, enabled, active
  
[[Category:OpCodes]]
+
== See also ==
 +
* {{Icon|SA}} [[08B1]], sets night vision

Latest revision as of 23:59, 30 July 2016

San Andreas IS_NIGHT_VISION_ACTIVE


Description
Checks if night vision is active
Syntax
099D:   night_vision_enabled
Parameter
none

This conditional opcode returns true if night vision is active, which usually happens when a player wears night vision googles.

Keywords

check, night, vision, enabled, active

See also

  • San Andreas 08B1, sets night vision