Zyxed1 Posted February 8, 2017 Report Share Posted February 8, 2017 I have a problem getting blood work in zupa - asremix debug monitor. Debug ingame For somereason it shows humanity on blood. Here is my playerhud.sqf disableSerialization; // player setVariable["AsReMixhud", true];//Variable Show/Hide HUD Support for control player hud AsReMixhud_Control = true; // player getVariable["AsReMixhud",true]; while {true} do { 1000 cutRsc ["AsReMixhud","PLAIN"]; _wpui = uiNameSpace getVariable "AsReMixhud"; _vitals = _wpui displayCtrl 4900; _thePlayer = player; AsReMixhud_zombieKills = _thePlayer getVariable["zombieKills",0]; AsReMixhud_headshots = _thePlayer getVariable["headShots",0]; AsReMixhud_killsH = _thePlayer getVariable["humanKills",0]; Zupa_bank = _thePlayer getVariable["bank",0]; AsReMixhud_killsB = _thePlayer getVariable["banditKills",0]; AsReMixhud_humanity = _thePlayer getVariable["humanity",0]; AsReMixhud_zombies = ""; AsReMixhud_zombiesAlive = ""; AsReMixhud_blood = _thePlayer getVariable["USEC_BloodQty",12000]; AsReMixhud_pid = ""; AsReMixhud_puid = ""; AsReMixhud_hmnicon = ""; AsReMixhud_fps = (round diag_fps); AsReMixhud_svrname = "Amnesia"; _stime = 0; if(serverTime > 36000)then{_stime = time;}else{_stime = serverTime;}; _hours = (_stime/60/60); _hours = toArray (str _hours); _hours resize 1; _hours = toString _hours; _hours = compile _hours; _hours = call _hours; _minutes = floor(_stime/60); _minutes2 = ((_minutes - (_hours*60)) min 60) max 0;if (_minutes2 < 10) then {_minutes2 = format ['0%1',_minutes2];}; //if(AsReMixhud_humanity >= 5000) then { AsReMixhud_hmnicon = "<img size='0.8' image='addons\playerhud\icons\As_hmhero.paa'/>"; }; //if((AsReMixhud_humanity >= 200) && (AsReMixhud_humanity <= 4999)) then { AsReMixhud_hmnicon = "<img size='0.8' image='addons\playerhud\icons\As_hmcivil.paa'/>"; }; // if(AsReMixhud_humanity <= 199) then { AsReMixhud_hmnicon = "<img size='0.8' image='addons\playerhud\icons\As_hmbandit.paa'/>"; }; _vitals ctrlSetStructuredText parseText format [" <t size='0.8' align='right'>Zupa - AsRemix</t><br/> <t size='0.9'> %2 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_health.paa'/> <br/> <t size='0.9'> %2 %5 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_humanity.paa'/> <br/> <t size='0.9'> %3 </t><img size='0.8' align='right' image='addons\playerhud\icons\dollars.paa'/> <br/> <t size='0.9'> %14 </t><img size='0.8' align='right' image='addons\playerhud\icons\equip_safe_CA.paa'/> <br/> <t size='0.9'> %10 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_killh.paa'/> <br/> <t size='0.9'> %9 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_killb.paa'/> <br/> <t size='0.9'> %4 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_zkill.paa'/> <br/> <t size='0.8' align='right'>%13 FPS</t><br/> <t size='0.8' align='right'>%11h %12min UPTIME</t><br/>", AsReMixhud_blood, //1 AsReMixhud_humanity,//2 AsReMixhud_headshots,//3 AsReMixhud_zombiekills,//4 AsReMixhud_hmnicon,//5 name player,//6 AsReMixhud_zombiesAlive,//7 AsReMixhud_zombies,//8 AsReMixhud_killsB,//9 AsReMixhud_killsH,//10 _hours,//11 _minutes2,//12 AsReMixhud_fps,//13 Zupa_bank,//14 AsReMixhud_svrname//15 ]; _vitals ctrlCommit 0; sleep 2; }; Help Link to comment Share on other sites More sharing options...
0 kingpapawawa Posted February 9, 2017 Report Share Posted February 9, 2017 <t size='0.9'> %1 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_health.paa'/> <br/> Link to comment Share on other sites More sharing options...
0 Zyxed1 Posted February 9, 2017 Author Report Share Posted February 9, 2017 Yeah I figured it out bymyself but thanks anyway! That solved it. SOLVED Link to comment Share on other sites More sharing options...
Question
Zyxed1
I have a problem getting blood work in zupa - asremix debug monitor. Debug ingame
For somereason it shows humanity on blood.
Here is my playerhud.sqf
Help
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now