game/_incl_data/class/dnaction/101/viboina3.php

19 lines
563 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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);
}
?>