I'm making a level up system which involves my player's gravity going up by 10 (CS gravity) each time the player levels up, in order to allow them to jump higher. My problem is when I use the Fun Module function get_user_gravity(id) it gives me the number 1065353216.
So I looked at it this way - in CS the default gravity is 800. I want it to go up by 10. So 800 divided by 10 is 80, meaning that my gravity goes up by one 80th of the default gravity each level up. So I thought if I get one 80th of 1065353216, which is 13316915, I can increase 1065353216 (the default) by 13316915 (the 80th of the default) each time the player levels up. Now when using set_user_gravity(id) it seems to push you in the opposite way to CS gravity, (at the moment I've only tested this part at level 20) so whether I add or subtract the 80th it will either shoot me up into the sky or glue me to the ground.