Online time bugged in /stats
#3

Quote:
Originally Posted by Finn
Посмотреть сообщение
I bet there's something wrong with the pInfo array (hours, mins, secs).

Why do you save hours, minutes and seconds in separate variables if you can just save them all in seconds?
Could you explain a bit more please? Also, here is my pInfo:
pawn Код:
enum PlayerInfo
{
    Name,
    Password,
    OnlineTime,
    Kills,
    Deaths,
    WarningsGotten,
    KicksGotten,
    WarningsGiven,
    KicksGiven,
    BansGiven,
    Money,
    Score,
    Level,
    Spawns,
    DLevel,
    ALevel,
    TotalTime,
    ConnectTime,
    hours, //Hours
    mins, //Minutes
    secs, //Seconds
    TALevel,
    Registered,
    LoggedIn,
    Banned,
    YearRegistered,
    MonthRegistered,
    DayRegistered,
    HourRegistered,
    MinuteRegistered,
    SecondRegistered,
    TempBansGotten,
    TempBansGiven,
    Connects
}
Reply


Messages In This Thread
Online time bugged in /stats - by stormchaser206 - 24.09.2013, 16:50
Re: Online time bugged in /stats - by Finn - 24.09.2013, 17:05
Re: Online time bugged in /stats - by stormchaser206 - 24.09.2013, 17:12
Re: Online time bugged in /stats - by Champ - 24.09.2013, 17:42
Re: Online time bugged in /stats - by Konstantinos - 24.09.2013, 17:56
Re: Online time bugged in /stats - by stormchaser206 - 24.09.2013, 18:45
Re: Online time bugged in /stats - by stormchaser206 - 24.09.2013, 21:01
Re: Online time bugged in /stats - by stormchaser206 - 25.09.2013, 20:56

Forum Jump:


Users browsing this thread: 1 Guest(s)