Bug with refuel need help.
#11

I mean
pawn Код:
public ReFill(playerid)
{
    if(!IsAtFuelStation(playerid) || !IsPlayerInAnyVehicle(playerid) || VehicleFuel[GetPlayerVehicleID(playerid)] >= 100.0 || GetPlayerCash(playerid) < 1)
    {
        StopRefueling(playerid);
    }
    else
    {
        new engine,lights,alarm,doors,bonnet,boot,objective;
        GetVehicleParamsEx(GetPlayerVehicleID(playerid),engine,lights,alarm,doors,bonnet,boot,objective);
        if(engine == VEHICLE_PARAMS_ON) return StopRefueling(playerid);
        VehicleFuel[GetPlayerVehicleID(playerid)] += 1.0; RefuelingVehiclePrice[playerid] += 30;
        if(VehicleFuel[GetPlayerVehicleID(playerid)] >= 100.0) StopRefueling(playerid);
    }
    return true;
}
Sorry
Reply


Messages In This Thread
Bug with refuel need help. - by GBLTeam - 24.07.2011, 14:46
Re: Bug with refuel need help. - by Dirkon - 24.07.2011, 14:49
Re: Bug with refuel need help. - by alpha500delta - 24.07.2011, 14:52
Re: Bug with refuel need help. - by MadeMan - 24.07.2011, 14:53
Re: Bug with refuel need help. - by GBLTeam - 24.07.2011, 20:14
Re: Bug with refuel need help. - by MoroDan - 24.07.2011, 20:46
Re: Bug with refuel need help. - by GBLTeam - 24.07.2011, 23:35
Re: Bug with refuel need help. - by =WoR=Varth - 25.07.2011, 00:37
Re: Bug with refuel need help. - by GBLTeam - 25.07.2011, 09:20
Re: Bug with refuel need help. - by Berky - 25.07.2011, 09:47
Re: Bug with refuel need help. - by =WoR=Varth - 26.07.2011, 01:03

Forum Jump:


Users browsing this thread: 2 Guest(s)