Advertisement
Guest User

Untitled

a guest
Jul 16th, 2014
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 5.39 KB | None | 0 0
  1. _isBandit = (player getVariable ["humanity",0] < -5000);
  2. _isAwesomeBandit = ((player getVariable ["humanity",0] < -10000) && (player getVariable ["humanity",0] > -19999));
  3. _isEpicBandit = ((player getVariable ["humanity",0] < -20000) && (player getVariable ["humanity",0] > -29999));
  4. _isPerfectBandit = (player getVariable ["humanity",0] < -30000);
  5.  
  6. _mags =
  7. ['20Rnd_762x51_DMR','30Rnd_545x39_AK','30Rnd_556x45_Stanag','ItemMorphine','ItemBloodbag','ItemAntibiotic','ItemPainkiller','FoodSteakCooked','ItemSodaCoke'];
  8.  
  9. _weapons =
  10. ['ItemEtool','ItemKnife','ItemMatchbox','ItemGPS','ItemFishingPole','M4A1','M40A3','AKS_74_U'];
  11.  
  12. _bp =
  13. ['DZ_LargeGunBag_EP1','DZ_Patrol_Pack_EP1','DZ_ALICE_Pack_EP1','DZ_British_ACU'] call BIS_fnc_selectRandom;
  14.  
  15. _magss =
  16. ['20Rnd_762x51_DMR','30Rnd_545x39_AK','30Rnd_556x45_Stanag','ItemSodaPepsi','ItemTent','FoodCanCorn','FoodNutmix','ItemSodaClays','FoodCanSardines'];
  17.  
  18. _weaponss =
  19. ['ItemEtool','ItemKnife','ItemMatchbox','ItemGPS','ItemFishingPole','M16a2','DMR','AK_107_pso'];
  20.  
  21. _bpp =
  22. ['DZ_Assault_Pack_EP1','DZ_TK_Assault_Pack_EP1','DZ_GunBag_EP1','DZ_CompactPack_EP1'] call BIS_fnc_selectRandom;
  23.  
  24. _maggs =
  25. ['20Rnd_762x51_DMR','30Rnd_545x39_AK','30Rnd_556x45_Stanag','ItemEpinephrine','FoodCanBakedBeans','FoodCanFrankBeans','FoodCanPasta','ItemSodaDrwaste','ItemSodaSmasht'];
  26.  
  27. _weaponns =
  28. ['ItemEtool','ItemKnife','ItemMatchbox','ItemGPS','ItemFishingPole','M16a4_acg','M24','AK_74'];
  29.  
  30. _bbp =
  31. ['DZ_CivilBackpack_EP1','DZ_Backpack_EP1','DZ_TerminalPack_EP1'] call BIS_fnc_selectRandom;
  32.  
  33. _skin =
  34. ['Skin_Sniper1_DZ','Skin_Camo1_DZ','Skin_Survivor2_DZ','Skin_Soldier1_DZ','Skin_Rocket_DZ','Skin_RU_Policeman_DZ','Skin_Functionary1_EP1_DZ','Skin_GUE_Commander_DZ','Skin_Ins_Soldier_GL_DZ','Skin_Haris_Press_EP1_DZ','Skin_Pilot_EP1_DZ','Skin_Priest_DZ','Skin_Rocker1_DZ','Skin_Bandit1_DZ','Skin_Bandit2_DZ'] call BIS_fnc_selectRandom;
  35.  
  36. _skinn =
  37. ['Skin_Drake_Light_DZ','Skin_Soldier_Bodyguard_AA12_PMC_DZ','Skin_FR_OHara_DZ','Skin_FR_Rodriguez_DZ','Skin_CZ_Soldier_Sniper_EP1_DZ','Skin_Graves_Light_DZ','Skin_Soldier_Sniper_PMC_DZ','Skin_Soldier_TL_PMC_DZ','Skin_TK_Special_Forces_MG_EP1_DZ','Skin_TK_Soldier_Sniper_EP1_DZ','Skin_TK_Commander_EP1_DZ','Skin_INS_Lopotev_DZ','Skin_INS_Soldier_AR_DZ','Skin_INS_Soldier_CO_DZ','Skin_INS_Bardak_DZ'] call BIS_fnc_selectRandom;
  38.  
  39. _skiin =
  40. ['Skin_GUE_Soldier_MG_DZ','Skin_GUE_Soldier_Sniper_DZ','Skin_BanditW1_DZ','Skin_BanditW2_DZ','Skin_SurvivorW3_DZ','Skin_SurvivorW2_DZ','Skin_SurvivorWpink_DZ','Skin_SurvivorWsequisha_DZ','Skin_SurvivorWsequishaD_DZ','Skin_SurvivorWcombat_DZ','Skin_SurvivorWdesert_DZ','Skin_SurvivorWurban_DZ','Skin_TK_INS_Warlord_EP1_DZ','Skin_TK_INS_Soldier_EP1_DZ','Skin_CZ_Special_Forces_GL_DES_EP1_DZ'] call BIS_fnc_selectRandom;
  41.  
  42. _cratemags = [_mags,_magss,_maggs] call BIS_fnc_selectRandom;
  43. _crateweps = [_weapons,_weaponss,_weaponns] call BIS_fnc_selectRandom;
  44. _cratebp = [_bp,_bpp,_bbp] call BIS_fnc_selectRandom;
  45. _skinplayer = [_skin,_skinn,_skiin] call BIS_fnc_selectRandom;
  46.  
  47. if (_isbandit) then {
  48.    
  49.     //_bandit = [[2840.74,10159.4,0.002], [3897.95,8757.93,0.001], [13307.1,13091,0.001], [10368.3,9905.98,0.001], [4439.28,8841.53,0.001], [12241.8,11064.6,0.002], [3878.13,10903.7,0.001], [4637.62,6950.64,0.002], [10209.2,9634.9,0.002], [7968.87,11433.7,0.002], [4759.99,12505.6,0.001], [11206.6,12072.5,0.002], [7229.56,7824.12,0.002], [7008.05,7621.04,0.001], [10490,9819.16,0.001], [6136.16,7376.88,0.001], [8298.22,6731.11,0.002], [10915.4,8230.39,0.001], [10607.9,12362,0.002], [6470.61,6305.54,0.002]] call BIS_fnc_selectRandom;
  50.     player setPosATL _Bandit;
  51.     player addMagazine _skinplayer;
  52.     systemChat ("You're a bandit!");
  53.    
  54.     if (_isAwesomeBandit) then {
  55.         _object = 'M1030' createVehicle (position player);
  56.         _object setVariable ["Mission",1,true];
  57.         _uniqueid = str(round(random 999999));
  58.         _object setVariable ["ObjectID", _uniqueid, true];
  59.         _object setVariable ["ObjectUID", _uniqueid, true];
  60.         clearMagazineCargo _object;
  61.         clearWeaponCargo _object;
  62.         titleText ["Time To Fuck Someone's Day Up!! Car will not save after restart!", "PLAIN DOWN", 3];
  63.     };
  64.     if (_isEpicBandit) then {
  65.         _object = 'SUV_Red' createVehicle (position player);
  66.         _object setVariable ["Mission",1,true];
  67.         _uniqueid = str(round(random 999999));
  68.         _object setVariable ["ObjectID", _uniqueid, true];
  69.         _object setVariable ["ObjectUID", _uniqueid, true];
  70.         clearMagazineCargo _object;
  71.         clearWeaponCargo _object;
  72.         titleText ["Time To Fuck Someone's Day Up!! Car will not save after restart!", "PLAIN DOWN", 3];
  73.     };
  74.     if (_isPerfectBandit) then {
  75.         _object = 'CSJ_GyroC' createVehicle (position player);
  76.         _object setVariable ["Mission",1,true];
  77.         _uniqueid = str(round(random 999999));
  78.         _object setVariable ["ObjectID", _uniqueid, true];
  79.         _object setVariable ["ObjectUID", _uniqueid, true];
  80.         clearMagazineCargo _object;
  81.         clearWeaponCargo _object;
  82.        
  83.  
  84.         _pos = getPosATL player;
  85.  
  86.         _box = 'Foodbox0' createVehicle _pos;
  87.         _box setPosATL _pos;
  88.         _box setVariable ["permaLoot",true];
  89.         _box setVariable ["Mission",1,true];
  90.  
  91.         clearWeaponCargoGlobal _box;
  92.         clearmagazinecargoGlobal _box;
  93.        
  94.         {_box addWeaponCargoGlobal [_x, 1];} forEach _crateweps;
  95.         {_box addMagazineCargoGlobal [_x, 3];} forEach _cratemags;
  96.         _box addBackpackCargo [_cratebp, 1];
  97.         titleText ["Time To Fuck Someone's Day Up!! Car will not save after restart! Box will be deleted in 4 minutes!", "PLAIN DOWN", 3];
  98.        
  99.         sleep 240;
  100.        
  101.         deleteVehicle _box;
  102.     }; 
  103. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement