reeceythelegend 0 Posted February 16, 2015 Hi, I would like to know if it is possible to add players to a custom loadout list I have on my server while the server is running? Here is the script:*/ private ["_player","_UID"];_player = player;_UID = getPlayerUID _player; if(isNil "AdminList") then {AdminList = ["76561198058876600","76561198063243966","76561198063320370"]; // Admins (ONLY if you don't have my admin tool installed)ModList = ["11111111111","222222222222"];}; // Mods (ONLY if you don't have my admin tool installed)DonorList = ["11111111111","222222222222"]; // DonorsProDonorList = ["11111111111","222222222222"]; // ProDonors //Admin Loadoutif (_UID in AdminList) then {DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","17Rnd_9x19_glock17","17Rnd_9x19_glock17",",30Rnd_762x39_AK47","30Rnd_762x39_AK47","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemSodaMdew","FoodSteakCooked"];DefaultWeapons = ["glock17_EP1","AK_47_M","NVGoggles","ItemGPS","ItemMap","ItemKnife","ItemToolbox","ItemCrowbar","ItemHatchet_DZE","Binocular_Vector","ItemMatchbox","ItemFlashlight","ItemCompass","ItemWatch"];DefaultBackpack = "DZ_Backpack_EP1";DefaultBackpackWeapon = "";}else{//Pro-Donor Loadoutif(_UID in ProDonorList) then {DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","ItemMorphine","ItemPainkiller","ItemBloodbag","FoodSteakCooked","ItemSodaMdew","ItemBriefcase100oz","Skin_Sniper1_DZ"];DefaultWeapons = ["M9SD","M4A1_Aim","NVGoggles","ItemMap","ItemToolbox","ItemCompass","ItemGps","Binocular_Vector","ItemWatch","ItemKnife","ItemHatchet","ItemMatchbox","ItemFlashlight","ItemAntibiotic"];DefaultBackpack = "DZ_Backpack_EP1";DefaultBackpackWeapon = "";}else{//Moderator Loadoutif(_UID in ModList) then {DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","30Rnd_556x45_G36","30Rnd_556x45_G36","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemSodaRabbit","ItemSodaRabbit","FoodSteakCooked"];DefaultWeapons = ["G36K_camo","ItemGPS","ItemKnife","ItemToolbox"];DefaultBackpack = "DZ_LargeGunBag_EP1";DefaultBackpackWeapon = "";}else{//Donor Loadoutif(_UID in DonorList) then {DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","FoodCanBakedBeans","ItemSodaCoke","30Rnd_545x39_AK","30Rnd_545x39_AK","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","Skin_Camo1_DZ"];DefaultWeapons = ["AK_74","M9SD","ItemMap","ItemHatchet_DZE","ItemToolbox","Binocular"," ItemCompass"," ItemGps","ItemWatch","ItemKnife","ItemMatchbox","ItemFlashlight","NVGoggles","ItemGoldBar10oz"];DefaultBackpack = "DZ_ALICE_Pack_EP1";DefaultBackpackWeapon = "";}else{//Default Loadout for normal playersDefaultMagazines = ["ItemBandage","ItemBandage","ItemMorphine","ItemPainkiller","ItemSodaCoke","8Rnd_9x18_Makarov","FoodCanBakedBeans"];DefaultWeapons = ["ItemMap","ItemHatchet_DZE","Makarov"];DefaultBackpack = "DZ_Patrol_Pack_EP1"; DefaultBackpackWeapon = "";};};};}; Thanks, Reece Share this post Link to post Share on other sites
Kimzer (DayZ) 0 Posted March 13, 2015 Unless you have some DB based version of custom loadouts thats a no go unfortunately.Wouldnt really matter either as i believe the server has to be restarted to load the new entries from the db aswell. (not quite sure though) Share this post Link to post Share on other sites