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 …')
 
 
(One intermediate revision by one other user not shown)
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        = [''char handle'']
 +
| p1d        = The handle of the character
 +
| p2t        = [''var'']
 +
| p2d        = Variable to store the interior number
 
}}
 
}}
  
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

Latest revision as of 00:54, 20 November 2016

San Andreas GET_CHAR_AREA_VISIBLE


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

This opcode gets the character's current interior number.

Keywords

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