Timer save glitch/missing lines
#4

You can get rid of pFishTime, and simply
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");
Also in OnPlayerLogin or something similar add
pawn Код:
SetTimerEx("FishingTime", 1000, false, "i", playerid);
Reply


Messages In This Thread
Timer save glitch/missing lines - by weedxd - 08.01.2015, 18:35
Re: Timer save glitch/missing lines - by Misiur - 08.01.2015, 19:20
Re: Timer save glitch/missing lines - by weedxd - 08.01.2015, 19:35
Re: Timer save glitch/missing lines - by Misiur - 08.01.2015, 19:46
Re: Timer save glitch/missing lines - by weedxd - 08.01.2015, 20:28
Re: Timer save glitch/missing lines - by Misiur - 08.01.2015, 21:49
Re: Timer save glitch/missing lines - by weedxd - 08.01.2015, 22:03
Re: Timer save glitch/missing lines - by Misiur - 08.01.2015, 22:27
Re: Timer save glitch/missing lines - by weedxd - 08.01.2015, 22:36

Forum Jump:


Users browsing this thread: 2 Guest(s)