Hi guys, once you all helped me out and got the ball rolling, I’ve made lots of good progress on my gamemode
Now I’m adding a currency system, and there’s something that could add an irrational amount of money to someone. How do I set a float to have a decimal place limit of hundredths?
I’m using ply:SetNetworkedFloat, and there’s a part of the code that has:
killer:AddMoney( 10 * (killer:GetNWFloat( 'multiplier' ) ) ) killer:SetNetworkedFloat( 'multiplier' , ( killer:GetNWFloat( 'multiplier' ) * 1.4 ) )
So you could see how the decimals could get out of hand on the HUD