Description:
When someone wins the game, a MOTD window pops up containing information about the winner.
Installation:
- Extract this file to your server
- If you haven't already, upgrade to this version of usermsg!
- Restart your server or reload GunGame
- Customize **NOT REQUIRED** (host on your own web server):
- If you wish to adjust the layout of the page, you can host it on your own website. Save this code as gg5_win.php and adjust it to your likings:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>GunGame Winner</title>
<style type="text/css">
body {
background:#CCCCCC;
font-family:Verdana,Tahoma;
color:#000000;
vertical-align:middle;
}
</style>
</head>
<body>
<table height="100%" topmargin="0" bottommargin="0" align="center" cellpadding="0" cellspacing="0">
<tr align="center" valign="middle">
<td valign="middle">
<table><tr><td>
<img src="http://www.gungame5.com/images/gungame5_logo.png"> </td><td>
<b><?php print ($_GET["winnerName"]); ?></b> Won!<hr><br />
<b><?php print ($_GET["winnerName"]); ?></b> won the game by killing <b><?php print ($_GET["loserName"]); ?></b><br /><br />
<b>Stats:</b><br />
Wins: <b><?php print ($_GET["wins"]); ?></b><br />
Place: <b><?php print ($_GET["place"]); ?></b> of <b><?php print ($_GET["totalPlaces"]); ?></b></td></tr><tr><td colspan="2" align="center"><br><br>Powered by <a href="http://gungame5.com">http://www.gungame5.com</a></td></tr></table></td></tr></table>
</body>
</html>
Also, you will need to edit gg_winner_display_page located in cfg/gungame5/custom_addon_configs/gg_winner_display.cfg
Servers running this addon:
http://www.game-monitor.com/search.php? ... e=variable
EventScripts Addon Manager
http://addons.eventscripts.com/addons/v ... er_display
Download