Adding Money to Atm balance instead of cmoney for new clients

  • Offline hobart
  • First Blood
  • ***
  • Posts: 82
As the title states I'm wanting to make the new player start money be a certain number only once when the player is created in the db, I've tried editing the default string in the table to reflect the amount I want but it only works hit or miss. looking at the mission I am wondering should I edit this line
Code: [Select]
["BankMoney", _player getVariable ["bmoney", 0]], in setupPlayerDB.sqf? Seems legit.

Any insight is appreciated.
  • Offline hobart
  • First Blood
  • ***
  • Posts: 82

Re: Adding Money to Atm balance instead of cmoney for new clients

« Reply #1 posted: Jun 13, 2017, 09:59 PM »
Well, this didn't work nor did changing the default amount in the table itself. If anyone could point me in the right direction I would greatly appreciate it. ;D

Re: Adding Money to Atm balance instead of cmoney for new clients

« Reply #2 posted: Jun 14, 2017, 05:50 AM »
the getvariable command returns what the variable is set as. what you want to find is the setvariable command. You might try changing line 74 of that same file, but I'm not sure if that doesn't what you want.
  • Offline hobart
  • First Blood
  • ***
  • Posts: 82

Re: Adding Money to Atm balance instead of cmoney for new clients

« Reply #3 posted: Jun 14, 2017, 07:18 AM »
Thanks, I believe that reads whatever value is in the table for the player's bmoney. but not 100% certain.