Lil question
#3

well actually im confused, i got this
pawn Код:
forward OnlineTimeUpdate(playerid);
public OnlineTimeUpdate(playerid)
{
    PlayerData[playerid][MinutesPlayed] ++;
    if(PlayerData[playerid][MinutesPlayed] == 60)
    {
        PlayerData[playerid][HoursPlayed] ++;
        PlayerData[playerid][MinutesPlayed] = 0;
    }
    return 1;
}
i just want that their score goes up to 1 every 2 hour like
2 hours = score 1
4hours = score 2
Reply


Messages In This Thread
Lil question - by Tanush123 - 17.08.2011, 18:19
Re: Lil question - by KingTurtle - 17.08.2011, 18:21
Re: Lil question - by Tanush123 - 17.08.2011, 18:57
Re: Lil question - by Tanush123 - 17.08.2011, 21:04
Re: Lil question - by =WoR=Varth - 18.08.2011, 02:39
Re: Lil question - by Tanush123 - 18.08.2011, 03:16
Re: Lil question - by =WoR=Varth - 18.08.2011, 03:21
Re: Lil question - by Tanush123 - 18.08.2011, 14:59
Re: Lil question - by Pinguinn - 18.08.2011, 15:39

Forum Jump:


Users browsing this thread: 1 Guest(s)