[HELP] fuel skip
#8

Because 14.9 cannot be represented I guess. Anyways, you can fix it by adding 0.01 on the result but do it only if the fuel is 15.0
pawn Код:
if(engine == 1 && Fuel[vid] == 15.0) Fuel[vid] = (Fuel[vid] - 0.1) + 0.01;
Reply


Messages In This Thread
[HELP] fuel skip - by Luca12 - 19.06.2014, 08:30
Re: [HELP] fuel skip - by mamorunl - 19.06.2014, 09:37
Re: [HELP] fuel skip - by Luca12 - 19.06.2014, 09:52
Re: [HELP] fuel skip - by Laurey - 19.06.2014, 09:57
Re: [HELP] fuel skip - by Luca12 - 19.06.2014, 10:04
Re: [HELP] fuel skip - by Konstantinos - 19.06.2014, 10:10
Re: [HELP] fuel skip - by Luca12 - 19.06.2014, 10:12
Re: [HELP] fuel skip - by Konstantinos - 19.06.2014, 10:17
Re: [HELP] fuel skip - by JM_Millers - 19.06.2014, 10:27
Re: [HELP] fuel skip - by Rittik - 19.06.2014, 10:35

Forum Jump:


Users browsing this thread: 1 Guest(s)