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

◆ CheckForTakeItem()

bool DayZPlayer::CheckForTakeItem ( EntityAI item)
inlineprotected

anti-cheat condition

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

3812 {
3813 bool restrained = IsRestrained(); // IsRestrained()
3814 bool unconscious = IsUnconscious(); // IsRestrained()
3815
3816 ItemBase ib = ItemBase.Cast(item);
3817 if (ib && (PlayerBase.DEBUG_INVENTORY_ACCESS || !IsAlive() || restrained || unconscious || ib.CanBeMovedOverride()))
3818 return true;
3819 return false;
3820 }
class GP5GasMask extends MaskBase ItemBase
bool IsRestrained()

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

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