diff --git a/CHANGELOG.txt b/CHANGELOG.txt index b18608e..72ff567 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,6 @@ +v1.1 +- fixed "toast message" when player has won poptabs + v1.0 - fixed issues for ExileMod version 0.9.8 diff --git a/ExileServerMod/scratchie_server.pbo b/ExileServerMod/scratchie_server.pbo index 30b646d..3f8b6ff 100644 Binary files a/ExileServerMod/scratchie_server.pbo and b/ExileServerMod/scratchie_server.pbo differ diff --git a/ExileServerMod/scratchie_server/code/ExileServer_lottery_network_request.sqf b/ExileServerMod/scratchie_server/code/ExileServer_lottery_network_request.sqf index d8e3272..8e92b26 100644 --- a/ExileServerMod/scratchie_server/code/ExileServer_lottery_network_request.sqf +++ b/ExileServerMod/scratchie_server/code/ExileServer_lottery_network_request.sqf @@ -70,6 +70,8 @@ try _player setVariable ["ExileMoney", _playerMoney, true]; format["setPlayerMoney:%1:%2", _playerMoney, _player getVariable ["ExileDatabaseID", 0]] call ExileServer_system_database_query_fireAndForget; + + [_player, "toastRequest", ["SuccessTitleOnly", [format["Added %1 poptabs", parseNumber(_prize select 0)]]]] call ExileServer_system_network_send_to; [_player, "lockerResponse", []] call ExileServer_system_network_send_to; }; case "WeaponPrize": diff --git a/README.md b/README.md index 744c74f..a88d7ce 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ ## Scratchies (*lottery like* minigame for Exile Mod) -Version: 1.0 | Author: ole1986 | This extension is licensed under the Arma Public Licence +Version: 1.1 | Author: ole1986 | This extension is licensed under the Arma Public Licence **
xm8Apps compatible - see section MissionFile
**