11.07.2011, 02:58
Код:
if(IsAFuelTruck(newcar))//ftjob { if(PlayerInfo[playerid][pJob] == 16) { format(string, sizeof(string), "Fuel: %d,000/%d,000 Gallons", PlayerHaul[newcar][pFuelLoad],PlayerHaul[newcar][pCapasity]); SendClientMessage(playerid, COLOR_YELLOW, string); SendClientMessage(playerid, COLOR_WHITE, "INFO: You can deliver Fuel to Los Santos Trucking Docks."); SendClientMessage(playerid, COLOR_WHITE, "INFO: Commands are /buyfuel [amount] /sellfuel"); } else { SendClientMessage(playerid, COLOR_WHITE, " You are not a Truck Driver."); RemovePlayerFromVehicle(playerid); TogglePlayerControllable(playerid, 1); } }
Код:
enum pHaul { pCapasity, pLoad, pFuelLoad,//ftjob }; new PlayerHaul[][pHaul];
Fuel: -12391782591725,000/20,000 Gallons
Its suppose to be saying when I enter a fueltruck 0/20,000
Why is it saying this weird number ?