game/modules_data/moder/usenevid.php
2022-06-07 00:30:34 +03:00

20 lines
446 B
PHP

<?
if(!defined('GAME'))
{
die();
}
if($p['invis'] == 1)
{
if($u->info['invis']!=1 && $u->info['invis']<time()) {
$uer = 'Âû óñïåøíî âêëþ÷èëè íåâèäèìêó';
$u->info['invis'] = 1;
}else{
$uer = 'Âû óñïåøíî âûêëþ÷èëè íåâèäèìêó';
$u->info['invis'] = 0;
}
mysql_query('UPDATE `users` SET `invis` = "'.$u->info['invis'].'" WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
}else{
$uer = 'Ó Âàñ íåò ïðàâ íà èñïîëüçîâàíèå äàííîãî çàêëÿòèÿ';
}
?>