game/_incl_data/class/dnaction/101/viboina4.php
2022-06-07 00:30:34 +03:00

19 lines
459 B
PHP

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