DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ IsFlagSet()

proto native external bool IEntity::IsFlagSet ( EntityFlags flags)
protected

Test if one or more of specified flags are set.

Возвращает
bool True if is set, false otherwise.
Man player = g_Game.GetPlayer();
player.SetFlags(EntityFlags.VISIBLE);
Print( player.IsFlagSet(EntityFlags.VISIBLE) );
>> true
DayZGame g_Game
Определения DayZGame.c:3868
proto void Print(void var)
Prints content of variable to console/log.
EntityFlags
Entity flags.
Определения EnEntity.c:115