Difference between revisions of "03A3"

From GTAMods Wiki
Jump to navigation Jump to search
(updating page)
m
Line 1: Line 1:
{{Icon|trilogy}}
+
{{Icon|trilogy}} '''IS_CHAR_MALE'''
 
<hr />
 
<hr />
 
'''Description'''
 
'''Description'''
 
: Checks if the character is male
 
: Checks if the character is male
 
'''Syntax'''
 
'''Syntax'''
: 03A3:   actor [''char handle''] male
+
: 03A3: &nbsp; actor [''char handle''] male
 
'''Parameter'''
 
'''Parameter'''
 
: [''char handle'']
 
: [''char handle'']
Line 11: Line 11:
 
: [[IS_CHAR_MALE]]
 
: [[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."
+
This conditional opcode returns true if the character is not [[pedtype]] 5 or 20 in GTA III and Vice City, or 5 or 22 in San Andreas, essentially checking if the character is "male."
  
 
== Keywords ==
 
== Keywords ==

Revision as of 08:04, 8 January 2015

GTA III Vice City San Andreas IS_CHAR_MALE


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 character is not pedtype 5 or 20 in GTA III and Vice City, or 5 or 22 in San Andreas, essentially checking if the character is "male."

Keywords

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