Skip to content

Commit

Permalink
fixed "toast message" when player has won poptabs
Browse files Browse the repository at this point in the history
  • Loading branch information
ole committed Jul 3, 2016
1 parent 627313d commit 53be523
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v1.1
- fixed "toast message" when player has won poptabs

v1.0
- fixed issues for ExileMod version 0.9.8

Expand Down
Binary file modified ExileServerMod/scratchie_server.pbo
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Scratchies (*lottery like* minigame for Exile Mod)
<sub>Version: 1.0 | Author: ole1986 | This extension is licensed under the Arma Public Licence</sub>
<sub>Version: 1.1 | Author: ole1986 | This extension is licensed under the Arma Public Licence</sub>

**<p align="center"><a href="https://github.com/TheeMrshix/XM8-Apps">xm8Apps</a> compatible - see section <a href="#missionfile">MissionFile</a></p>**

Expand Down

0 comments on commit 53be523

Please sign in to comment.