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

19 lines
454 B
PHP

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