Jump to content

[HOWTO] Adding a player statusBar


piX

Recommended Posts

Hello guys

First. Very nice script.

One question. I read a lot in these article and i dont find my qustion.

When I or other player activate the debug from Epoch then disappear the toolbar and dont come back.

There are anyone fix ?

 

Sry if there is this question already.

 

 

Use the update posted a page or two back by myself or Scarr.  Those versions include fixes for the disappearing status bar.

Link to comment
Share on other sites

I added  

 

!="\"gmtPacket\" = [<NULL-object>]"

 

at the end of line one on publicvariable.txt but I'm still getting kicked with battleeye error #0 with this in the logs :-

 

#0 "gmtPacket" = [<NULL-object>]

 

now do I have to add !="gmtPacket" at the beginning of line one as well?

Link to comment
Share on other sites

I added  

 

!="\"gmtPacket\" = [<NULL-object>]"

 

at the end of line one on publicvariable.txt but I'm still getting kicked with battleeye error #0 with this in the logs :-

 

#0 "gmtPacket" = [<NULL-object>]

 

now do I have to add !="gmtPacket" at the beginning of line one as well?

 

Put

 

!="gmtPacket" = [<NULL-object>]

 

In the first line of publicvariable.txt

 

Thanks to cyncrwler for this fix, btw.

Link to comment
Share on other sites

Just updated to 0.3.0.2 and arma 1.4.2 and get the error Resource title osefStatusBatAdmin not found not sure if I mist something or if the patch broke something...

 

Hi there,  the resource title seems wrong unless you have a different version. If i remember correctly it is osefStatusBar?

Link to comment
Share on other sites

Hey guys,

So I was getting the kick: #22 "#line 1 "mpmissions\__CUR_MP.Chernarus\init.sqf" 

[] execVM "scripts\fn_statusBar.sqf";"

 

I changed my line 23 (7 exec) from:

 

!="execVM \"\MPMissions\epoch.Chernarus\scripts\fn_statusBar.sqf\""

to

!="execVM \"\MPMissions\epoch.Chernarus\scripts\fn_statusBar.sqf""

 

By taking away the \ at the end, it stopped kicking me.  Why? All the examples in this thread have the backslash after fn_statusBar.sqf.  If someone could explain it or tell me why I am wrong  I would appreciate it. 

 

On another note, I cant copy and paste into the reply box for this forum.  If you have had that problem, PM me.  I have tried Ctrl C and Ctrl V, right click of the mouse and using the paste tool built into the forum reply box.

Thanks.

 

Link to comment
Share on other sites

Hi there, the resource title seems wrong unless you have a different version. If i remember correctly it is osefStatusBar?

I have sane problem, the version are a darth's linked version previusly posted by darth..

 

EDIT: That work.. i forgot this in description.ext:

class RscTitles

{
 
#include "Status_Bar\statusBar.hpp"
}; 
LOL 
Link to comment
Share on other sites

Hey guys,

So I was getting the kick: #22 "#line 1 "mpmissions\__CUR_MP.Chernarus\init.sqf" 

[] execVM "scripts\fn_statusBar.sqf";"

 

I changed my line 23 (7 exec) from:

 

!="execVM \"\MPMissions\epoch.Chernarus\scripts\fn_statusBar.sqf\""

to

!="execVM \"\MPMissions\epoch.Chernarus\scripts\fn_statusBar.sqf""

 

By taking away the \ at the end, it stopped kicking me.  Why? All the examples in this thread have the backslash after fn_statusBar.sqf.  If someone could explain it or tell me why I am wrong  I would appreciate it. 

 

On another note, I cant copy and paste into the reply box for this forum.  If you have had that problem, PM me.  I have tried Ctrl C and Ctrl V, right click of the mouse and using the paste tool built into the forum reply box.

Thanks.

Post the whole line from your scripts.txt Quotation marks that are within the exception must be prefaced with a \. Thus the \"\MPmissions...

Edit: Try !="execVM \"\MPMissions\epoch.Chernarus\scripts\fn_statusBar.sqf\";" notice the ; See if that works. Though mine works as in your first example.

RE: the copy and paste issue. If you're running IE...

At the top left of the posting box is what appears to be a light switch. Try clicking it. Then you should be able to copy and paste. I have to do that just to quote a post. You can click it again to see what the formatting looks like. If someone knows a more definitive approach, I'm all ears.

Link to comment
Share on other sites

So, this is what I currently have and it does not work.

7 exec !="<execute expression=" !"RscDebugConsole_execute" !"execFSM" !"_executeStackedEventHandler" !"fn_execVM" !"fn_moduleExecute" !"fn_execRemote" !"fn_MPexec" !"bis_fnc_moduleExecute_activate" !"fn_tridentExecute" !"randomize_civ1" !"executed from" !"EPOCH_DebugGUI_exec" !"_handle = [_display] execVM _script;" !"execVM \"\A3\Structures_F\scripts" !="execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\"" !="execVM \"\MPMissions\epoch.Chernarus\scripts\fn_statusBar.sqf\"" !="reviveExecuteTemplates"

However, when I remove the backslash, it works and I get no kick.

7 exec !="<execute expression=" !"RscDebugConsole_execute" !"execFSM" !"_executeStackedEventHandler" !"fn_execVM" !"fn_moduleExecute" !"fn_execRemote" !"fn_MPexec" !"bis_fnc_moduleExecute_activate" !"fn_tridentExecute" !"randomize_civ1" !"executed from" !"EPOCH_DebugGUI_exec" !"_handle = [_display] execVM _script;" !"execVM \"\A3\Structures_F\scripts" !="execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\"" !="execVM \"\MPMissions\epoch.Chernarus\scripts\fn_statusBar.sqf"" !="reviveExecuteTemplates"

Even if I move to the end of the line, see below, it still kicks. Only removing the backslash works. I just want to make sure this is ok or is it going to cause me problems later/

7 exec !="<execute expression=" !"RscDebugConsole_execute" !"execFSM" !"_executeStackedEventHandler" !"fn_execVM" !"fn_moduleExecute" !"fn_execRemote" !"fn_MPexec" !"bis_fnc_moduleExecute_activate" !"fn_tridentExecute" !"randomize_civ1" !"executed from" !"EPOCH_DebugGUI_exec" !"_handle = [_display] execVM _script;" !"execVM \"\A3\Structures_F\scripts" !="execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\"" !="reviveExecuteTemplates" !="execVM \"\MPMissions\epoch.Chernarus\scripts\fn_statusBar.sqf\""

Floyd, adding the ";" did not help.

Link to comment
Share on other sites

Has anyone resolved this as im having the same issue

 

Yes I've got it working now...

 

What I mist when I originally installed this was :-

 

class RscTitles

{

#include "Status_Bar\statusBar.hpp"

};

 

The bit in bold I mist out in the description.ext file for some reason the update broke it but make sure that is in place and all is good... also before the class RscTitles you may have to add a { as one is missing with mine

Link to comment
Share on other sites

Hi anybody a idea why by me no restart time show here alink to a picture:

 

http://cloud-4.steamusercontent.com/ugc/537393920681376652/16C42E490D9C0331D4AF6C2BB0EF9521F92E1D14/

 

and yes i have the dll in the arma 3 root folder and he is release . and i change the -4 to my location 2 german in the restarttime.sqf : _gmtHourDiff = 2; //timezone difference for you server form GMT/ UTC

Link to comment
Share on other sites

Too complicated to explain.  Just use this one.

 

waitUntil {!(isNull (findDisplay 46))};
disableSerialization;


/*
	File: fn_statusBar.sqf
	Author: Osef (Ported to EpochMod by piX)
	Edited by: [piX]
	Description: Puts a small bar in the bottom centre of screen to display in-game information
	


	Modified by: ScaRR
	Description: Modified status bar to display player Krypto, Next Server restart time based on real_date.dll from Kilzone Kid
				 (which can be found at http://killzonekid.com/arma-extension-real_date-dll-v3-0/)
				 and display the Thirst, Hunger and damage as percentages.
				 Added colouring to the status bar elements, that changes gradually depending on the percentages.
				 Added flashing of the values if values are within a certain threshold
				 
	Modified by: Darth_Rogue  4/3/15
	Description:  Added admin section to display real-time server FPS and world space coords
				  Modified health, food and drink values to display from 100% instead of starting at 0%
				  Added second section to hpp file to provide properly aligned background for players vs. admin menus
				  Added GRIDREF reading for players
	
	PLEASE KEEP CREDITS - THEY ARE DUE TO THOSE WHO PUT IN THE EFFORT!	
*/

if ((getPlayerUID player) in [
"7656XXXXXXXXXXXXXX" //admins id here
                                                                 
]) then { 


_rscLayer = "osefStatusBarAdmin" call BIS_fnc_rscLayer;
_rscLayer cutRsc["osefStatusBarAdmin","PLAIN"];
systemChat format["Loading Admin info...", _rscLayer];
[] spawn {

	"gmtPacket" addPublicVariableEventHandler {
		restart = _this select 1 select 0;
		colourRestart = _this select 1 select 1;
	};

	sleep 5;
	//set default variable values
	_colourDefault = parseText "#adadad"; //set your default colour here
	restart = "NA";
	colourRestart = "";
	_flashOff = 3; // 1 = second
	_flashOn = 1; // 1 = second
	_flashThreshold = 90;  //percent
	_flashDamageCount = 0;
	_flashHungerCount = 0;
	_flashStaminaCount = 0;
	_flashThirstCount = 0;
	_flashEnergyCount = 0;
	_uid = getPlayerUID player;
	
	
	HEXColourFromPercentage ={ //function to return a hex colour value depending based on percentage value input
		private ["_percentage","_max","_r","_g","_hexColour","_cur","_r1","_r2","_rHex1","_rHex2","_g1","_g2","_gHex1","_gHex2","_hex"];

		_percentage = _this;// select 0;
		_hex = ["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"];
		
		 _max = 100;
		
		 if(_percentage >= _max) exitWith {"#00FF00"};
		 if(_percentage==0) exitWith {"#FF0000"};
		 
		 _cur = (_percentage / _max) * _max;
		 _r = (_cur * 2) min _max;
		 _g = (_max * 2 - _cur * 2) min _max;
		 _r = (_r / 100) * 255;
		 _r1 = floor(_r / 16);
		 _r2 = floor(_r mod 16);
		 _rHex1 = _hex select _r1;
		 _rHex2 = _hex select _r2;
		 _g = (_g / 100) * 255;
		 _g1 = floor (_g / 16);
		 _g2 = floor(_g mod 16);
		 _gHex1 = _hex select _g1;
		 _gHex2 = _hex select _g2;

		 //r=100 / 100 = 1 x 255 = 255, _r1 = round(255/16) = 15, _r2 = 255 mod 16 = 15
		 _hexColour = format["#%1%2%3%4%5",_rHex1,_rHex2,_gHex1,_gHex2,"00"]; //formatting the return value
		 _hexColour //this is returned , note no semi-colon!
	};	
	
	FlashColourCount ={
		private ["_value","_threshold","_fOff","_fOn","_count"];
		
		_value = _this select 0;
		_threshold = _this select 1;
		_fOff = _this select 2;
		_fOn = _this select 3;
		_count = _this select 4;
		
		if(_value > _threshold) then {
			if(_count != _fOn )then{
				_count = _count + 1;
				if(_count == 0) then {_count = _count + 1};
			}
			else{
				_count = -_fOff;
			};
		}
		else{
			_count = 0;
		};
		_count   //return count
	};
	
	while {true} do {
		sleep 1;
				
		//moved the creation of the status bar inside the loop and create it if it is null,
		//this is to handle instance where the status bar is disappearing 
		if(isNull ((uiNamespace getVariable "osefStatusBarAdmin")displayCtrl 55554)) then{
				diag_log "statusbar is null create";
				disableSerialization;
				_rscLayer = "osefStatusBarAdmin" call BIS_fnc_rscLayer;
				_rscLayer cutRsc["osefStatusBarAdmin","PLAIN"];
		};		
		
		//initialize variables and set values
		_unit = _this select 0;
		_damage = round ((1 - (damage player)) * 100);
		//_damage = (round(_damage * 100));
		_hunger = round((EPOCH_playerHunger/5000) * 100);
		_thirst = round((EPOCH_playerThirst/2500) * 100);
		_wallet = EPOCH_playerCrypto;
		_stamina = round(EPOCH_playerStamina * 100) / 100;
		//_bank = EPOCH_bankBalance;
		_energy = round(EPOCH_playerEnergy);
		_fps = format["%1", diag_fps];
		
		
						
		//call the real time handler - this uses dll from KK's blog
		gmtPacket = [player];
		publicVariableServer "gmtPacket";

		//Colour coding
		//														Damage
		
		_flashDamageCount = [_damage, _flashThreshold, _flashOn, _flashOff, _flashDamageCount] call FlashColourCount;
		_colourDamage = _colourDefault;
		if(_damage < 100) then { // this is to show damage as soon as is damage , don't want it to be green when it is low
			if(_flashDamageCount < 100) then{
				_colourDamage = (_damage-60) call HEXColourFromPercentage;
			}
			else{
				_colourDamage = _colourDefault;
			};
		}
		else{ //if no damage then show green. 
			_colourDamage = (_damage) call HEXColourFromPercentage;
		};
			
		
		//														Hunger
		_flashHungerCount = [_hunger, _flashThreshold, _flashOn, _flashOff, _flashHungerCount] call FlashColourCount;
		_colourHunger = _colourDefault;
		if(_flashHungerCount <= 100)then {
			_colourHunger = (100 - _hunger) call HEXColourFromPercentage;
		}
		else{
			_colourHunger = _colourDefault;
		};
		
		
		//														Thirst
		_flashThirstCount = [_thirst, _flashThreshold, _flashOn, _flashOff, _flashThirstCount] call FlashColourCount;
		_colourThirst = _colourDefault;		
		if(_flashThirstCount <= 100)then {
			_colourThirst = (100 - _thirst) call HEXColourFromPercentage;
		}
		else{
			_colourThirst = _colourDefault;			
		};
		
		
		//														Energy
		
		_energyPercent =  floor((_energy / 2500 ) * 100);
		_flashEnergyCount = [(100 - _energyPercent), _flashThreshold, _flashOn, _flashOff, _flashEnergyCount] call FlashColourCount;
		_colourEnergy = _colourDefault;
		if(_flashEnergyCount <= 100)then {
			_colourEnergy = (100 - _energyPercent) call HEXColourFromPercentage;
		}
		else{
			_colourEnergy = _colourDefault;
		};
		
		//														Stamina
		_staminaPercent =  floor((_stamina / 100 ) * 100);
		_flashStaminaCount = [(100 - _staminaPercent) , _flashThreshold, _flashOn, _flashOff, _flashStaminaCount] call FlashColourCount;
		_colourStamina = _colourDefault;
		
		 _pos = getPosATL player;
		 _dir = getDir (vehicle player);
		//display the information 
		((uiNamespace getVariable "osefStatusBarAdmin")displayCtrl 55554)ctrlSetStructuredText parseText 
			format["
			<t shadow='1' shadowColor='#000000' color='%10'><img size='1.6'  shadowColor='#000000' image='addons\status_bar\images\players.paa' color='%10'/> %2</t>
			<t shadow='1' shadowColor='#000000' color='%11'><img size='1.6'  shadowColor='#000000' image='addons\status_bar\images\damage.paa' color='%11'/> %3%1</t> 
			<t shadow='1' shadowColor='#000000' color='%10'><img size='1.6'  shadowColor='#000000' image='addons\status_bar\images\krypto.paa' color='%10'/> %4</t> 
			<t shadow='1' shadowColor='#000000' color='%12'><img size='1.6'  shadowColor='#000000' image='addons\status_bar\images\hunger.paa' color='%12'/> %5%1</t> 
			<t shadow='1' shadowColor='#000000' color='%13'><img size='1.6'  shadowColor='#000000' image='addons\status_bar\images\thirst.paa' color='%13'/> %6%1</t> 
			<t shadow='1' shadowColor='#000000' color='%15'><img size='1.6'  shadowColor='#000000' image='addons\status_bar\images\stamina.paa' color='%15'/>%9</t> 
			<t shadow='1' shadowColor='#000000' color='%14'><img size='1.6'  shadowColor='#000000' image='addons\status_bar\images\energy.paa' color='%14'/>%8%1</t> 
			<t shadow='1' shadowColor='#000000' color='%10'>FPS: %7</t>
			<t shadow='1' shadowColor='#000000' color='%10'>POS: %16</t>
			<t shadow='1' shadowColor='#000000' color='%10'>DIR: %17</t>",
					"%", 
					count playableUnits,
					_damage,
					_wallet, 
					_hunger, 
					_thirst, 
					if (typeName EPOCH_diag_fps == "SCALAR") then [{EPOCH_diag_fps},{"MANIPULATED"}], 
					_energyPercent, 
					_stamina, 
					//restart,
					_colourDefault,
					_colourDamage,
					_colourHunger,
					_colourThirst,
					_colourEnergy,
					//colourRestart,
					_colourStamina,
					_pos, 
					_dir
					 
				];
		
		
				
			
	}; 
};
} else {
_rscLayer = "osefStatusBar" call BIS_fnc_rscLayer;
_rscLayer cutRsc["osefStatusBar","PLAIN"];
systemChat format["Loading Player info...", _rscLayer];
[] spawn {

	"gmtPacket" addPublicVariableEventHandler {
		restart = _this select 1 select 0;
		colourRestart = _this select 1 select 1;
	};

	sleep 5;
	//set default variable values
	_colourDefault = parseText "#adadad"; //set your default colour here
	restart = "NA";
	colourRestart = "";
	_flashOff = 3; // 1 = second
	_flashOn = 1; // 1 = second
	_flashThreshold = 90;  //percent
	_flashDamageCount = 0;
	_flashHungerCount = 0;
	_flashStaminaCount = 0;
	_flashThirstCount = 0;
	_flashEnergyCount = 0;
	_uid = getPlayerUID player;
	
	
	HEXColourFromPercentage ={ //function to return a hex colour value depending based on percentage value input
		private ["_percentage","_max","_r","_g","_hexColour","_cur","_r1","_r2","_rHex1","_rHex2","_g1","_g2","_gHex1","_gHex2","_hex"];

		_percentage = _this;// select 0;
		_hex = ["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"];
		
		 _max = 100;
		
		 if(_percentage >= _max) exitWith {"#00FF00"};
		 if(_percentage==0) exitWith {"#FF0000"};
		 
		 _cur = (_percentage / _max) * _max;
		 _r = (_cur * 2) min _max;
		 _g = (_max * 2 - _cur * 2) min _max;
		 _r = (_r / 100) * 255;
		 _r1 = floor(_r / 16);
		 _r2 = floor(_r mod 16);
		  _rHex1 = _hex select _r1;
		 _rHex2 = _hex select _r2;
		 _g = (_g / 100) * 255;
		 _g1 = floor (_g / 16);
		 _g2 = floor(_g mod 16);
		 _gHex1 = _hex select _g1;
		 _gHex2 = _hex select _g2;

		 //r=100 / 100 = 1 x 255 = 255, _r1 = round(255/16) = 15, _r2 = 255 mod 16 = 15
		 _hexColour = format["#%1%2%3%4%5",_rHex1,_rHex2,_gHex1,_gHex2,"00"]; //formatting the return value
		 _hexColour //this is returned , note no semi-colon!
	};	
	
	FlashColourCount ={
		private ["_value","_threshold","_fOff","_fOn","_count"];
		
		_value = _this select 0;
		_threshold = _this select 1;
		_fOff = _this select 2;
		_fOn = _this select 3;
		_count = _this select 4;
		
		if(_value > _threshold) then {
			if(_count != _fOn )then{
				_count = _count + 1;
				if(_count == 0) then {_count = _count + 1};
			}
			else{
				_count = -_fOff;
			};
		}
		else{
			_count = 0;
		};
		_count   //return count
	};
	
	while {true} do {
		sleep 1;
				
		//moved the creation of the status bar inside the loop and create it if it is null,
		//this is to handle instance where the status bar is disappearing 
		if(isNull ((uiNamespace getVariable "osefStatusBar")displayCtrl 55555)) then{
				diag_log "statusbar is null create";
				disableSerialization;
				_rscLayer = "osefStatusBar" call BIS_fnc_rscLayer;
				_rscLayer cutRsc["osefStatusBar","PLAIN"];
		};		
		
		//initialize variables and set values
		_unit = _this select 0;
		_damage = round ((1 - (damage player)) * 100);
		//_damage = (round(_damage * 100));
		_hunger = round((EPOCH_playerHunger/5000) * 100);
		_thirst = round((EPOCH_playerThirst/2500) * 100);
		_wallet = EPOCH_playerCrypto;
		_stamina = round(EPOCH_playerStamina * 100) / 100;
		//_bank = EPOCH_bankBalance;
		_energy = round(EPOCH_playerEnergy);
		_fps = format["%1", diag_fps];
		
		
						
		//call the real time handler - this uses dll from KK's blog
		gmtPacket = [player];
		publicVariableServer "gmtPacket";

		//Colour coding
		//														Damage
		
		_flashDamageCount = [_damage, _flashThreshold, _flashOn, _flashOff, _flashDamageCount] call FlashColourCount;
		_colourDamage = _colourDefault;
		if(_damage < 100) then { // this is to show damage as soon as is damage , don't want it to be green when it is low
			if(_flashDamageCount < 100) then{
				_colourDamage = (_damage-60) call HEXColourFromPercentage;
			}
			else{
				_colourDamage = _colourDefault;
			};
		}
		else{ //if no damage then show green. 
			_colourDamage = (_damage) call HEXColourFromPercentage;
		};
			
		
		//														Hunger
		_flashHungerCount = [_hunger, _flashThreshold, _flashOn, _flashOff, _flashHungerCount] call FlashColourCount;
		_colourHunger = _colourDefault;
		if(_flashHungerCount <= 100)then {
			_colourHunger = (100 - _hunger) call HEXColourFromPercentage;
		}
		else{
			_colourHunger = _colourDefault;
		};
		
		
		//														Thirst
		_flashThirstCount = [_thirst, _flashThreshold, _flashOn, _flashOff, _flashThirstCount] call FlashColourCount;
		_colourThirst = _colourDefault;		
		if(_flashThirstCount <= 100)then {
			_colourThirst = (100 - _thirst) call HEXColourFromPercentage;
		}
		else{
			_colourThirst = _colourDefault;			
		};
		
		
		//														Energy
		
		_energyPercent =  floor((_energy / 2500 ) * 100);
		_flashEnergyCount = [(100 - _energyPercent), _flashThreshold, _flashOn, _flashOff, _flashEnergyCount] call FlashColourCount;
		_colourEnergy = _colourDefault;
		if(_flashEnergyCount <= 100)then {
			_colourEnergy = (100 - _energyPercent) call HEXColourFromPercentage;
		}
		else{
			_colourEnergy = _colourDefault;
		};
		
		//														Stamina
		_staminaPercent =  floor((_stamina / 100 ) * 100);
		_flashStaminaCount = [(100 - _staminaPercent) , _flashThreshold, _flashOn, _flashOff, _flashStaminaCount] call FlashColourCount;
		_colourStamina = _colourDefault;
		
		_grid = mapGridPosition  player; _xx = (format[_grid]) select  [0,3]; 
		_yy = (format[_grid]) select  [3,3];  
		
		//display the information 
		((uiNamespace getVariable "osefStatusBar")displayCtrl 55555)ctrlSetStructuredText parseText 
			format["
			<t shadow='1' shadowColor='#000000' color='%10'><img size='1.6'  shadowColor='#000000' image='addons\status_bar\images\players.paa' color='%10'/> %2</t>
			<t shadow='1' shadowColor='#000000' color='%11'><img size='1.6'  shadowColor='#000000' image='addons\status_bar\images\damage.paa' color='%11'/> %3%1</t> 
			<t shadow='1' shadowColor='#000000' color='%10'><img size='1.6'  shadowColor='#000000' image='addons\status_bar\images\krypto.paa' color='%10'/> %4</t> 
			<t shadow='1' shadowColor='#000000' color='%12'><img size='1.6'  shadowColor='#000000' image='addons\status_bar\images\hunger.paa' color='%12'/> %5%1</t> 
			<t shadow='1' shadowColor='#000000' color='%13'><img size='1.6'  shadowColor='#000000' image='addons\status_bar\images\thirst.paa' color='%13'/> %6%1</t> 
			<t shadow='1' shadowColor='#000000' color='%15'><img size='1.6'  shadowColor='#000000' image='addons\status_bar\images\stamina.paa' color='%16'/>%9</t>
			<t shadow='1' shadowColor='#000000' color='%14'><img size='1.6'  shadowColor='#000000' image='addons\status_bar\images\energy.paa' color='%14'/>%8%1</t> 
			<t shadow='1' shadowColor='#000000' color='%10'>FPS: %7</t>
			<t shadow='1' shadowColor='#000000' color='%10'>GRIDREF: %16</t>",
					"%", 
					count playableUnits,
					_damage,
					_wallet, 
					_hunger, 
					_thirst, 
					round diag_fps, 
					_energyPercent, 
					_stamina,
					//restart,
					_colourDefault,
					_colourDamage,
					_colourHunger,
					_colourThirst,
					_colourEnergy,
					//colourRestart,
					_colourStamina,
					format["%1/%2",_xx,_yy]
				];
		
		
				
			
	}; 
};
};

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×
×
  • Create New...