if(gGas == 1) {
if(IsAPlane(vehicle) || IsABoat(vehicle) || IsABike(vehicle) || IsAHarvest(vehicle) || IsADrugHarvest(vehicle) || IsASweeper(vehicle))
{
format(string, sizeof(string), \"N/A\");
}
else
{
format(string, sizeof(string), \"%d%\",Gas[vehicle]);
}
TextDrawSetString(i,Benzin,string); }// <---------- Hibás sor
if(IsAPlane(vehicle) || IsABoat(vehicle) || IsABike(vehicle) || IsAHarvest(vehicle) || IsADrugHarvest(vehicle) || IsASweeper(vehicle) || engineOn[vehicle] == 0) { Gas[vehicle]++; }
Gas[vehicle]--;
}
else
{
NoFuel = 1;
TogglePlayerControllable(i, 0);
GameTextForPlayer(i,\"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~Kifogyott~w~ az üzemanyag~n~ a jármûbõl!\",1500,3);
}
}
}
}
return 1;
}