PeterBeer Posted August 11, 2014 Report Share Posted August 11, 2014 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 : Mtv777, MG-Maximus, Soul and 3 others 6 Link to comment Share on other sites More sharing options...
asremix Posted August 11, 2014 Report Share Posted August 11, 2014 Oh ! Good job. Very nice guy. Link to comment Share on other sites More sharing options...
Soul Posted August 11, 2014 Report Share Posted August 11, 2014 very nice and thanks for sharing! Link to comment Share on other sites More sharing options...
Glenn Posted August 11, 2014 Report Share Posted August 11, 2014 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 : 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 More sharing options...
PeterBeer Posted August 11, 2014 Author Report Share Posted August 11, 2014 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 More sharing options...
PeterBeer Posted August 11, 2014 Author Report Share Posted August 11, 2014 Post Updated Link to comment Share on other sites More sharing options...
ZENITHOVMAN Posted August 11, 2014 Report Share Posted August 11, 2014 Very useful indeed :) Thanks for sharing PeterBeer. Link to comment Share on other sites More sharing options...
Soul Posted August 12, 2014 Report Share Posted August 12, 2014 getVariable["bank",0]; will not work on my edits as it is "bankMoney" that i used for variablename... Link to comment Share on other sites More sharing options...
PeterBeer Posted August 12, 2014 Author Report Share Posted August 12, 2014 getVariable["bank",0]; will not work on my edits as it is "bankMoney" that i used for variablename... Post updated Link to comment Share on other sites More sharing options...
Rocu Posted August 14, 2014 Report Share Posted August 14, 2014 Edit// Nvm, wrong thread /delete Link to comment Share on other sites More sharing options...
ARcoolJ Posted August 17, 2014 Report Share Posted August 17, 2014 Any idea why i cant see how much money is on the Bank? I have Zupa´s 1.1 Version. Link to comment Share on other sites More sharing options...
PeterBeer Posted August 17, 2014 Author Report Share Posted August 17, 2014 Any idea why i cant see how much money is on the Bank? I have Zupa´s 1.1 Version. no idea buddy nothing wrong with the code i have provided Link to comment Share on other sites More sharing options...
ARcoolJ Posted August 17, 2014 Report Share Posted August 17, 2014 Figured out the Variable has to be "bank" instead of "bankMoney" if using Zupa´s version, Link to comment Share on other sites More sharing options...
PeterBeer Posted August 17, 2014 Author Report Share Posted August 17, 2014 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 More sharing options...
ARcoolJ Posted August 17, 2014 Report Share Posted August 17, 2014 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" No problem, happens. Glad i could help ^^ Link to comment Share on other sites More sharing options...
THEbookie Posted October 3, 2014 Report Share Posted October 3, 2014 You should have AH.sqf and AHconfig.sqf inside your server Init folder. You put this code inside your AH.sqf Link to comment Share on other sites More sharing options...
PeterBeer Posted October 3, 2014 Author Report Share Posted October 3, 2014 My AH file looks like this and it's called AHconfig. Where would I place the code?? Don't post that on here don't think Chris (Infistar) will like it, Also that is your AHConfig.sqf ...... Link to comment Share on other sites More sharing options...
FrenzyFire000 Posted October 4, 2014 Report Share Posted October 4, 2014 Well dopeycuhz, you might make the blacklist. Better listen to PetterBeer. Link to comment Share on other sites More sharing options...
Pro_Speedy Posted October 7, 2014 Report Share Posted October 7, 2014 anyway to get it to display numbers correctly as a lot of my players have over a million and it displays incoorectly? Thanks Link to comment Share on other sites More sharing options...
DimitriPokki Posted November 8, 2014 Report Share Posted November 8, 2014 Good tutorial Link to comment Share on other sites More sharing options...
Hellstyrant Posted December 5, 2014 Report Share Posted December 5, 2014 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)]; Hellstyrant 1 Link to comment Share on other sites More sharing options...
Johnw7392 Posted July 5, 2015 Report Share Posted July 5, 2015 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 More sharing options...
Johnw7392 Posted July 5, 2015 Report Share Posted July 5, 2015 Nevermind to my last post asking if that would work out. I went ahead and tried it and worked out great. Link to comment Share on other sites More sharing options...
pr0dukt Posted July 18, 2015 Report Share Posted July 18, 2015 Does anyone have a problem where bank is always zero unless they used a bank during a restart? Link to comment Share on other sites More sharing options...
PapaSmurf Posted October 29, 2018 Report Share Posted October 29, 2018 Btw the line you need to find has been moved. Its now inside AT.sqf Find: _log2 = format['Blood: %1 Humanity: %2',(_unit getVariable['USEC_BloodQty',12000]),(_unit getVariable['humanity',0])]; I used the soul edits replace. 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