10.01.2014, 18:34
The problem is here:
When I change the code to this, I don't get errors, but gasoline down fast
Here's the whole code without errors, but gasoline down fast!:
Код:
AVehicleData[vid][Fuel] = AVehicleData[vid][Fuel] -0.1;
Код:
AVehicleData[vid][Fuel] = AVehicleData[vid][Fuel] -1;
pawn Код:
if (GetPlayerVehicleSeat(playerid) == 0)
if ((final_speed_int > 10) && (AVehicleData[vid][Float:Fuel] > 0))
AVehicleData[vid][Float:Fuel] = AVehicleData[vid][Float:Fuel] -1;

