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

14 lines
346 B
PHP

<?
if(!defined('GAME'))
{
die();
}
if( $u->info['clan'] == 0 ) {
$u->error = 'Âû íå ñîñòîèòå â êëàíå!';
}elseif( $itm['id'] > 0 ) {
$u->deleteItem($itm['id']);
mysql_query("UPDATE `clan` SET `exp`=`exp`+'5000' WHERE `id` = '".mysql_real_escape_string($u->info['clan'])."' LIMIT 1");
$u->error = 'Âû óâåëè÷èëè êëàíîâûé îïûò +5000';
}
?>