Difference between revisions of "03A3"

From GTAMods Wiki
Jump to navigation Jump to search
(created page)
 
(updating page)
Line 1: Line 1:
{{OpCode
+
{{Icon|trilogy}}
| ini        = 03A3=1,  %1d%
+
<hr />
| description = Checks if the actor is male
+
'''Description'''
| p1          = Existing actor handle
+
: Checks if the character is male
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
'''Syntax'''
| native      = [[IS_CHAR_MALE]]
+
: 03A3:  actor [''char handle''] male
}}
+
'''Parameter'''
This conditional opcode returns true if the actor is not [[pedtype]] 5 or 20 in GTA 3 and Vice City, or 5 or 22 in San Andreas, essentially checking if the actor is "male."
+
: [''char handle'']
 +
:: The handle of the character
 +
'''Native analog'''
 +
: [[IS_CHAR_MALE]]
 +
 
 +
This conditional opcode returns true if the actor is not [[pedtype]] 5 or 20 in GTA III and Vice City, or 5 or 22 in San Andreas, essentially checking if the actor is "male."
 +
 
 +
== Keywords ==
 +
check, actor, character, female, man, men, woman, women, gender
 +
 
 +
[[Category:OpCodes]]

Revision as of 18:31, 4 September 2011

GTA III Vice City San Andreas


Description

Checks if the character is male

Syntax

03A3: actor [char handle] male

Parameter

[char handle]
The handle of the character

Native analog

IS_CHAR_MALE

This conditional opcode returns true if the actor is not pedtype 5 or 20 in GTA III and Vice City, or 5 or 22 in San Andreas, essentially checking if the actor is "male."

Keywords

check, actor, character, female, man, men, woman, women, gender