another car problem here.

[lua]

LocalPlayer():GetVehicle():SetNWInt( “fuel”, LocalPlayer():GetVehicle():GetNWInt( “fuel” ) - (math.floor((LocalPlayer():GetPos() - LocalPlayer().oldLoc):Length()/( math.abs( CurTime() - LocalPlayer().updatedTime )*17.6))*(CurTime() - LocalPlayer().updatedTime)) )

[/lua]

using this to find the speed of my car and take away the speed of your car per second. I get no errors and retrieving the value always returns the initial set value. what did i do this time?