mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
26 lines
869 B
Plaintext
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];
|