Poptab notification for killing

See comments ;)
This commit is contained in:
eraser1 2015-08-31 13:30:38 -05:00
parent beae797d12
commit 3f27d92ef6

View File

@ -98,10 +98,9 @@ if ((!isNull _playerObj) && {(getPlayerUID _playerObj) != ""}) then
_money = _money + _moneyGain; _money = _money + _moneyGain;
_playerObj setVariable ["ExileMoney",_money]; _playerObj setVariable ["ExileMoney",_money];
// Send updated money value to client // Send notification and update client's money stats
ExileClientPlayerMoney = _money; // Somebody done fucked up so you don't see the sender for the money sending ;)
(owner _playerObj) publicVariableClient "ExileClientPlayerMoney"; [_playerObj, "moneyReceivedRequest", [str _money, "AI KILL"]] call ExileServer_system_network_send_to;
ExileClientPlayerMoney = nil;
}; };
if (_repGain>0) then if (_repGain>0) then