ricconater
New Member
Is it possible to take out the need of Keys in dayz epoch? and make it so it uses player UID or GUID as keys instead. Some one posted this "You're better as a moderator to turn off the keys all together and rebind the vehicles to the player guid by commenting out the key process in the self fnc sqf"
Are there any more detailed explanation I can get, or just simple steps? In the fn self action, I've tried removing _haskey from the allow owner to unlock. and also removed
whole, but it still doesn't work, what it does is simply making high chance of vehicle not spawning upon purchase.
Are there any more detailed explanation I can get, or just simple steps? In the fn self action, I've tried removing _haskey from the allow owner to unlock. and also removed
Code:
_temp_keys = [];
// find available keys
_key_colors = ["ItemKeyYellow","ItemKeyBlue","ItemKeyRed","ItemKeyGreen","ItemKeyBlack"];
{
if (configName(inheritsFrom(configFile >> "CfgWeapons" >> _x)) in _key_colors) then {
_ownerKeyId = getNumber(configFile >> "CfgWeapons" >> _x >> "keyid");
_temp_keys set [count _temp_keys,str(_ownerKeyId)];
};
} forEach _itemsPlayer;
whole, but it still doesn't work, what it does is simply making high chance of vehicle not spawning upon purchase.