game/_incl_data/class/priems/moment2.php
2022-06-07 00:30:34 +03:00

15 lines
535 B
PHP

<?
if(!defined('GAME'))
{
die();
}
if($pl['id'] == 223) {
//Ðûâîê
$btl->users[$btl->uids[$u->info['id']]]['tactic1'] += 3;
$btl->stats[$btl->uids[$u->info['id']]]['tactic1'] = $btl->users[$btl->uids[$u->info['id']]]['tactic1'];
$u->stats['tactic1'] = $btl->users[$btl->uids[$u->info['id']]]['tactic1'];
$u->info['tactic1'] = $btl->users[$btl->uids[$u->info['id']]]['tactic1'];
mysql_query('UPDATE `stats` SET `tactic1` = "'.$btl->users[$btl->uids[$u->info['id']]]['tactic1'].'" WHERE `id` = "'.$u->info['id'].'" LIMIT 1');
}
?>