SHARE
TWEET

bike5

a guest Sep 10th, 2013 107 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if !("PartGeneric" in magazines player && "PartVRotor" in magazines player) exitWith {cutText [format["You need Scrap Metal and a Main Rotor Assembly to upgrade your Motorcycle"], "PLAIN DOWN"];};
  2. if (dayz_combat == 1) then {
  3.     cutText [format["You are in Combat and cannot build a GyroCopter."], "PLAIN DOWN"];
  4. } else {
  5.         player removeAction s_player_deploybike;
  6.         player playActionNow "Medic";
  7.         r_interrupt = false;
  8.         player removeMagazine "PartGeneric";
  9.         player removeMagazine "PartVRotor";
  10.         deletevehicle cursortarget;
  11.         _dis=10;
  12.         _sfx = "repair";
  13.         [player,_sfx,0,false,_dis] call dayz_zombieSpeak;
  14.         [player,_dis,true,(getPosATL player)] spawn player_alertZombies;
  15.        
  16.         sleep 6;
  17.        
  18.         _object = "CSJ_GyroC" createVehicle (position player);
  19.         _object setVariable ["ObjectID", "1", true];
  20.         _object setVariable ["ObjectUID", "1", true];
  21.        
  22.         _object attachto [player,[0.0,3.0,2.5]];
  23.         _object setfuel 0.5;
  24.         sleep 3;
  25.         detach _object;
  26.         player reveal _object;
  27.  
  28.         cutText [format["You've converted your motorcyle into a gyrocopter."], "PLAIN DOWN"];
  29.        
  30.         r_interrupt = false;
  31.         player switchMove "";
  32.         player playActionNow "stop";
  33.        
  34.         sleep 10;
  35.        
  36.         cutText [format["Warning: Spawned GyroCopters DO NOT SAVE after server restart!"], "PLAIN DOWN"];
  37.        
  38. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top