Difference between revisions of "GetHimHer"
From UODemo Wiki
(Created page with 'integer '''getHimHer'''(object ''Mobile'');<br> The ''getHimHer'' function will return a string containing "him", "her" or "it" based on the sex value of a mobile. See [[getSex]…') |
(No difference)
|
Revision as of 11:16, 13 September 2010
integer getHimHer(object Mobile);
The getHimHer function will return a string containing "him", "her" or "it" based on the sex value of a mobile. See getSex.
sex=0: "him" is returned
sex=1: "her" is returned
sex=2: "it" is returned
If an invalid object/mobile is provided than the string "him" will be returned, see getSex for more details.
Return to the Command List.