Difference between revisions of "099D"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
Line 4: Line 4:
 
| description = Checks if night vision is active
 
| description = Checks if night vision is active
 
| syntax1    = 099D:   night_vision_enabled
 
| syntax1    = 099D:   night_vision_enabled
| p1t        = [''none'']
+
| p1t        = ''none''
 
}}
 
}}
  
This opcode returns true if night vision is active, which usually happens when a player wears night vision googles.
+
This conditional opcode returns true if night vision is active, which usually happens when a player wears night vision googles.
  
 
== Keywords ==
 
== Keywords ==

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