nick7() functions replaced by nick class
This commit is contained in:
@@ -47,7 +47,7 @@ if ($user['battle'] == 0) {
|
||||
mysql_query("UPDATE `inventory` SET `duration`=`duration`+1 WHERE `type` <>12 AND `dressed` = 1 AND `owner` = '{$user['id']}';");
|
||||
$magictime=time()+(10*60);
|
||||
mysql_query("INSERT INTO `effects` (`owner`,`name`,`time`,`type`) values ('".$user['id']."','Путы','$magictime',10);");
|
||||
addchp ('<font color=red>Внимание!</font> Вы вышли из боя! ','{[]}'.nick7 ($user['id']).'{[]}');
|
||||
addchp ('<font color=red>Внимание!</font> Вы вышли из боя! ','{[]}'.nick::id($user['id'])->short().'{[]}');
|
||||
mysql_query("UPDATE `battle` SET `teams` = '".serialize($battle)."', `t".$ttt."`='".implode(";",$tu)."' WHERE `id` = ".$user['battle']." ;");
|
||||
mysql_query('UPDATE users SET `battle` =0, `hp` = 0 WHERE `id` = '.$user['id'].';');
|
||||
header("Location:fbattle.php");
|
||||
|
||||
Reference in New Issue
Block a user