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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...