18.03.2015, 16:29
in /ecreate
pawn Код:
new vehicle = CreateVehicle(...);
new Model = GetVehicleModel(vehicle);
if(IsATruck(vehicle)) Fuel[vehicle] = 100.00;
else if(IsABus(Model)) Fuel[vehicle] = 80.00;
else if(IsABike(Model)) Fuel[vehicle] = 15.00;
else Fuel[vehicle] = 40.00;