Jump to content
Jim90

[SOLVED] - 1.0.6.1 Starting money for new players.

Recommended Posts

What I posted didn't seem to trigger on death for some reason but what you posted is less confusing for others and seems safer. I've tested both option and they seem to be working properly. Thanks for an easier option, I will remove my post to prevent confusion. :)

Share this post


Link to post
Share on other sites
14 minutes ago, Mannie said:

What I posted didn't seem to trigger on death for some reason but what you posted is less confusing for others and seems safer. I've tested both option and they seem to be working properly. Thanks for an easier option, I will remove my post to prevent confusion. :)

I edited the OP to reflect that it has been solved

Cheers

Share this post


Link to post
Share on other sites

Works great.  Thanks salival

Might I suggest permanently adding these two lines with default values of 0 and, a comment on each line saying what they are for like this.

dayz_server\compile\server_playerLogin.sqf 

if (_newPlayer) then {_characterCoins = 0}; // Set starting coins on new players here.
if (_newPlayer) then {_bankCoins = 0}; // Set starting coins in new players bank here.
PVCDZ_plr_Login = [_charID,_inventory,_backpack,_survival,_isNew,dayz_versionNo,_model,_isHiveOk,_newPlayer,_isInfected,_group,_CharacterCoins,_playerCoins,_BankCoins];

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Advertisement
  • Donation Box

    Please donate to support the community.
    We appreciate all donations!
  • Advertisement
  • Supporters
  • Latest Donations

  • Advertisement
  • Discord

×