save money

This commit is contained in:
eraser1 2016-07-03 20:13:20 -05:00
parent 05b89c93ca
commit a07d2b412e
3 changed files with 7 additions and 1 deletions

View File

@ -4,7 +4,7 @@ class CfgPatches
{
units[] = {};
weapons[] = {};
a3_DMS_version = "July 3, 2016";
a3_DMS_version = "July 3, 2016 (2)";
requiredVersion = 1.36;
requiredAddons[] = {"exile_client","exile_server_config"};
};

View File

@ -83,6 +83,9 @@ if ((!isNull _playerObj) && {(_playerUID != "") && {_playerObj isKindOf "Exile_U
// Send notification
[_playerObj, "toastRequest", _msgParams] call ExileServer_system_network_send_to;
// Update money in database
format["setPlayerMoney:%1:%2", _playerMoney, _playerObj getVariable ["ExileDatabaseID", 0]] call ExileServer_system_database_query_fireAndForget;
};
};

View File

@ -150,6 +150,9 @@ ___
# Changelog:
### Main Branch
### July 3, 2016 (8:15 PM CST-America):
* Player money will be saved on kill.
### July 3, 2016 (1:40 AM CST-America):
* Updated AI weapons to include new exile weapons.
* Updated box loot with latest food, drink, crafting materials, and building supplies.