FIX: Possible fixes for server crashes
CODE: Better casting
CODE: Rationalise calculation of vehicle resale value to remove floating point arithmeitc