Advertisement
Brord

loadouts.sqf

Feb 19th, 2015
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 6.03 KB | None | 0 0
  1. /*
  2.     By: NoxSicarius
  3.    
  4.     Disclaimer:
  5.         This loadout script is offered FREE OF CHARE to anyone and everyone who wants it. If you wish to redistribute
  6.         this script or use it in your own mod release then you must give credit to me and you MUST release it in
  7.         accordance with copyleft and the GNU GPL v3 Licence agreement.
  8.         This script is licensed under GNU GPL v3 and using/distributing this script constitutes your agreement to
  9.         these terms.
  10. */
  11.  
  12. private ["_player","_UID"];
  13. _player = player;
  14. _UID = getPlayerUID _player;
  15.  
  16. if(isNil "AdminList") then {
  17.     AdminList = ["11111111111","222222222222"]; // Admins (ONLY if you don't have my admin tool installed)
  18.     ModList = ["11111111111","222222222222"];}; // Mods (ONLY if you don't have my admin tool installed)
  19.     DonorList = ["11111111111","222222222222"]; // Donors
  20.     ProDonorList = ["11111111111","222222222222"]; // ProDonors
  21.    
  22. //Admin Loadout
  23. if (_UID in AdminList) then {
  24.     DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","30Rnd_762x39_SA58","30Rnd_762x39_SA58","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemSodaRabbit","FoodSteakCooked"];
  25.     DefaultWeapons = ["glock17_EP1","Sa58V_RCO_EP1","NVGoggles","ItemGPS","ItemKnife","ItemToolbox","ItemCrowbar","ItemHatchet_DZE"];
  26.     DefaultBackpack = "DZ_LargeGunBag_EP1";
  27.     DefaultBackpackWeapon = "";
  28. }else{
  29.     //Moderator Loadout
  30.     if(_UID in ModList) then {
  31.         DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","30Rnd_556x45_G36","30Rnd_556x45_G36","ItemMorphine","ItemPainkiller","ItemBloodbag","FoodSteakCooked","8Rnd_B_Saiga12_Pellets","8Rnd_B_Saiga12_Pellets","8Rnd_B_Saiga12_74Slug","ItemSodaRabbit"];
  32.         DefaultWeapons = ["glock17_EP1","G36K_camo","NVGoggles","ItemMap","ItemToolbox"];
  33.         DefaultBackpack = "DZ_Backpack_EP1";
  34.         DefaultBackpackWeapon = "";
  35.     }else{
  36.         //Pro-Donor Loadout
  37.         if(_UID in ProDonorList) then {
  38.             DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","30Rnd_556x45_G36","30Rnd_556x45_G36","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemSodaRabbit","ItemSodaRabbit","FoodSteakCooked"];
  39.             DefaultWeapons = ["M9SD","G36K_camo","ItemGPS","ItemKnife","ItemToolbox"];
  40.             DefaultBackpack = "DZ_Backpack_EP1";
  41.             DefaultBackpackWeapon = "";
  42.         }else{
  43.             //Donor Loadout
  44.             if(_UID in DonorList) then {
  45.                 DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","ItemSodaRabbit","17Rnd_9x19_glock17","17Rnd_9x19_glock17"];
  46.                 DefaultWeapons = ["glock17_EP1","ItemMap","ItemHatchet_DZE","ItemToolbox"];
  47.                 DefaultBackpack = "DZ_ALICE_Pack_EP1";
  48.                 DefaultBackpackWeapon = "";
  49.             }else{
  50.                 //Default Loadout for normal players
  51.                 DefaultMagazines = ["ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","ItemSodaRabbit"];
  52.                 DefaultWeapons = ["ItemMap","ItemHatchet_DZE"];
  53.                 DefaultBackpack = "DZ_Patrol_Pack_EP1";
  54.                 DefaultBackpackWeapon = "";
  55.             };
  56.         };
  57.     };
  58. };
  59. /*
  60.     By: NoxSicarius
  61.    
  62.     Disclaimer:
  63.         This loadout script is offered FREE OF CHARE to anyone and everyone who wants it. If you wish to redistribute
  64.         this script or use it in your own mod release then you must give credit to me and you MUST release it in
  65.         accordance with copyleft and the GNU GPL v3 Licence agreement.
  66.         This script is licensed under GNU GPL v3 and using/distributing this script constitutes your agreement to
  67.         these terms.
  68. */
  69.  
  70. private ["_player","_UID"];
  71. _player = player;
  72. _UID = getPlayerUID _player;
  73.  
  74. if(isNil "AdminList") then {
  75.     AdminList = ["11111111111","222222222222"]; // Admins (ONLY if you don't have my admin tool installed)
  76.     ModList = ["11111111111","222222222222"];}; // Mods (ONLY if you don't have my admin tool installed)
  77.     DonorList = ["11111111111","222222222222"]; // Donors
  78.     ProDonorList = ["11111111111","222222222222"]; // ProDonors
  79.    
  80. //Admin Loadout
  81. if (_UID in AdminList) then {
  82.     DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","30Rnd_762x39_SA58","30Rnd_762x39_SA58","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemSodaRabbit","FoodSteakCooked"];
  83.     DefaultWeapons = ["glock17_EP1","Sa58V_RCO_EP1","NVGoggles","ItemGPS","ItemKnife","ItemToolbox","ItemCrowbar","ItemHatchet_DZE"];
  84.     DefaultBackpack = "DZ_LargeGunBag_EP1";
  85.     DefaultBackpackWeapon = "";
  86. }else{
  87.     //Moderator Loadout
  88.     if(_UID in ModList) then {
  89.         DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","30Rnd_556x45_G36","30Rnd_556x45_G36","ItemMorphine","ItemPainkiller","ItemBloodbag","FoodSteakCooked","8Rnd_B_Saiga12_Pellets","8Rnd_B_Saiga12_Pellets","8Rnd_B_Saiga12_74Slug","ItemSodaRabbit"];
  90.         DefaultWeapons = ["glock17_EP1","G36K_camo","NVGoggles","ItemMap","ItemToolbox"];
  91.         DefaultBackpack = "DZ_Backpack_EP1";
  92.         DefaultBackpackWeapon = "";
  93.     }else{
  94.         //Pro-Donor Loadout
  95.         if(_UID in ProDonorList) then {
  96.             DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","30Rnd_556x45_G36","30Rnd_556x45_G36","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemSodaRabbit","ItemSodaRabbit","FoodSteakCooked"];
  97.             DefaultWeapons = ["M9SD","G36K_camo","ItemGPS","ItemKnife","ItemToolbox"];
  98.             DefaultBackpack = "DZ_Backpack_EP1";
  99.             DefaultBackpackWeapon = "";
  100.         }else{
  101.             //Donor Loadout
  102.             if(_UID in DonorList) then {
  103.                 DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","ItemSodaRabbit","17Rnd_9x19_glock17","17Rnd_9x19_glock17"];
  104.                 DefaultWeapons = ["glock17_EP1","ItemMap","ItemHatchet_DZE","ItemToolbox"];
  105.                 DefaultBackpack = "DZ_ALICE_Pack_EP1";
  106.                 DefaultBackpackWeapon = "";
  107.             }else{
  108.                 //Default Loadout for normal players
  109.                 DefaultMagazines = ["ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","ItemSodaRabbit"];
  110.                 DefaultWeapons = ["ItemMap","ItemHatchet_DZE"];
  111.                 DefaultBackpack = "DZ_Patrol_Pack_EP1";
  112.                 DefaultBackpackWeapon = "";
  113.             };
  114.         };
  115.     };
  116. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement