error 033 need help on this
#2

pawn Код:
// Fuel
        if(fMeter[playerid] && IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
        {
          if(GetVehicleModel(GetPlayerVehicleID(playerid)) != 509 && GetVehicleModel(GetPlayerVehicleID(playerid)) != 481  && GetVehicleModel(GetPlayerVehicleID(playerid)) != 510  ||  fMeter > false) // You forgot to assign the array in this line.
          {
            new string[64];
            format(string,sizeof(string),"~n~~n~~n~~n~~n~~n~~n~~n~~r~Fuel: ~w~%d%", Fuel[GetPlayerVehicleID(playerid)]);
            GameTextForPlayer(playerid, string,1000, 3);
          }
        }
I think you forgot to assign the array at "fMeter > false" , so it should be: "fMeter[playerid] > false".
Reply


Messages In This Thread
error 033 need help on this - by weedxd - 13.10.2014, 14:45
Re: error 033 need help on this - by AdHaM612 - 13.10.2014, 14:53
Re: error 033 need help on this - by weedxd - 13.10.2014, 15:05
Re: error 033 need help on this - by Chenko - 13.10.2014, 15:35

Forum Jump:


Users browsing this thread: 1 Guest(s)