\gamemodes\s.pwn(15487) : warning 219: local variable "hour" shadows a variable at a preceding level
\gamemodes\s.pwn(17633) : warning 219: local variable "hour" shadows a variable at a preceding level
\gamemodes\s.pwn(26690) : error 004: function "IsAtGasStation" is not implemented
\gamemodes\s.pwn(31803) : warning 219: local variable "hour" shadows a variable at a preceding level
\gamemodes\s.pwn(33404) : warning 203: symbol is never used: "Refueling"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Errors.
else if(strcmp(x_job,"fuel",true) == 0)
{
if(IsAtGasStation(playerid))
{
new price = 20 * SBizzInfo[3][sbEntranceCost];
format(string, sizeof(string), "* You filled your Gas Can with 20% Fuel for $%d",price);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
PlayerInfo[playerid][pFuel] = 20;
GivePlayerMoney(playerid, - price);
return 1;
}
else
{
SendClientMessage(playerid,COLOR_GREY," You're not at a Gas Station!");
return 1;
}
}
else { return 1; }
}//not connected
return 1;
}