game/_incl_data/class/magic/un_metka.php
2022-06-07 00:30:34 +03:00

21 lines
468 B
PHP

<?
if(!defined('GAME'))
{
die();
}
if($itm['magic_inci'] == 'un_metka' ) {
if ($usr['id']=='89489' || $usr['id']=='903093' || $usr['id']=='888059' || $usr['id']=='2644957')
{
$u->error = 'Ñëèøêîì ëþòûé Âðàã '.$usr['login'].' íåõâàòàåò óìåíèÿ !';
}
else
{
mysql_query('UPDATE `stats` set `atack` = "0" WHERE `id` = "'.$usr['id'].'" LIMIT 1');
$u->deleteItem($itm['id']);
$u->error = 'Âû óñïåøíî ñíÿëè "×åðíóþ ìåòêó" ñ ïåðñîíàæà '.$usr['login'].'!';
}
}
?>