mirror of
https://github.com/Defent/DMS_Exile.git
synced 2024-08-30 16:52:12 +00:00
save money
This commit is contained in:
parent
05b89c93ca
commit
a07d2b412e
@ -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"};
|
||||
};
|
||||
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user