NateDayZ Posted September 7, 2017 Report Share Posted September 7, 2017 Hi, Is there a way to make it so when a player looks in the gear of a tent/storage object it will log it? DieTanx 1 Link to comment Share on other sites More sharing options...
0 killerkiwi Posted October 11, 2017 Report Share Posted October 11, 2017 On 07/09/2017 at 5:56 AM, NateDayZ said: Hi, Is there a way to make it so when a player looks in the gear of a tent/storage object it will log it? i thinks so go in to your Fn_selfActions.sqf find below code change the prams to mission folder copy the file move them to your own folder change the file so they log //Allow owner to unlock vault if ((_typeOfCursorTarget in DZE_LockableStorage) && {_characterID != "0"} && {player distance _cursorTarget < 3} && {!keypadCancel}) then { if (s_player_unlockvault < 0) then { if (_typeOfCursorTarget in DZE_LockedStorage) then { if (_characterID == dayz_combination || _ownerID == _uid) then { _combi = player addAction [format[localize "STR_EPOCH_ACTIONS_OPEN",_text], "\z\addons\dayz_code\actions\vault_unlock.sqf",_cursorTarget, 0, false, true]; s_player_combi set [count s_player_combi,_combi]; } else { _combi = player addAction [format[localize "STR_EPOCH_ACTIONS_UNLOCK",_text], "\z\addons\dayz_code\actions\vault_combination_1.sqf",_cursorTarget, 0, false, true]; s_player_combi set [count s_player_combi,_combi]; }; s_player_unlockvault = 1; } else { if (_characterID != dayz_combination && _ownerID != _uid) then { _combi = player addAction [localize "STR_EPOCH_ACTIONS_RECOMBO", "\z\addons\dayz_code\actions\vault_combination_1.sqf",_cursorTarget, 0, false, true]; s_player_combi set [count s_player_combi,_combi]; s_player_unlockvault = 1; }; }; }; Link to comment Share on other sites More sharing options...
Question
NateDayZ
Hi, Is there a way to make it so when a player looks in the gear of a tent/storage object it will log it?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now