Update server_playerSync.sqf

This commit is contained in:
worldwidesorrow
2020-07-29 15:53:42 -05:00
committed by GitHub
parent 21965347c2
commit 38a71177a3

View File

@@ -38,9 +38,9 @@ _medical = [];
_distanceFoot = 0; _distanceFoot = 0;
//all getVariable immediately //all getVariable immediately
_globalCoins = _character getVariable [Z_globalVariable, -1]; _globalCoins = _character getVariable ["globalMoney", -1];
_bankCoins = _character getVariable [Z_BankVariable, -1]; _bankCoins = _character getVariable ["bankMoney", -1];
_coins = _character getVariable [Z_MoneyVariable, -1]; //should getting coins fail set the variable to an invalid value to prevent overwritting the in the DB _coins = _character getVariable ["cashMoney", -1]; //should getting coins fail set the variable to an invalid value to prevent overwritting the in the DB
_lastPos = _character getVariable ["lastPos",_charPos]; _lastPos = _character getVariable ["lastPos",_charPos];
_usec_Dead = _character getVariable ["USEC_isDead",false]; _usec_Dead = _character getVariable ["USEC_isDead",false];
_lastTime = _character getVariable ["lastTime",-1]; _lastTime = _character getVariable ["lastTime",-1];