2023-03-31 18:42:06 +00:00
|
|
|
|
<?php
|
2022-06-06 21:30:34 +00:00
|
|
|
|
if(!defined('GAME'))
|
|
|
|
|
{
|
|
|
|
|
die();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if($p['invis'] == 1)
|
|
|
|
|
{
|
|
|
|
|
if($u->info['invis']!=1 && $u->info['invis']<time()) {
|
2023-01-10 16:29:32 +00:00
|
|
|
|
$uer = 'Вы успешно включили невидимку';
|
2022-06-06 21:30:34 +00:00
|
|
|
|
$u->info['invis'] = 1;
|
|
|
|
|
}else{
|
2023-01-10 16:29:32 +00:00
|
|
|
|
$uer = 'Вы успешно выключили невидимку';
|
2022-06-06 21:30:34 +00:00
|
|
|
|
$u->info['invis'] = 0;
|
|
|
|
|
}
|
|
|
|
|
mysql_query('UPDATE `users` SET `invis` = "'.$u->info['invis'].'" WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|
|
|
|
}else{
|
2023-01-10 16:29:32 +00:00
|
|
|
|
$uer = 'У Вас нет прав на использование данного заклятия';
|
2022-06-06 21:30:34 +00:00
|
|
|
|
}
|
|
|
|
|
?>
|