• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Znote AAC Death

Rossii

Member
Joined
Mar 27, 2012
Messages
366
Reaction score
6
Location
England
Hi people!

when ppl die it says the have died by an account manager

Heres the script!


PHP:
<?php require_once 'engine/init.php'; include 'layout/overall/header.php';
$cache = new Cache('engine/cache/deaths');
if ($cache->hasExpired()) {
	
	if ($config['TFSVersion'] == 'TFS_02') {
		$deaths = fetchLatestDeaths();
	} else if ($config['TFSVersion'] == 'TFS_03') {
		$deaths = fetchLatestDeaths_03(false);
	}
	$cache->setContent($deaths);
	$cache->save();
} else {
	$deaths = $cache->load();
}
if ($deaths) {
?>
<h1>Latest Deaths</h1>
<table id="deathsTable">
	<tr class="yellow">
		<td>Victim</td>
		<td>Time</td>
		<td>Killer</td>
	</tr>
	<?php foreach ($deaths as $death) { 
		echo '<tr>';
		echo "<td>At level ". $death['level'] .": <a href='characterprofile.php?name=". $death['victim'] ."'>". $death['victim'] ."</a></td>";
		echo "<td>". date($config['date'], $death['time']) ."</td>";
		if ($death['is_player'] == 1) echo "<td>Player: <a href='characterprofile.php?name=". $death['killed_by'] ."'>". $death['killed_by'] ."</a></td>";
		else if ($death['is_player'] == 0) echo "<td>Monster: ". $death['killed_by'] ."</td>";
		else echo "<td>". $death['killed_by'] ."</td>";
		echo '</tr>';
	} ?>
</table>
<?php
} else echo 'No deaths exist.';
include 'layout/overall/footer.php'; ?>


hope someone can help me REP+
 
Back
Top