Epoch/Sources/epoch_code/gui/scripts/Epoch_showStats.sqf
2017-05-02 08:28:52 -05:00

26 lines
869 B
Plaintext

/*
Author: Aaron Clark
Contributors:
Description:
Displays Crypto and Energy stats on screen
Licence:
Arma Public License Share Alike (APL-SA) - https://www.bistudio.com/community/licenses/arma-public-license-share-alike
Github:
https://github.com/EpochModTeam/Epoch/tree/release/Sources/epoch_code/gui/scripts/Epoch_showStats.sqf
*/
disableSerialization;
//[[[cog import generate_private_arrays ]]]
private ["_display","_display3"];
//[[[end]]]
9992 cutRsc["EpochGameUI2", "PLAIN", 2, false];
_display = uiNamespace getVariable "EPOCH_EpochGameUI2";
(_display displayCtrl 21208) ctrlSetText format["%1", EPOCH_playerCrypto];
9993 cutRsc["EpochGameUI3", "PLAIN", 2, false];
_display3 = uiNamespace getVariable "EPOCH_EpochGameUI3";
(_display3 displayCtrl 21210) ctrlSetText format["%1/%2", round(EPOCH_playerEnergy), EPOCH_playerEnergyMax];