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

◆ CheckForTakeItem()

bool DayZPlayer::CheckForTakeItem ( EntityAI item)
inlineprotected

anti-cheat condition

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

3619 {
3620 bool restrained = IsRestrained(); // IsRestrained()
3621 bool unconscious = IsUnconscious(); // IsRestrained()
3622
3623 ItemBase ib = ItemBase.Cast(item);
3624 if (ib && (PlayerBase.DEBUG_INVENTORY_ACCESS || !IsAlive() || restrained || unconscious || ib.CanBeMovedOverride()))
3625 return true;
3626 return false;
3627 }
class GP5GasMask extends MaskBase ItemBase
bool IsRestrained()

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

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