Jump to content

[Tutorial] See Players Money & Bank Balance - Using Infistar


Recommended Posts

Simple Peace Of Code But Alot Of Help 
 
Reason For :
Catch People Who Duplicate
 
Install :

Open AH.sqf
 
Find :

_log2 = format['Blood: %1    Humanity: %2',(_unit getVariable['USEC_BloodQty',12000]),(_unit getVariable['humanity',0])];

Replace With :

_log2 = format['Blood: %1 | Humanity: %2 | Money: %3 | Bank: %4',(_unit getVariable['USEC_BloodQty',12000]),(_unit getVariable['humanity',0]),(_unit getVariable['headShots',0]),(_unit getVariable['bank',0])];

Replace With This If You Have Soul's Edits :

_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['bankMoney',0])];

Image :

B2JGnO4.jpg

Link to comment
Share on other sites

  On 8/11/2014 at 7:17 PM, PeterBeer said:

Simple Peace Of Code But Alot Of Help 

 

Reason For :

Catch People Who Duplicate

 

Install :

Open AH.sqf

 

Find :

_log2 = format['Blood: %1    Humanity: %2',(_unit getVariable['USEC_BloodQty',12000]),(_unit getVariable['humanity',0])];

Replace With :

_log2 = format['Blood: %1 Humanity: %2 Money: %3 Bank: %4',(_unit getVariable['USEC_BloodQty',12000]),(_unit getVariable['humanity',0]),(_unit getVariable["headShots",0]),(_unit getVariable["bank",0])];

Image :

B2JGnO4.jpg

 

If you are using Soul's hive version, should it not be like this: 

_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["bank",0])];

Your example would be if you are still using Zupa's 1.1 version... yes? 

 

Link to comment
Share on other sites

  On 8/11/2014 at 9:07 PM, Glenn said:

If you are using Soul's hive version, should it not be like this: 

_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["bank",0])];

Your example would be if you are still using Zupa's 1.1 version... yes? 

 

 

 

Yes this is for zupa 1.1

Link to comment
Share on other sites

  On 8/17/2014 at 1:27 AM, ARcoolJ said:

Figured out the Variable has to be "bank" instead of "bankMoney" if using Zupa´s version,

 

Ah i feel like a idiot now thanks for spotting that out i have update the post 

 

Got mixed up with souls "bankmoney" and Zupa 1.1 "bank"

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
  • 4 weeks later...
  On 10/7/2014 at 4:04 PM, Pro_Speedy said:

anyway to get it to display numbers correctly as a lot of my players have over a million and it displays incoorectly?

 

Thanks

 

Old post, but maybe this will help someone:

 

Soul Version:

_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['bankMoney',0] call BIS_fnc_numberText)];
				

Zupa 1.1 Version:

_log2 = format['Blood: %1 | Humanity: %2 | Money: %3 | Bank: %4',(_unit getVariable['USEC_BloodQty',12000]),(_unit getVariable['humanity',0]),(_unit getVariable['headShots',0] call BIS_fnc_numberText),(_unit getVariable['bank',0] call BIS_fnc_numberText)];
				
Link to comment
Share on other sites

  • 7 months later...
  On 8/11/2014 at 7:17 PM, PeterBeer said:

Simple Peace Of Code But Alot Of Help 

 

Reason For :

Catch People Who Duplicate

 

Install :

Open AH.sqf

 

Find :

_log2 = format['Blood: %1    Humanity: %2',(_unit getVariable['USEC_BloodQty',12000]),(_unit getVariable['humanity',0])];

Replace With :

_log2 = format['Blood: %1 | Humanity: %2 | Money: %3 | Bank: %4',(_unit getVariable['USEC_BloodQty',12000]),(_unit getVariable['humanity',0]),(_unit getVariable['headShots',0]),(_unit getVariable['bank',0])];

 

I am using Zupa's SC 3.0 storage on my server with infistar. I'm pretty sure I won't be able to see the amount in a persons shed, so can I just use this code to see how many coins a player has on them?

 

"_log2 = format['Blood: %1 | Humanity: %2 | Money: %3',(_unit getVariable['USEC_BloodQty',12000]),(_unit getVariable['humanity',0]),(_unit getVariable['cashMoney',0])];"

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 years later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...