Pening
Pingwin :P
How it work?
So script shows which outfit or addon player wear
Just past this script in characters.php. After Account Status (~ line 128) or somewhere you want ;D
Extract folder addons to folder images
So script shows which outfit or addon player wear
Just past this script in characters.php. After Account Status (~ line 128) or somewhere you want ;D
Code:
$main_content .= '<table width=100%><tr><td align=center WIDTH=25%>';
//Outfit shower by Pening
$id = $player->getCustomField("id");
$main_content .= '<table with=100% style="border: solid 1px #888888;" CELLSPACING="3"><TR>';
$listaddon = array('128','129','130','131','132','133','134','135','136','137','138','139','140','141','142','143','144','145','146','147','148','149','150','151','152','153','154','155','158','159','251','252','268','269','270','273','278','279','288','289','324','325');
$lookadd = array('0','1','2','3');
foreach ($listaddon as $pid => $name)
foreach ($lookadd as $addo => $name) {
$addon1 = $SQL->query('SELECT * FROM players WHERE id = '.$id.' AND looktype = '.$listaddon[$pid].' AND lookaddons = '.$lookadd[$addo].';')->fetch();
if($addon1[looktype] == true ) {
$finaddon = $addon1[looktype] + $addon1[lookaddons] * 300;
$main_content .= '<TD with=50% style="background-color: '.$config['site']['darkborder'].'"><img src="images/addons/'.$finaddon.'.gif"/></TD>';
}
}
$main_content .= '</tr>';
$main_content .= '</TABLE></td>';
Extract folder addons to folder images
Attachments
-
addons.rar577.6 KB · Views: 914 · VirusTotal