IsFemale
Returns True if the specified мобайл has the female flag set, False otherwise.
ObjID — ID of the мобайл to check.
Returns False if the object does not exist or the character is disconnected.
Возвращает True, если у указанного мобайла установлен флаг женского пола, иначе False.
ObjID — ID мобайла для проверки.
Возвращает False, если объект не существует или персонаж не подключён.
function IsFemale(ObjID: Cardinal): Boolean;
def IsFemale(ObjID: int) -> bool: ...
begin
if IsFemale(Self) then
AddToSystemJournal('Character is female')
else
AddToSystemJournal('Character is male');
end.
if IsFemale(Self()):
AddToSystemJournal('Character is female')
else:
AddToSystemJournal('Character is male')