How to use...

* !hunt [prize],[nick] : Wysyla ogloszenie o huncie dla postaci. Cena w tysiacach.
Przyklad: !hunt 100,Infinity



Bounty Hunters

'; $inv = @mysql_query("SELECT * FROM `bounty_hunters` ORDER BY `added` DESC"); $num = 0; $color=$config['site']['darkborder']; while($tab = @mysql_fetch_array($inv)){ if($num%2 == 0){$color=$config['site']['darkborder'];}else{$color=$config['site']['lightborder'];} $pid = $tab['fp_id']; $sid = $tab['sp_id']; $kid = $tab['k_id']; $killed = $tab['killed']; $prize = $tab['prize']*1000; if($killed == 0){ $kill = 'Nobody!'; }else{ $k = @mysql_query("SELECT * FROM `players` WHERE `id` = ".$kid.""); $k1 = @mysql_fetch_array($k); $kill_name = $k1['name']; $kill = ''.$kill_name.''; } $f = @mysql_query("SELECT * FROM `players` WHERE `id` = ".$pid.""); $f1 = @mysql_fetch_array($f); $s = @mysql_query("SELECT * FROM `players` WHERE `id` = ".$sid.""); $s1 = @mysql_fetch_array($s); $fn = $f1['name']; $sn = $s1['name']; $main_content .= ' '; $num++; } if($num == 0){ $main_content.=''; } $main_content .='
Zlecil
Nagroda
Ofiara
Zabity przez
'.$fn.'
'.$prize.' gp
'.$sn.'
'.$kill.'
Currently there are not any bounty hunter offer.
Copyright © oTibia.net.
'; ?>