Difference between revisions of "09E8"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{OpCode | ini = 09E8=2,%2d% %1d% | description = Gets a pedestrian's current interior number | p1 = Interior Handle | p2 = Actor Handle | game …')
 
Line 1: Line 1:
 
{{OpCode
 
{{OpCode
| ini        = 09E8=2,%2d%  %1d%
+
| games      = {{Icon|SA}}
| description = Gets a pedestrian's current interior number
+
| command    = GET_CHAR_AREA_VISIBLE
| p1          = Interior Handle
+
| description = Gets the character's current [[Interior#San Andreas|interior number]]
| p2          = Actor Handle
+
| syntax1    = 09E8: [''var''] = actor [''char handle''] active_interior
| game        = [[San Andreas]]
+
| p1t        = [''var'']
 +
| p1d        = Variable to store the interior number
 +
| p2t        = [''char handle'']
 +
| p2d        = The handle of the character
 
}}
 
}}
  
This opcode gets a pedestrian's current interior number.
+
This opcode gets the character's current interior number.
 
 
==Sanny Builder Example==
 
<source lang="scm">09E8: $GYMFIGHT_INTERIOR = actor $PLAYER_ACTOR active_interior</source>
 
  
 
==Keywords==
 
==Keywords==
interior, number, get
+
interior, number, get, area, visible, character, actor

Revision as of 07:01, 28 January 2016

San Andreas GET_CHAR_AREA_VISIBLE


Description
Gets the character's current interior number
Syntax
09E8: [var] = actor [char handle] active_interior
Parameter
[var]
Variable to store the interior number
[char handle]
The handle of the character

This opcode gets the character's current interior number.

Keywords

interior, number, get, area, visible, character, actor