Darth_Rogue Posted April 7, 2015 Report Share Posted April 7, 2015 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 More sharing options...
HeMan Posted April 7, 2015 Report Share Posted April 7, 2015 Thanks :) Link to comment Share on other sites More sharing options...
thelonewolf1234 Posted April 7, 2015 Report Share Posted April 7, 2015 How would I go about just having the FPS the health the hunger the krypto and the thirst? Link to comment Share on other sites More sharing options...
DeadandGone Posted April 7, 2015 Report Share Posted April 7, 2015 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 More sharing options...
vypr Posted April 7, 2015 Report Share Posted April 7, 2015 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 More sharing options...
DeadandGone Posted April 7, 2015 Report Share Posted April 7, 2015 oh without the \ at the begining and end of \"gmtPacket\" ok will give it a go Link to comment Share on other sites More sharing options...
emmenboy Posted April 8, 2015 Report Share Posted April 8, 2015 i have a problem, i have installed that script but no have status bar, when join server i have only the text status bar loading on screen.. Edit: ok that work! Mea Culpa. Link to comment Share on other sites More sharing options...
jaikaiman Posted April 8, 2015 Report Share Posted April 8, 2015 Hi, I made the changes and followed the exact instructions posted but I have just a grey background centered where the bar would be, but no information on it. Any suggestions. Jaik Link to comment Share on other sites More sharing options...
Darth_Rogue Posted April 8, 2015 Report Share Posted April 8, 2015 Check your client RPT and see what the error is. Link to comment Share on other sites More sharing options...
DeadandGone Posted April 8, 2015 Report Share Posted April 8, 2015 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... Link to comment Share on other sites More sharing options...
Darth_Rogue Posted April 8, 2015 Report Share Posted April 8, 2015 My players report that it's working for them. Check your server and client RPTs for specific errors. Link to comment Share on other sites More sharing options...
DeadandGone Posted April 8, 2015 Report Share Posted April 8, 2015 ok will do, it was working before update so probably something I did Link to comment Share on other sites More sharing options...
ScaRR Posted April 9, 2015 Report Share Posted April 9, 2015 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 More sharing options...
B_Man Posted April 9, 2015 Report Share Posted April 9, 2015 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 More sharing options...
emmenboy Posted April 9, 2015 Report Share Posted April 9, 2015 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 More sharing options...
Floyd Posted April 9, 2015 Report Share Posted April 9, 2015 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 More sharing options...
cyncrwler Posted April 9, 2015 Report Share Posted April 9, 2015 or you can not use IE and use Google Chrome and not have to flick any light switches. Link to comment Share on other sites More sharing options...
Jops Posted April 9, 2015 Report Share Posted April 9, 2015 Hi there, the resource title seems wrong unless you have a different version. If i remember correctly it is osefStatusBar? Has anyone resolved this as im having the same issue Link to comment Share on other sites More sharing options...
B_Man Posted April 9, 2015 Report Share Posted April 9, 2015 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 More sharing options...
DeadandGone Posted April 9, 2015 Report Share Posted April 9, 2015 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 More sharing options...
ReMuS Posted April 10, 2015 Report Share Posted April 10, 2015 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 More sharing options...
Darth_Rogue Posted April 10, 2015 Report Share Posted April 10, 2015 I removed that from mine. Half the time it didn't work correctly. Link to comment Share on other sites More sharing options...
ReMuS Posted April 10, 2015 Report Share Posted April 10, 2015 Can you tell me what I need to delete ?? PLS sorry I'm asking so much Link to comment Share on other sites More sharing options...
Darth_Rogue Posted April 10, 2015 Report Share Posted April 10, 2015 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 More sharing options...
sparrow8332 Posted April 11, 2015 Report Share Posted April 11, 2015 when i enable this everyone looses the ability to take and give damage, remove it and they can take and give damage :-s any ideas Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now