View file gta_lesnik/includes/inc_golod.php

File size: 247B
<?php

if($golod>0)
{
--$golod;
mysql_query("update users set golod='".$golod."' where id='".$id."';");
}
else
{
--$health;
mysql_query("update users set health='".$health."' where id='".$id."';");
print $lang['golod_warning'];
}

?>