khalcifer Posted March 23, 2018 Report Share Posted March 23, 2018 Hello how can i change display Money and bank balance spectating player. Now have Money 90000 and Bamk 1.545e+006, i want Money 90,000 and Bank 1,545,000 _log2 = format['Blood: %1 Humanity: %2 | Money: %3 | Bank: %4',(_unit getVariable['USEC_BloodQty',12000]),(_unit getVariable['humanity',0]),(_unit getVariable['cashMoney',0]),(_unit getVariable['MoneySpecial',0])]; Link to comment Share on other sites More sharing options...
Airwaves Man Posted March 23, 2018 Report Share Posted March 23, 2018 Hi use call BIS_fnc_numberText to format your coins [ (_unit getVariable['cashMoney',0]) ] call BIS_fnc_numberText salival and totis 1 1 Link to comment Share on other sites More sharing options...
khalcifer Posted March 23, 2018 Author Report Share Posted March 23, 2018 21 minutes ago, A Man said: Hi use call BIS_fnc_numberText to format your coins [ (_unit getVariable['cashMoney',0]) ] call BIS_fnc_numberText Thx for your help. Link to comment Share on other sites More sharing options...
samnotts Posted March 27, 2018 Report Share Posted March 27, 2018 how do i get to see my players money and bank money when i am spectating them Link to comment Share on other sites More sharing options...
khalcifer Posted March 27, 2018 Author Report Share Posted March 27, 2018 57 minutes ago, samnotts said: how do i get to see my players money and bank money when i am spectating them AT.sqf _log2 = format['Blood: %1 Humanity: %2',(_unit getVariable['USEC_BloodQty',12000]),(_unit getVariable['humanity',0])]; and replace _log2 = format['Blood: %1 Humanity: %2 | Money: %3 | Bank: %4',(_unit getVariable['USEC_BloodQty',12000]),(_unit getVariable['humanity',0]),[ (_unit getVariable['cashMoney',0]) ] call BIS_fnc_numberText,[ (_unit getVariable['MoneySpecial',0]) ] call BIS_fnc_numberText]; totis 1 Link to comment Share on other sites More sharing options...
samnotts Posted March 28, 2018 Report Share Posted March 28, 2018 thank you Link to comment Share on other sites More sharing options...
totis Posted March 28, 2018 Report Share Posted March 28, 2018 Any code to see also players bandit/hero kill count when you spectate them? Link to comment Share on other sites More sharing options...
khalcifer Posted March 28, 2018 Author Report Share Posted March 28, 2018 36 minutes ago, totis said: Any code to see also players bandit/hero kill count when you spectate them? try it _log2 = format['Blood: %1 Humanity: %2 | Money: %3 | Bank: %4 | Bandit: %5 | Murders: %6',(_unit getVariable['USEC_BloodQty',12000]),(_unit getVariable['humanity',0]),[ (_unit getVariable['cashMoney',0]) ] call BIS_fnc_numberText,[ (_unit getVariable['MoneySpecial',0]) ] call BIS_fnc_numberText, (_unit player getVariable['banditKills', 0]), (_unit player getVariable['humanKills', 0])]; Link to comment Share on other sites More sharing options...
totis Posted March 29, 2018 Report Share Posted March 29, 2018 no it doesnt work. infi stops working and lock/unlock msg pops up. I know its the correct way but prob there is a typo there. Doesnt need the ' call BIS_fnc_numberText ' at the end or is that only for showing numbers in thousands correct? Link to comment Share on other sites More sharing options...
salival Posted March 29, 2018 Report Share Posted March 29, 2018 20 minutes ago, totis said: no it doesnt work. infi stops working and lock/unlock msg pops up. I know its the correct way but prob there is a typo there. Doesnt need the ' call BIS_fnc_numberText ' at the end or is that only for showing numbers in thousands correct? _log2 = format['Blood: %1 Humanity: %2 | Money: %3 | Bank: %4 | Bandit: %5 | Murders: %6',_unit getVariable['USEC_BloodQty',12000],_unit getVariable['humanity',0],[ (_unit getVariable[Z_moneyVariable,0])] call BIS_fnc_numberText,[(_unit getVariable[Z_bankVariable,0])] call BIS_fnc_numberText,_unit getVariable['banditKills',0],_unit getVariable['humanKills',0]]; Try this. totis 1 Link to comment Share on other sites More sharing options...
totis Posted March 29, 2018 Report Share Posted March 29, 2018 Yep all good now salival, Tnx Link to comment Share on other sites More sharing options...
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