04.06.2016, 05:10
I made the fuel system and put that displays fuel allowed in tanks and hundreds of spores ovo e sad problem is that the menu for the engine not to display 40L but shows 60L.Bike 40l Cars 60l Boat Hell 100l
PHP код:
for(new c = 1; c <= brojvozila; c++)
{
if(VoziloJeAvion(c) || VoziloJeBrod(c) || VoziloJeKamion(c)) { GorivoP[c] = 100; }
else if(VoziloJeMotor(c)) { GorivoP[c] = 40; }
else if(VoziloJeBicikla(c) || GetVehicleModel(c) == 538) { GorivoP[c] = 1000000; }
else { GorivoP[c] = 60; }
}