Difference between revisions of "GetPCIsSex"
no edit summary
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
imported>B3w4r3 |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Function | ||
|CSWikiPage = GetPCIsSex | |||
|origin = GECK1 | |||
|summary = | |||
|name = GetPCIsSex | |||
|returnVal = 0, 1 | |||
|returnType = int | |||
|arguments = | |||
{{FunctionArgument | |||
|Name = Sex | |||
|Value = Male, Female | |||
}} | |||
|example = <pre>If GetPCIsSex Male | |||
;execute code if the player is male | |||
endif | |||
If GetPCIsSex Female | |||
;execute code if the player is female | |||
endif</pre> | |||
This will determine the gender of the player, and run code accordingly | |||
}} | |||
==Notes== | |||
None | |||
==See Also== | |||
*[[GetIsSex]] | |||
*[[SameSex]] | |||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Player_Functions]] | |||
[[Category:Functions (GECK 1.1)]] | [[Category:Functions (GECK 1.1)]] |