Playing hours not working
#1

its not incrementing by minutes as intended

pawn Код:
public PlayingHours(playerid)
{

      playerVariables[playerid][pMinutes]++;
      if(playerVariables[playerid][pMinutes] == 60)
      {
      playerVariables[playerid][pPlayingHours]++;
      playerVariables[playerid][pMinutes] = 0;
      }
      return 1;

public OnPlayerConnect(playerid)
{
    SetTimerEx("PlayingHours", 60000, true, "i", playerid);
    return 1;
}
Reply


Messages In This Thread
Playing hours not working - by GwENiko - 02.11.2014, 15:19
Re: Playing hours not working - by TheSimpleGuy - 02.11.2014, 15:22
Re: Playing hours not working - by GwENiko - 02.11.2014, 15:26
Re: Playing hours not working - by TheSimpleGuy - 02.11.2014, 15:28
Re: Playing hours not working - by GwENiko - 02.11.2014, 15:29
Re: Playing hours not working - by Quickie - 03.11.2014, 00:10

Forum Jump:


Users browsing this thread: 3 Guest(s)