Config to block ATMs in Plot Range

This commit is contained in:
He-Man 2018-03-09 22:37:51 +01:00
parent 7891bd37d5
commit 923a41abff
3 changed files with 8 additions and 0 deletions

View File

@ -90,6 +90,12 @@ if (diag_tickTime - EPOCH_lastTrash > 2) then {
};
};
if (!isNull _bankTerminal) then {
_AtmBlockedAtPlot = ["CfgEpochClient", "AtmBlockedAtPlot", false] call EPOCH_fnc_returnConfigEntryV2;
_buildingJammerRange = getNumber(_config >> "buildingJammerRange");
_jammer = nearestObjects[player, ["PlotPole_EPOCH"], _buildingJammerRange];
if (!(_jammer isequalto []) && _AtmBlockedAtPlot) exitwith {
["Bank Terminal blocked by Jammer Signal",5] call Epoch_Message;
};
// make balance request
if (isNil "EPOCH_bankTransferActive") then {
[player, [], Epoch_personalToken] remoteExec ["EPOCH_server_storeCrypto",2];

View File

@ -56,6 +56,7 @@ class CfgEpochClient
maxdoors = 10; // Max allowed doors per Group
maxgates = 5; // Max allowed Gates per Group
AtmBlockedAtPlot = "true"; // Block ATM's in Plotpole-Range
disableRemoteSensors = "true"; // disableRemoteSensors true/false
epochMessageBackgroundCol[] = {0,0,0,0.2}; //Epoch_message background color (format: {R,G,B,A})

View File

@ -31,6 +31,7 @@ All changes for [Arma 3](https://arma3.com/) [Epoch Mod](https://epochmod.com) a
- If the terrain is too steep, you only walk in AutoRun
- Inside Water, you can not Autorun
- Helper 3D-Icon + Line on the part, where element is snapped on (while Base-Building) @He-Man
- Config in cfgepochclient.hpp to block ATM's in Plotpole range @He-Man
### Fixed
- False BE kicks since Arma 3 1.80 update.
- Nightlight now also follow players inside Vehicles @He-Man