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

◆ CheckForTakeItem()

bool DayZPlayer::CheckForTakeItem ( EntityAI item)
inlineprotected

anti-cheat condition

См. определение в файле DayZPlayerImplement.c строка 3667

3668 {
3669 bool restrained = IsRestrained(); // IsRestrained()
3670 bool unconscious = IsUnconscious(); // IsRestrained()
3671
3672 ItemBase ib = ItemBase.Cast(item);
3673 if (ib && (PlayerBase.DEBUG_INVENTORY_ACCESS || !IsAlive() || restrained || unconscious || ib.CanBeMovedOverride()))
3674 return true;
3675 return false;
3676 }
class GP5GasMask extends MaskBase ItemBase
bool IsRestrained()

Перекрестные ссылки IsRestrained().

Используется в CheckForDropItem().