01.12.2015, 23:07
PHP код:
format(string, sizeof string, "Wine Time Left: %d.", TimeConvert(GetPVarInt(playerid, "pPrisonWineTime"));
PHP код:
./includes/updates/prison_system.pwn(2231) : error 001: expected token: ",", but found ";"
PHP код:
if(PlayerInfo[playerid][pPrisonMWine] >= 1)
{
if(gettime() >> GetPVarInt(playerid, "pPrisonWineTime"))
{
SendClientMessageEx(playerid, COLOR_GREY, "Wine Time Left: 0:00:00.");
}
else
{
format(string, sizeof string, "Wine Time Left: %d.", TimeConvert(GetPVarInt(playerid, "pPrisonWineTime"));
SendClientMessageEx(playerid, COLOR_GREY, string);
}
}