GetFuelCost(vehicleid) { new Float:FuelC; switch(vehicleid) { case 400: FuelC = 0.66;//40 Литров case 522: FuelC = 1.2; } return FuelC; }