08.01.2015, 19:46
You can get rid of pFishTime, and simply
Also in OnPlayerLogin or something similar add
pawn Код:
//change
dini_IntSet(file, "FishingTime", PlayerInfo[playerid][pFishingTime]);
//to
dini_IntSet(file, "FishingTime", FishTime[playerid]);
//and
PlayerInfo[playerid][pFishingTime] = dini_Int(file, "FishingTime");
//to
FishTime[playerid] = dini_Int(file, "FishingTime");
pawn Код:
SetTimerEx("FishingTime", 1000, false, "i", playerid);