08.11.2010, 10:25
pawn Код:
if(VehicleFuel[GetPlayerVehicleID(playerid)]==10)
{
SendClientMessage(playerid, c_r, "Tank Is Already Full");
}
else
{
for(new i; i < 12; i++){
if(VehicleFuel[GetPlayerVehicleID(playerid)]>=10)break;
VehicleFuel[GetPlayerVehicleID(playerid)]+=1;
}
}