{% else-1 %}
(11 авг 2015, 14:11) (0/0) [0]
sisy = $user['health']+1;
if($sisy >= $user['max_health']){mysql_query
("UPDATE `users` SET `health` = '".
$user['max_health']."' WHERE `id` = '".
$user['id']."' LIMIT 1"*;
}else{mysql_query
("UPDATE `users` SET `health` = '".
($user
['health'] + 1.00)."' WHERE `id` = '".
$user['id']."' LIMIT 1"*;
}
  • 1 из 1