Sign in to follow this  
Followers 0
ProtoFlex

Spawn items

5 posts in this topic

Can someone please tell me why this doesn't spawn me with a backpack or head gear:

    class BambiSettings
    {
        /**
         * Loadout of new bambi players
         *
         * (They will always spawn with a bambi overall - you cannot 
         * change the loadout uniform)
         */
        loadOut[] = 
        {
            "B_mas_AssaultPack_mul",
            "ItemCompass",
            "ItemMap",
            "Exile_Item_XM8",
            "ItemRadio",
            "Exile_Item_PlasticBottleFreshWater",
            "arifle_mas_m4",
            "30Rnd_mas_556x45_Stanag",
            "30Rnd_mas_556x45_Stanag",
            "NVGoggles_mas_mask_b",
            "muzzle_mas_snds_L",
            "U_B_PilotCoveralls"

Share this post


Link to post
Share on other sites
Advertisement

I dont know who made this but it's floating around a lot of servers gotta spawn on the ground tho cause it will delete the steerable parachute and add a diff backpack

starting loadout.sqf

uiSleep 2;
if (ExileClientPlayerMoney > 0) then {
        uiSleep 1;
		hint "Gear Supplied"; 
		clearWeaponCargo player;
		clearMagazineCargo player;
		removeBackpackGlobal player;
		player forceAddUniform "Exile_Uniform_ExileCustoms";
		player addBackpack  "B_mas_AssaultPack_mul";
		player addWeapon  "NVGoggles_mas_mask_b";
		player addWeapon "ItemRadio";
		player addWeapon "ItemGPS";
		player addWeapon 'Exile_Item_XM8';
		player addWeapon "ItemCompass";
		player addWeapon 'rangefinder';
		player addItemToBackpack "Exile_Item_BBQSandwich_Cooked";
		player addItemToBackpack "Exile_Item_Energydrink";
		player addItemToBackpack "Exile_Item_InstaDoc";
		player addItemToBackpack "arifle_mas_m4";
		player addItemToBackpack  "U_B_PilotCoveralls";
		player addItemToVest "30Rnd_mas_556x45_Stanag";
};

init.sqf

execVM "startingloadout.sqf";

 

 

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.