I'm currently having a problem on my server where as a few of my custom load out sets have stopped working (unknown reason). Unfortunately the only backup of the mission.pbo which I have is recent and includes the problem!
As usual the newloadout.sqf is called in the init.sqf of the mission.pbo.
init.sqf:
if (!isDedicated) then {
...
//Forces Custom Loadouts Call
[] ExecVM "scripts\newloadout.sqf";
...
newloadout.sqf:
//Default Loadout
DefaultMagazines = ["ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemWaterbottleBoiled","FoodSteakCooked","BoltSteel","BoltSteel","BoltSteel"];
DefaultWeapons = ["Crossbow","glock17_EP1","ItemMap","ItemFlashlightRed","ItemHatchet"];
DefaultBackpack = "DZ_Patrol_Pack_EP1";
DefaultBackpackWeapon = "";
//Admin Loadout: Skyfall009
if ((getPlayerUID player) in ["166587590", "30015046"]) then {
DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBandage","17Rnd_9x19_glock17","17Rnd_9x19_glock17","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","ItemWaterbottleBoiled","FoodSteakCooked","20Rnd_B_AA12_74Slug","20Rnd_B_AA12_Pellets","20Rnd_B_AA12_Pellets","ItemGoldBar10oz", "Skin_Rocket_DZ"];
DefaultWeapons = ["glock17_EP1","AA12_PMC","Binocular_Vector","NVGoggles","ItemMap","ItemCompass","ItemGPS","ItemWatch","ItemKnife","ItemToolbox","ItemCrowbar","ItemEtool","ItemHatchet"];
DefaultBackpack = "DZ_LargeGunBag_EP1";
DefaultBackpackWeapon = "";};
//Recon Donator Loadout: MrMunch Tay Remi THCCraig MrTinkertin Joe JOHN
if ((getPlayerUID player) in ["96335814", "232739974", "46237190", "155258950", "42568454", "124715718", "198392838", "113286278"]) then {
DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","ItemBloodbag","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemMorphine","ItemPainkiller","ItemWaterbottleBoiled","FoodSteakCooked","20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","ItemGoldBar10oz","Skin_Sniper_DZ"];
DefaultWeapons = ["M9SD","DMR","NVGoggles","ItemMap","ItemCompass","ItemGPS","ItemWatch","ItemKnife","ItemToolbox","ItemCrowbar","ItemEtool","ItemHatchet"];
DefaultBackpack = "DZ_GunBag_EP1";
DefaultBackpackWeapon = "";};
//Assault Donator Loadout: Snif THCCaptain Soapy LYNSKEY
if ((getPlayerUID player) in ["92022406", "198392006", "36094982", "823169"]) then {
DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemMorphine","ItemPainkiller","ItemWaterbottleBoiled","ItemBloodbag","FoodSteakCooked","30Rnd_556x45_Stanag","30Rnd_556x45_StanagSD","30Rnd_556x45_StanagSD","ItemGoldBar10oz"];
DefaultWeapons = ["M9SD","M4A1_AIM_SD_camo","ItemMap","ItemCompass","ItemGPS","ItemWatch","ItemKnife","ItemToolbox","ItemCrowbar","ItemEtool","ItemHatchet"];
DefaultBackpack = "DZ_GunBag_EP1";
DefaultBackpackWeapon = "";};
//LMG Donator Loadout: TRIZEN
if ((getPlayerUID player) in [""]) then {
DefaultMagazines = ["ItemBandage","ItemBandage","ItemBandage","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemMorphine","ItemPainkiller","ItemBloodbag","ItemWaterbottleBoiled","FoodSteakCooked","200Rnd_556x45_M249","200Rnd_556x45_M249","200Rnd_556x45_M249","ItemGoldBar10oz","Skin_Soldier1_DZ"];
DefaultWeapons = ["M9SD","M249_DZ","ItemMap","ItemCompass","ItemGPS","ItemWatch","ItemKnife","ItemToolbox","ItemCrowbar","ItemEtool","ItemHatchet"];
DefaultBackpack = "DZ_GunBag_EP1";
DefaultBackpackWeapon = "";};
Any help as to why people only seem to spawn with the default loadout would be greatly appreciated.
Question
Trizen
Hey!
I'm currently having a problem on my server where as a few of my custom load out sets have stopped working (unknown reason). Unfortunately the only backup of the mission.pbo which I have is recent and includes the problem!
As usual the newloadout.sqf is called in the init.sqf of the mission.pbo.
init.sqf:
newloadout.sqf:
Any help as to why people only seem to spawn with the default loadout would be greatly appreciated.
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now