DAY-Z 1.8.1 with Pwnoz0r Server - COSTUM LOADOUT - Need help

xtenk

New Member
Hey, i found a solution to make costum loadouts in server_playerLogin.sqf ... like:

//Variables
_inventory = [[],["ItemMorphine"]]; // Startgear for normal players
_backpack = [];
_items = [];
_magazines = [];
_weapons = [];
_medicalStats = [];
_survival = [0,0,0];
_tent = [];
_state = [];
_direction = 0;
_model = "";
_newUnit = objNull;
_botActive = false;

//LOADOUT 1
if (_playerID == "###HERE#PLAYER#UID#") then {
_inventory = [[],["ItemMorphine","ItemMorphine","ItemMorphine","ItemMorphine","ItemSodaPepsi"]];
_backpack = [];
};

//LOADOUT 2
if (_playerID == "###HERE#PLAYER#UID#") then {
_inventory = [[],["ItemMorphine","ItemMorphine","ItemMorphine","ItemMorphine","ItemSodaPepsi"]];
_backpack = [];
};

// END LOADOUTS



SO this works fine BUT, i will place a database entry for the UID´s , because its sucks to edit and upload the playerlogin.sqf, when someone wants a loadout ...

I´m using the Hive from pwnozor and there is no custom loadout table in Database ... can someone help me how ich can add it manually ??? Perhaps you have already a script, or manual solution ?

I tried epoch and other loadout scripts for that - doesnt work ... its just a 1.8.1 day-z server without any extra mods - no epoch or something else ...

Perhaps when no one knows how to make a DB entry for that, you know how i can import another file in the server_playerLogin.sqf ? (like [] execVM bla bla ... <- but this dont works ...) - So that i have a textfile just for the loadouts and this textfile are importing in the playerlogin.sqf ...

Please help :)

and sorry for my noobenglish ... ;)
 
Back
Top