[SOLVED] (1.8.0.3) Default Starting gear / Spawn Select

Hi,
I have the spawn select active on my server & want to keep it.
I want to change the default starting gear on my server as it is currently players spawn with 'flares' only.

Whatever hive version I am using, apparently it doesn't support database custom loadouts, so this is a no go.


I edited the "server_playerLogin.sqf" to look like this:
Code:
//Variables
_inventory =    [["M9SD","ItemMap","ItemHatchet","ItemToolbox"],["ItemPainkiller","ItemMorphine","ItemAntibiotic","ItemBloodbag","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD","ItemBandage","ItemBandage"]];
_backpack =     [DZ_Assault_Pack_EP1];
_items =         [];
_magazines =     [];
_weapons =         [];
_medicalStats =    [];
_survival =        [0,0,0];
_tent =            [];
_state =         [];
_direction =    0;
_model =        "";
_newUnit =        objNull;
_botActive = false;
The loadout works fine, but after a player dies - The 'spawn select' fails to work correctly and spawns the player at otmel regardless of where they select.

Is there another option for this or am I inserting the above items incorrectly?
 
SOLVED:

In the server_playerLogin.sqf

After:
Code:
/* PROCESS */
_hiveVer = 0;
I inserted this:
Code:
if(_isNew) then {
_inventory = [["ItemHatchet","ItemMap","ItemToolbox"], ["ItemAntibiotic","ItemBandage","ItemBloodbag","ItemMorphine"]];
};
Obviously customize it for yourself but this works for me
 
Top