NathanFtw wrote:Installed like a breeze, all features work! The only thing i had to do was change a few language edits and some code edits for my style, other than that this mod is great thanks alot!
Edit: Oh just one thing, how do i remove the decimals from all the currencies for example in the lottery, robbery etc.
As a lot of people requested this, we added the decimals
Open includes/points/functions_points.php and look for:
Code: Select all
* Preformat numbers
$decimals = 2;
return number_format($num, $decimals, $user->lang['POINTS_SEPARATOR_DECIMAL'], $user->lang['POINTS_SEPARATOR_THOUSANDS']);
Change there the value for $decimals to 0. That should do the job. But be aware ... in the background the calculations are still done with decimals. So the displayed values may not tell the trouth