Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _soldat = _this select 0;
- policjant = [policjant_1];
- wyrzucil_bron = false;
- sleep 10;
- _numPlayers = {_x distance policjant_1 < 30} count allPlayers;
- if(_numPlayers >2) then {policjant_1 doMove (getPos komenda)} else {
- if ((bron_wyciagnieta) && (_soldat distance policjant_1 < 30)) then {
- hint "Policjant:Stój rzuć broń!";
- policjant_1 doTarget _soldat;
- _soldat AddAction [ "RZUĆ BROŃ", {
- wyrzucil_bron = true;
- removeAllWeapons (_this select 1);
- } ];
- waitUntil {wyrzucil_bron};
- policjant_1 doMove (getPos _soldat);
- if (_soldat distance policjant_1 < 5) then {
- _soldat setPos (getPos wiezienie);
- hint "Zostales przetransportowany do wiezienia, twoj ekwipunek zostal zabrany";
- };
- } else {hint "Policjant: Idziesz, idziesz";};
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement