Пожалуйста на помощь,
_la=[]; _st=true; while{_st}do{ { if(!_st)exitwith{}; _e=_x; _la=[0]; if(typename(_e getvariable"a_carrying_pda")=="array")then{_la=_e getvariable"a_carrying_pda";}; _n=({_x=="pda"}count items _e)+(if(_e iskindof"man")then{ ({_x=="pda"}count assigneditems _e) }else{0}); if(_n!=0)then{systemChat str _n}; if(_n>(_la select 0))then{ _st=false; }; }foreach nearestobjects [_u,[],20]; sleep 0.1; };
в чате только самого игрока (если у него ещё предметы есть)
Сообщение отредактировал Ilias: 31 March 2016 - 19:17