24.09.2013, 17:12
Quote:
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? |
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
}