Guest User

bike4

a guest
Sep 10th, 2013
101
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (dayz_combat == 1) then {
  2. cutText [format["You are in Combat and cannot Re-Pack your motorcycle"], "PLAIN DOWN"];
  3. } else {
  4. player removeAction s_player_deploybike4;
  5. player playActionNow "Medic";
  6. r_interrupt = false;
  7. deletevehicle cursortarget;
  8. _dis=10;
  9. _sfx = "repair";
  10. [player,_sfx,0,false,_dis] call dayz_zombieSpeak;
  11. [player,_dis,true,(getPosATL player)] spawn player_alertZombies;
  12.  
  13. sleep 6;
  14.  
  15. _pos = getpos player;
  16. _object = "WeaponHolder" createVehicle getposATL player; _object addMagazinecargo ["PartGeneric", 1]; _object addMagazinecargo ["PartEngine", 1];
  17. _object setPos _pos;
  18. player addWeapon "ItemToolbox";
  19.  
  20. cutText [format["You have packed your motorcylce. Your parts have been dropped on the ground."], "PLAIN DOWN"];
  21.  
  22. r_interrupt = false;
  23. player switchMove "";
  24. player playActionNow "stop";
  25. };
RAW Paste Data