Difference between revisions of "03A3"
Jump to navigation
Jump to search
(updating page) |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{Icon| | + | {{OpCode |
− | + | | games = {{Icon|t}} | |
− | + | | command = IS_CHAR_MALE | |
− | + | | description = Checks if the character is male | |
− | + | | syntax1 = 03A3: actor [''char handle''] male | |
− | + | | p1t = [''char handle''] | |
− | + | | p1d = The handle of the character | |
− | + | | native = [[IS_CHAR_MALE]] | |
− | + | }} | |
− | |||
− | |||
− | This conditional opcode returns true if the | + | This conditional opcode returns true if the [[ped type]] of the character is not CIVFEMALE or PROSTITUTE, essentially returning true if the character is "male." |
== Keywords == | == Keywords == | ||
check, actor, character, female, man, men, woman, women, gender | check, actor, character, female, man, men, woman, women, gender | ||
− | |||
− |
Latest revision as of 09:08, 7 November 2016
- 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 ped type of the character is not CIVFEMALE or PROSTITUTE, essentially returning true if the character is "male."
Keywords
check, actor, character, female, man, men, woman, women, gender