19 lines
459 B
PHP
19 lines
459 B
PHP
<?
|
|
if( isset($s[1]) && $s[1] == '101/viboina3' ) {
|
|
/*
|
|
Âûáîèíà
|
|
* Òåëåïîðòèðóåò íà íåîáõîäèìóþ êëåòêó õ 4 , ó 25
|
|
*/
|
|
//Âñå ïåðåìåííûå ñîõðàíÿòü â ìàññèâå $vad !
|
|
$vad = array(
|
|
'go' => true
|
|
);
|
|
|
|
if( $vad['go'] == true ) {
|
|
mysql_query('UPDATE `stats` SET `x` = "4",`y` = "25",`s` = "2" WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
|
|
$r = 'Âû ïåðåøëè íà äðóãóþ ñòîðîíó çàâàëà';
|
|
echo '<script>location.href="main.php"</script>';
|
|
}
|
|
unset($vad);
|
|
}
|
|
?>
|