mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-25 01:20:49 +03:00
Allow fnc_lockCode to be used server/client side
This allows fnc_lockCode to be used by client and server side scripts. This also does localization client side but server side the colors are hard coded english.
This commit is contained in:
@@ -122,8 +122,8 @@ if (_status < 4) then {
|
||||
"LockBox"
|
||||
};
|
||||
if (_type == "LockboxStorageLocked") exitwith {
|
||||
_lockCode = _charID call server_fnc_lockCode;
|
||||
if (_status == 3) then {_suppliedCode = _suppliedCode call server_fnc_lockCode;};
|
||||
_lockCode = _charID call fnc_lockCode;
|
||||
if (_status == 3) then {_suppliedCode = _suppliedCode call fnc_lockCode;};
|
||||
"LockBox"
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user